My Oracle Support Banner

Invalid Objects After Revoking EXECUTE Privilege From PUBLIC (Doc ID 797706.1)

Last updated on AUGUST 04, 2018

Applies to:

Oracle Database - Enterprise Edition - Version and later
Information in this document applies to any platform.


OEM recommends that EXECUTE privilege being revoked from PUBLIC. After revoking the privilege, the  following errors appeared in alert log:

ORA-12012: error on auto execute of job 66171

ORA-04063: package body "ORACLE_OCM.MGMT_DB_LL_METRICS" has errors

ORA-06508: PL/SQL: could not find program unit being called:  ORACLE_OCM.MGMT_DB_LL_METRICS"

ORA-06512: at line 1 has errors .

Also, the below query returns invalid rows count (approximately 46 rows)

SQL> select object_name, owner, object_type, status from dba_objects where status = 'INVALID';

Owners of invalid objects are ORACLE_OCM and WMSYS 




To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.