Replicat Tries to Reposition Itself in a Trail File That Has Been Purged and Abends with Error OGG-01029 (Doc ID 1967431.1)

Last updated on JANUARY 25, 2017

Applies to:

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

Symptoms

You are using Goldengate 11.2.1.0.13 against Oracle 10.2.0.5.0 on AIX and a replicat abends trying to position itself in a trail file that has just been purged.

Messages in ggserr.log are -

2015-01-28 18:34:01  WARNING OGG-01003  Oracle GoldenGate Delivery for Oracle, repl7.prm:  Repositioning to rba 49982336 in seqno 636.
2015-01-28 18:34:01  WARNING OGG-00998  Oracle GoldenGate Delivery for Oracle, repl7.prm:  Purging old extract file /app/oragg/p00/dat/ogg10g/dirdat/p/er000636.
2015-01-28 18:34:01  WARNING OGG-01003  Oracle GoldenGate Delivery for Oracle, repl7.prm:  Repositioning to rba 49997182 in seqno 636.
2015-01-28 18:34:02  ERROR   OGG-01029  Oracle GoldenGate Delivery for Oracle, repl7.prm:  Extract reposition err - Could not reposition -- /app/oragg/p00/dat/ogg10g/dirdat/p/er000636 missing.
2015-01-28 18:34:02  ERROR   OGG-01668  Oracle GoldenGate Delivery for Oracle, repl7.prm:  PROCESS ABENDING.

Replicat RPT file shows a switch to the next trail file and then -

2015-01-28 18:34:01  WARNING OGG-01003  Repositioning to rba 49982336 in seqno 636.
Opened trail file /app/oragg/p00/dat/ogg10g/dirdat/p/er000636 at 2015-01-28 18:34:01

2015-01-28 18:34:01  WARNING OGG-00998  Purging old extract file /app/oragg/p00/dat/ogg10g/dirdat/p/er000636.

Switching to next trail file /app/oragg/p00/dat/ogg10g/dirdat/p/er000637 at 2015-01-28 18:34:01 due to EOF, with current RBA 49998835
Opened trail file /app/oragg/p00/dat/ogg10g/dirdat/p/er000637 at 2015-01-28 18:34:01


2015-01-28 18:34:01  WARNING OGG-01003  Repositioning to rba 49997182 in seqno 636.

Source Context :
 SourceModule            : [er.errors]
 SourceID                : [/scratch/mmar/view_storage/mmar_aix_17737299/oggcore/OpenSys/src/app/er/errors.cpp]
 SourceFunction          : [take_rep_err_action(short, int32_t, const char *, extr_ptr_def *, std_rec_hdr_def *, char *, file_def *, bool)]
 SourceLine              : [830]

2015-01-28 18:34:02  ERROR   OGG-01029  Extract reposition err - Could not reposition -- /app/oragg/p00/dat/ogg10g/dirdat/p/er000636 missing. 

 

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