[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

ORA-04045 and ORA-01031

Posted on 2011-03-22
1
Medium Priority
?
2,807 Views
Last Modified: 2013-12-19
Hi,

I've got an Oracle 9i, Windows Server 2003. Yesterday,  I created a new instance and run  catalog.sql and catproc.sql. Today, I can't logon with any normal user into database (i.e: scott/tiger). I can only logon with system or a user with dba role.

With any other user I got this error when trying to logon:

ORA-04045: errors during recompilation/revalidation of SIGA01.DATA_LOGON_TRIGGER
ORA-01031: insufficient provileges

SIGA01 is an schema created in my database.
I read that the real error is ORA-01031, that there's something missing to recompile.
What could be it?
0
Comment
Question by:miyahira
1 Comment
 
LVL 78

Accepted Solution

by:
slightwv (䄆 Netminder) earned 2000 total points
ID: 35193211
You have a logon trigger that isn't compiled in the new database.  It probably cannot compile.  There is something it needs missing in the new database.

If you need it, you need to see why it isn't compiling.  Otherwise, drop it.
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
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…
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.
Suggested Courses
Course of the Month19 days, 16 hours left to enroll

873 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