Oracle errors ORA-00604 and ORA-20001

Posted on 2006-04-21
Last Modified: 2012-05-05
working in oracle and up to last night all wokred fine, but today I am getting this error and not too sure what is causing that, any help would be appreciated.
I get it everytime I create a user and try to login as that user.


SQL> connect a/a
ORA-00604: error occurred at recursive SQL level 1
ORA-20001: User not found in the lookup
ORA-06512: at line 6
Question by:tfbsr
    1 Comment
    LVL 4

    Accepted Solution

    ORA-00604 error in Oracle 8i
    Cause: An error occurred while processing a recursive SQL statement. A recursive SQL statement is one that applies to internal dictionary tables.  
    Action: If the situation described in the next message on the stack can be corrected, do so; otherwise, contact customer support.  

    and In oracle 9i & 10g

    Cause: An error occurred while processing a recursive SQL statement (a statement applying to internal dictionary tables).  
    Action: If the situation described in the next error on the stack can be corrected, do so; otherwise contact Oracle Support Services

    Whenever you issue a query, the system must issue queries in the background to determine many things, such as "do you have permissions to perform the query?", "does the object you are accessing exist?". These queries that the system issues are called "recursive SQL". Sometimes, a recursive SQL statement needs recursive SQL of it's own. So these recursive SQL statements are at another level, level 2.

    You won't see recursive SQL statements in SQL*Plus. The best way to see them is by starting a trace in the session. Start up SQL*Plus, then issue the following:

     ALTER SESSION SET sql_trace=TRUE;

    Then run your process until it bombs out. Go ahead and exit SQL*Plus. Now go to your USER_DUMP_DEST directory. A trace file will have been generated for you. Look in the trace file for any ORA errors. This is the root cause of your problem. Correcting this ORA error will stop the ORA-600 error from occuring.

    Most ORA-600 errors can be fixed by signing on as SYS and running CATALOG and CATPROC from ORACLE_HOME/rdbms/admin.

    Hope it will sort out your query.

    Chetan Sachdeva

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    This article describes some very basic things about SQL Server filegroups.
    Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
    Video by: Steve
    Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    24 Experts available now in Live!

    Get 1:1 Help Now