I got OGG-00664 OCI Error ORA-26804: Apply “OGG$R” is disabled on Goldengate while running Replicat.
OGG-00664 OCI Error ORA-26804: Apply “OGG$R” is disabled
Details of error are as follows.
ThreadBacktrace : [20] elements : [/ggateb01/goldengate/product/GG19cFor18cDB/libgglog.so(CMessageContext::AddThreadContext())] : [/ggateb01/goldengate/product/GG19cFor18cDB/libgglog.so(CMessageFactory::CreateMessage(CSourceContext*, unsigned int, ...))] : [/ggateb01/goldengate/product/GG19cFor18cDB/libgglog.so(_MSG_Int32_String_String(CSourceContext*, int, int, char const*, char const*, CMess ageFactory::MessageDisposition))] : [/ggateb01/goldengate/product/GG19cFor18cDB/replicat()] : [/ggateb01/goldengate/product/GG19cFor18cDB/replicat()] : [/ggateb01/goldengate/product/GG19cFor18cDB/replicat(IRLCR_commit_transaction(long, IR_LCR_ctx*))] : [/ggateb01/goldengate/product/GG19cFor18cDB/replicat(odbc_commit_transaction())] : [/ggateb01/goldengate/product/GG19cFor18cDB/replicat(ggs::er::ReplicatContext::commitAndCheckpoint(short, bool&, RepCsn&))] : [/ggateb01/goldengate/product/GG19cFor18cDB/replicat(ClassicWorker::CommitAndCheckpoint(short))] : [/ggateb01/goldengate/product/GG19cFor18cDB/replicat(ggs::er::OraReplicatContext::endTransaction(short, bool) const)] : [/ggateb01/goldengate/product/GG19cFor18cDB/replicat(ggs::er::ERContext::skipThisRecord(ggs::gglib::gglcr::CommonLCR const*, transInfoParms *))] : [/ggateb01/goldengate/product/GG19cFor18cDB/replicat()] : [/ggateb01/goldengate/product/GG19cFor18cDB/replicat(ggs::er::ReplicatContext::run())] : [/ggateb01/goldengate/product/GG19cFor18cDB/replicat()] : [/ggateb01/goldengate/product/GG19cFor18cDB/replicat(ggs::gglib::MultiThreading::MainThread::ExecMain())] : [/ggateb01/goldengate/product/GG19cFor18cDB/replicat(ggs::gglib::MultiThreading::Thread::RunThread(ggs::gglib::MultiThreading::Thread::Thre adArgs*))] : [/ggateb01/goldengate/product/GG19cFor18cDB/replicat(ggs::gglib::MultiThreading::MainThread::Run(int, char**))] : [/ggateb01/goldengate/product/GG19cFor18cDB/replicat(main)] : [/lib64/libc.so.6(__libc_start_main)] : [/ggateb01/goldengate/product/GG19cFor18cDB/replicat()] 2021-03-03 10:27:59 ERROR OGG-00664 OCI Error ORA-26804: Apply "OGG$RSP06INT" is disabled. (status = 26804-Sending commit command to database inbound server, 'OGG$ RSP06INT').
status = 26804-Sending commit command to database inbound server, ‘OGG$
The problem is with the fact that the GoldenGate version being currently used is not certified for version 12.2
Goldengate Download
GoldenGate release 12.3.0.1.0 can be used instead.
It’s available on our download site;
http://www.oracle.com/technetwork/middleware/goldengate/downloads/index.html
The documentation is available in the following link;
https://docs.oracle.com/goldengate/c1230/gg-winux/index.htm
To solve this error, Use GoldenGate release 12.3 or; Perform a backup of your database before you raise the COMPATIBLE initialization parameter (optional).
NOTE: Raising the COMPATIBLE initialization parameter may cause your database to become incompatible with earlier releases of the Oracle Database, and a backup ensures that you can return to the earlier release if necessary.
See Also:
Oracle Database Backup and Recovery Basics for more information about performing a backup
If you are using a server parameter file, then complete the following steps:
Update the server parameter file to set or change the value of the COMPATIBLE initialization parameter.
For example, to set the COMPATIBLE initialization parameter to 12.1.0, issue the following statement:
SQL> ALTER SYSTEM SET COMPATIBLE = '12.1.0' SCOPE=SPFILE;
Shut down and restart the instance.
If you are using an initialization parameter file, then complete the following steps:
Shut down the instance if it is running:
SQL> SHUTDOWN IMMEDIATE
Edit the initialization parameter file to set or change the value of the COMPATIBLE initialization parameter.
For example, to set the COMPATIBLE initialization parameter to 12.1.0, enter the following in the initialization parameter file:
COMPATIBLE = 12.1.0
Start the instance using STARTUP.
You might want to try this in a test environment first
Do you want to learn Oracle Goldengate from scratch, then read the following Goldengate Tutorial articles.
9,378 views last month, 93 views today