ORA-06512: at line 1 SQL BEGIN sys.dbms_xstream_gg.SET_FOO_TRIGGER_SESSION_CONTXT (fire=>TRUE); END;.

Just another day n the office where our Development was refresh from production.

Development DB is configured to have GG multi bidirectional replication.
I started the Manager, extract and pump without any issue but when starting the replicat i’m getting below error.

2016-05-09 13:34:41  ERROR   OGG-01668  Oracle GoldenGate Delivery for Oracle, ckn2ure2.prm:  PROCESS ABENDING.
2016-05-09 13:40:18  INFO    OGG-00987  Oracle GoldenGate Command Interpreter for Oracle:  GGSCI command (oracle): start CKL2BRE2.
2016-05-09 13:40:18  INFO    OGG-00963  Oracle GoldenGate Manager for Oracle, mgr.prm:  Command received from GGSCI on host gcxxxx2s:37774 (START REPLICAT CKL2BRE2 ).
2016-05-09 13:40:18  INFO    OGG-00975  Oracle GoldenGate Manager for Oracle, mgr.prm:  REPLICAT CKL2BRE2 starting.
2016-05-09 13:40:19  INFO    OGG-00995  Oracle GoldenGate Delivery for Oracle, ckl2bre2.prm:  REPLICAT CKL2BRE2 starting.
2016-05-09 13:40:19  INFO    OGG-03035  Oracle GoldenGate Delivery for Oracle, ckl2bre2.prm:  Operating system character set identified as UTF-8. Locale: en_US, LC_ALL:.
2016-05-09 13:40:19  ERROR   OGG-00868  Oracle GoldenGate Delivery for Oracle, ckl2bre2.prm:  ORA-26944: User "GGS_ADMIN" attempted to invoke a procedure without proper permissions.
ORA-06512: at "SYS.DBMS_LOGREP_UTIL", line 197
ORA-06512: at "SYS.DBMS_LOGREP_UTIL", line 230
ORA-06512: at "SYS.DBMS_XSTREAM_GG", line 9
ORA-06512: at line 1 SQL BEGIN sys.dbms_xstream_gg.SET_FOO_TRIGGER_SESSION_CONTXT (fire=>TRUE); END;.
2016-05-09 13:40:19  ERROR   OGG-01668  Oracle GoldenGate Delivery for Oracle, ckl2bre2.prm:  PROCESS ABENDING.
oracle@gcxxxx2s[CXXXESIT2] /gg111/112/11.2/11g =>

 i suspected the init parameter related to GG but it’s already enable.

SYS@CXXXESIT2 AS SYSDBA>show parameter golden;

NAME                                 TYPE                              VALUE
------------------------------------ --------------------------------- ------------------------------
enable_goldengate_replication        boolean                           TRUE
SYS@CXXXESIT2 AS SYSDBA>

so the solution is perform the grant to ggs admin

sql > exec DBMS_GOLDENGATE_AUTH.GRANT_ADMIN_PRIVILEGE('ggs_admin');

after the grant above all replicat process started.

Thanks!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s