Replicat Abended With OGG-01733 Trail file header file size value xxxxxx for trail file <name> differs from the actual size of the file (xxxxxx) (Doc ID 2137531.1)

Last updated on MAY 12, 2016

Applies to:

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

Symptoms

 Replicat process Abends with below error:

 

Source Context :
SourceModule : [er.api]
SourceID : [/scratch/aime1/adestore/views/aime1_adc4150488/oggcore/OpenSys/src/app/er/api.c]
SourceFunction : [get_next_block]
SourceLine : [3453]
ThreadBacktrace : [15] elements
: [/orasw/app/gg12c/libgglog.so(CMessageContext::AddThreadContext()+0x1e) [0x7fdf53469abe]]
: [/orasw/app/gg12c/libgglog.so(CMessageFactory::CreateMessage(CSourceContext*, unsigned int, ...)+0x340) [0x7fdf534647d0]]
: [/orasw/app/gg12c/libgglog.so(_MSG_ERR_TRAIL_HEADER_BAD_FILE_SIZE(CSourceContext*, char const*, unsigned int, unsigned int, CMessageFactory::MessageDisposition)+0x3f) [0x7fdf5343f229]]
: [/orasw/app/gg12c/replicat() [0x517ac3]]
: [/orasw/app/gg12c/replicat(XT_read(chkpt_context_t*, char*, unsigned long, __std_rec_hdr*, int*, int*, short, char*, short*, char*, short*, int, long*, char (&) [2048])+0x9f4) [0x518964]]
: [/orasw/app/gg12c/replicat(READ_EXTRACT_RECORD(chkpt_context_t*, short, char*, unsigned long, __std_rec_hdr*, int*, int*, long*, short, char*, short*, char*, short*, long*, char (&) [2048])+0xf1) [0x51a2b1]]
: [/orasw/app/gg12c/replicat(replicat_read(long&, short, long&, bool&)+0xe7) [0x5cb897]]
: [/orasw/app/gg12c/replicat(process_replicat_loop()+0x1323) [0x5a98e3]]
: [/orasw/app/gg12c/replicat(replicat_main(int, char**)+0x5d2) [0x5c2792]]
: [/orasw/app/gg12c/replicat(ggs::gglib::MultiThreading::MainThread::ExecMain()+0x4f) [0x69603f]]
: [/orasw/app/gg12c/replicat(ggs::gglib::MultiThreading::Thread::RunThread(ggs::gglib::MultiThreading::Thread::ThreadArgs*)+0x104) [0x696374]]
: [/orasw/app/gg12c/replicat(ggs::gglib::MultiThreading::MainThread::Run(int, char**)+0x8b) [0x69647b]]
: [/orasw/app/gg12c/replicat(main+0x3f) [0x5c141f]]
: [/lib64/libc.so.6(__libc_start_main+0xfd) [0x355f81ed5d]]
: [/orasw/app/gg12c/replicat() [0x50f299]]

2016-05-12 14:26:03 ERROR OGG-01733 Trail file header file size value 501778 for trail file '/orasw/app/gg12c/dirdat/auroralp/r2405913' differs from the actual size of the file (502069).

 

When you check trail file using logdump, you do not find any bad / corrupted records in it. Also, the RBA shown in error message (501778 in above line) is the last DML of that trail file.

 

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