My Oracle Support Banner

datapatch fails with ORA-04061/ORA-4065/ORA-04045/ORA-04067 due to Golden Gate triggers. (Doc ID 2301658.1)

Last updated on JUNE 12, 2020

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.2 to 12.1.0.2 [Release 12.1]
Oracle Database Cloud Schema Service - Version N/A and later
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

datapatch fails with errors:

 

 

SQL> revoke all on incexp from system
2 /
revoke all on incexp from system
*
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-04068: existing state of packages has been discarded
ORA-04061: existing state of package body “GG_OWNER.DDLREPLICATION” has been invalidated
ORA-04065: not executed, altered or dropped package body “GG_OWNER.DDLREPLICATION”
ORA-06508: PL/SQL: could not find program unit being called: “GG_OWNER.DDLREPLICATION”
ORA-06512: at line 1342
ORA-04061: existing state of package body “GG_OWNER.DDLREPLICATION” has been invalidated
ORA-04065: not executed, altered or dropped package body “GG_OWNER.DDLREPLICATION”
ORA-04061: existing state of package body “GG_OWNER.DDLREPLICATION” has been invalidated
ORA-04065: not executed, altered or dropped package body “GG_OWNER.DDLREPLICATION”
ORA-06508: PL/SQL: could not find program unit being called: “GG_OWNER.DDLREPLICATIO

or

Error in bootstrap log /u01/app/oracle/cfgtoollogs/sqlpatch/sqlpatch_<timestamp>/bootstrap1_dbname.log:
Error at line 46: ORA-00604: error occurred at recursive SQL level 1
Error at line 47: ORA-04045: errors during recompilation/revalidation of GGDDL.DDLREPLICATION
Error at line 48: ORA-04067: not executed, package body "GGDDL.DDLREPLICATION" does not exist
Error at line 49: ORA-06508: PL/SQL: could not find program unit being called:
Error at line 52: ORA-04067: not executed, package body "GGDDL.DDLREPLICATION" does not exist
Error at line 53: ORA-06508: PL/SQL: could not find program unit being called:
Error at line 55: ORA-06508: PL/SQL: could not find program unit being called:
Error at line 58: ORA-04045: errors during recompilation/revalidation of GGDDL.DDLREPLICATION
Error at line 59: ORA-04067: not executed, package body "GGDDL.DDLREPLICATION" does not exist
Error at line 60: ORA-06508: PL/SQL: could not find program unit being called:
Error at line 63: ORA-04067: not executed, package body "GGDDL.DDLREPLICATION" does not exist

 



Cause

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

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


In this Document
Symptoms
Cause
Solution


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