datapatch fails with ORA-04061/ORA-4065/ORA-04045/ORA-04067 due to Golden Gate triggers.
(Doc ID 2301658.1)
Last updated on JANUARY 01, 2024
Applies to:
Oracle Database Backup Service - Version N/A and laterOracle Database Cloud Service - Version N/A and later
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
Information in this document applies to any platform.
Symptoms
datapatch fails with errors:
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 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
Or
It may fails for log miner trigger:
ORA-04088: error during execution of trigger 'SYS.LOGMNRGGC_TRIGGER'
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 "SYS.LOGMNR_DICT_CACHE" has been
ORA-06512: at "SYS.LOGMNR_DDL_TRIGGER_PROC", line 142
ORA-04065: not executed, altered or dropped package body
ORA-06508: PL/SQL: could not find program unit being called:
ORA-06512: at "SYS.LOGMNR_DDL_TRIGGER_PROC", line 111
ORA-06512: at line 2
ORA-00955: name is already used by an existing object
IGNORABLE ERRORS: ORA-00955
ORA-00955: name is already used by an existing object
ORA-00955: name is already used by an existing object
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 |