My Oracle Support Banner

OGG-01790 Failed To ADD SCHEMATRANDATA On Schema "<schema_name>" Because Of The Following SQL error: ORA-16000 (Doc ID 2779856.1)

Last updated on APRIL 17, 2023

Applies to:

Oracle GoldenGate - Version 19.1.0.0.4 and later
Information in this document applies to any platform.

Symptoms

Add Schematrandata  is failing with below error

ERROR OGG-01790 Failed to ADD SCHEMATRANDATA on schema "<schema_name>" because of the following SQL error: ORA-16000: database or pluggable database open for read-only access
ORA-04061: existing state of package body "SYS.DBMS_XSTREAM_GG_ADM" has been invalidated
ORA-04065: not executed, altered or dropped package body "SYS.DBMS_XSTREAM_GG_ADM"
ORA-06512: at "SYS.DBMS_CAPTURE_ADM_IVK", line 345
ORA-06512: at "SYS.DBMS_CAPTURE_ADM", line 395
ORA-06512: at line 1.

Below objects are valid

OBJECT_NAME OWNER STATUS
------------------------------ ------------------------------ -------
DBMS_XSTREAM_GG_ADM SYS VALID
DBMS_XSTREAM_GG_ADM SYS VALID
DBMS_XSTREAM_GG_ADM PUBLIC VALID

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
References


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