Copyright (c) 2022, Oracle. All rights reserved. Oracle Confidential.
ORA-04063: package body SYS.DBMS_REGISTRY_SYS has errors (Doc ID 2165402.1)
APPLIES TO:
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Information in this document applies to any platform.
SYMPTOMS
After applying the JAN 2016 cpu patch on the QA super cluster 2 node RAC database initially it look like everything is
working fine but later found that any action in the database except switching the archivelog and bouncing the database all
the other commands are failing.
When tried to run utlrp script it throw below error.
ERROR at line 1:
ORA-04063: package body "SYS.DBMS_REGISTRY_SYS" has errors
ORA-06508: PL/SQL: could not find program unit being called:
"SYS.DBMS_REGISTRY_SYS"
ORA-06512: at line 1
CHANGES
Applied JAN 2016 CPU Patch
CAUSE
dba_registry is invalid
While executing the utlrp script below error was reported.
ERROR at line 1:
ORA-04063: package body "SYS.DBMS_REGISTRY_SYS" has errors
ORA-06508: PL/SQL: could not find program unit being called:
"SYS.DBMS_REGISTRY_SYS"
ORA-06512: at line 1
SOLUTION
Recreate the DBMS_REGISTRY package and the DBA_REGISTRY view.
Backup database before performing below in case any failure.
Connect as SYSDBA and run the below scripts.
$sqlplus / as sysdba
$SQL> shutdown immediate
$SQL> startup upgrade
$SQL> @$ORACLE_HOME/rdbms/admin/catalog.sql
评论0
最新资源