datapatch fails with ORA-0408, ORA-04061, ORA-4065 due to GG_OWNER.DDLREPLICATION trigger (Doc ID 2301658.1)

Last updated on SEPTEMBER 04, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.2 to 12.1.0.2 [Release 12.1]
Information in this document applies to any platform.

Symptoms

Datapatch fails with ORA-0408, ORA-04061, ORA-4065 for GG_OWNER.DDLREPLICATION

Changes

While executing datapatch for april 2017 DB PSU, it failed with below error:

SQL>
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

 

 

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