Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


Oracle errors ORA-00604 and ORA-20001

Posted on 2006-04-21
Medium Priority
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

Accepted Solution

csachdeva earned 500 total points
ID: 16513525
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:


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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I’ll look at how you can use a backup to start a secondary instance for MongoDB.
Exchange database can often fail to mount thereby halting the work of all users connected to it. Finding out why database isn’t mounting is crucial and getting the server back online. Stellar Phoenix Mailbox Exchange Recovery is a champion product t…
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…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

577 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