Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Error while running job which is in DBA_JOBS

665881Aug 10 2009 — edited Aug 11 2009
All,

My environment is Oracle - 10.2.0.4.0
Linux - 2.6
2 Node RAC environment

I have a job which is listed in DBA_JOBS. It is not auto executing. When I run manually, I am getting error.

Please see the error details below.

SQL> exec dbms_job.run(1);
BEGIN dbms_job.run(1); END;

*
ERROR at line 1:
ORA-12011: execution of 1 jobs failed
ORA-06512: at "SYS.DBMS_IJOB", line 413
ORA-06512: at "SYS.DBMS_JOB", line 275
ORA-06512: at line 1


When I check the alert log files, I am getting following message. Looks like some privilege issue. Can somebody help me. Job is owned by System and ran by System.


Mon Aug 10 11:09:27 2009
Errors in file ****************.trc:
ORA-12012: error on auto execute of job 1
ORA-01031: insufficient privileges
ORA-06512: at "SYS.DBMS_SNAPSHOT", line 2251
ORA-06512: at "SYS.DBMS_SNAPSHOT", line 2457
ORA-06512: at "SYS.DBMS_IREFRESH", line 685
ORA-06512: at "SYS.DBMS_REFRESH", line 195
This post has been answered by Hoek on Aug 11 2009
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 8 2009
Added on Aug 10 2009
20 comments
7,542 views