Datapatch bootstrap phase fails if the dbms_registry package is not valid (Doc ID 2133966.1)

Last updated on MAY 31, 2017

Applies to:

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

Symptoms

It is possible that the bootstrap phase of datapatch can fail if the dbms_registry package is not valid when it is run. In this case, you will receive errors similar to the following:

Bootstrapping registry and package to current versions...done
Error in bootstrap log ...bootstrap_<db name>.log:
Error at line 6: ORA-04063: package body "SYS.DBMS_REGISTRY" has errors
Error at line 7: ORA-06508: PL/SQL: could not find program unit being called:
Error at line 9: ORA-06512: at line 2
Error at line 17: ORA-04063: package body "SYS.DBMS_REGISTRY" has errors
Error at line 18: ORA-06508: PL/SQL: could not find program unit being called:
Error at line 20: ORA-06512: at line 37
Error at line 28: SP2-1506: START, @ or @@ command has no arguments
Prereq check failed, exiting without installing any patches.

 

Cause

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 hundreds of Community platforms