DBMS_SCHEDULER fails with ORA-27476 ORA-27475
(Doc ID 787802.1)
Last updated on NOVEMBER 24, 2019
Applies to:Oracle Database - Enterprise Edition - Version 220.127.116.11 and later
Oracle Database - Standard Edition - Version 18.104.22.168 to 22.214.171.124 [Release 11.2]
Information in this document applies to any platform.
***Checked for relevance on 06-Aug-2016***
While running the gather stats job as an external database user "OPT$ORACLE" received the following error:
SQL> exec sys.dbms_scheduler.RUN_JOB('SYS.GATHER_STATS_JOB');
ERROR at line 1:
ORA-27476: "SYS.GATHER_STATS_JOB" does not exist
ORA-06512: at "SYS.DBMS_ISCHED", line 150
ORA-06512: at "SYS.DBMS_SCHEDULER", line 441
ORA-06512: at line 1
The same job runs fine when it is run by a normal DB oracle user. The external user "OPT$ORACLE" has execute privileges on dbms_scheduler. It also has EXECUTE ANY PROCEDURE, EXECUTE ANY PROGRAM privilege assigned.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!