I got ” ORA-12011: execution of 1 jobs failed ” error in Oracle database.
ORA-12011: execution of 1 jobs failed
Details of error are as follows.
ORA-12011: Execution of jobs failed. Cause: An error was caught in dbms_ijob.run from one or more jobs which were due to be run. Action: Look at the alert log for details on which jobs failed and why
Execution of SQL script in batch queue using DBMS_JOB.RUN fails
ORA-12011: execution of <num> jobs failed
ORA-06512: at %sline %s SYS.DBMS_IJOB
ORA-06512: at %sline %s SYS.DBMS_JOB
Execution of jobs failed
This ORA-12011 error is related to the error was caught in dbms_ijob.run from one or more jobs which were due to be run.
Look at the alert log for details on which jobs failed and why
Privileges granted by roles do not work when running a stored procedure.
To solve this error, Do not use roles to grant privileges to stored procedures;
GRANT them directly to the user.
Or Sometimes database link is broken in the JOB, so DBMS Job is not running properly. To see the details, you need to review the Alertlog of Oracle.
Do you want to learn Oracle Database for Beginners, then read the following articles.
Oracle Tutorial | Oracle Database Tutorials for Beginners ( Junior Oracle DBA )