OGG rep process startup encounters sys. dbms_streams_adm_utl_invok.SET_FOO_TRIGGER_SESSION_CONTXT (fire = & gt; TRUE);, excelcontxt

Source: Internet
Author: User

OGG rep process startup encounters sys. dbms_streams_adm_utl_invok.SET_FOO_TRIGGER_SESSION_CONTXT (fire => TRUE);, excelcontxt

GGSCI (jjtest) 2> view report repzp***********************************************************************                 Oracle GoldenGate Delivery for Oracle     Version 11.1.1.1.2 OGGCORE_11.1.1.1.2_PLATFORMS_111004.2100    Linux, x64, 64bit (optimized), Oracle 10g on Oct  7 2011 04:39:32 Copyright (C) 1995, 2011, Oracle and/or its affiliates. All rights reserved.                    Starting at 2015-05-16 09:06:44***********************************************************************Operating System Version:LinuxVersion #1 SMP Wed Nov 28 21:22:00 EST 2012, Release 2.6.18-348.el5Node: jjtestMachine: x86_64                         soft limit   hard limitAddress Space Size   :    unlimited    unlimitedHeap Size            :    unlimited    unlimitedFile Size            :    unlimited    unlimitedCPU Time             :    unlimited    unlimitedProcess id: 4585Description: *************************************************************************            Running with the following parameters                  *************************************************************************replicat repzpsetenv ( NLS_LANG =  " AMERICAN_AMERICA.ZHS16GBK " )Set environment variable (NLS_LANG=AMERICAN_AMERICA.ZHS16GBK)assumetargetdefsuserid goldengate, password ******DBOPTIONS DEFERREFCONST, SUPPRESSTRIGGERSSource Context :  SourceModule            : [ggdb.ora.db]  SourceID                : [/scratch/pradshar/view_storage/pradshar_bugdbrh40_12927937/oggcore/OpenSys/src/gglib/ggdbora/dboci.c]  SourceFunction          : [suppressTriggers]  SourceLine              : [5028]  ThreadBacktrace         : [9] elements                          : [/u02/ggs/replicat(CMessageContext::AddThreadContext()+0x26) [0x5f1e56]]                          : [/u02/ggs/replicat(CMessageFactory::CreateMessage(CSourceContext*, unsigned int, ...)+0x7b2) [0x5e88f2]]                          : [/u02/ggs/replicat(_MSG_ERR_DB_GENERIC_FAILURE(CSourceContext*, char const*, CMessageFactory::MessageDisposition)+0x92) [0x5ad612]]                          : [/u02/ggs/replicat [0x8b37a6]]                          : [/u02/ggs/replicat(odbc_param(char*, char*)+0xe65) [0x553535]]                          : [/u02/ggs/replicat [0x50075c]]                          : [/u02/ggs/replicat(main+0x1d9) [0x507399]]                          : [/lib64/libc.so.6(__libc_start_main+0xf4) [0x353f21d9c4]]                          : [/u02/ggs/replicat(__gxx_personality_v0+0x1e2) [0x4e3ffa]]2015-05-16 09:06:45  ERROR   OGG-00868  ORA-06550: line 1, column 7:PLS-00201: identifier 'SYS.DBMS_STREAMS_ADM_UTL_INVOK' must be declaredORA-06550: line 1, column 7:PL/SQL: Statement ignored, SQL BEGIN sys.dbms_streams_adm_utl_invok.SET_FOO_TRIGGER_SESSION_CONTXT (fire=>TRUE); END;.2015-05-16 09:06:45  ERROR   OGG-01668  PROCESS ABENDING.



The following article was found on mos: OGG Replicat Fails: "PLS-00201: identifier 'sys. DBMS_XSTREAM_GG 'must be declared" (Doc ID 1424951.1)

I am a db of 10.2.0.5, not a db of 11.2, so I use the following:

BEGIN  DBMS_STREAMS_AUTH.GRANT_ADMIN_PRIVILEGE(  grantee => 'GOLDENGATE',  grant_privileges => true);  END;  /

 

[oracle@jjtest ggs]$ sqlplus / as sysdbaSQL*Plus: Release 10.2.0.5.0 - Production on Sat May 16 09:13:06 2015Copyright (c) 1982, 2010, Oracle.  All Rights Reserved.Connected to:Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit ProductionWith the Partitioning, OLAP, Data Mining and Real Application Testing optionsSQL> SELECT * FROM dba_streams_administrator; no rows selectedSQL> BEGIN   2   DBMS_STREAMS_AUTH.GRANT_ADMIN_PRIVILEGE(   3   grantee => 'GOLDENGATE',   4   grant_privileges => true);   5   END;   6   /PL/SQL procedure successfully completed.SQL>  SELECT * FROM dba_streams_administrator;USERNAME                       LOC ACC------------------------------ --- ---GOLDENGATE                     YES YESSQL> 


 

The REP process starts smoothly.
 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.