Ogg-01184 Expected 4 Bytes But Got 0 Bytes In Trail Work [ 2K ]

GGSCI> ALTER REPLICAT <rep_name>, EXTSEQNO <next_seq>, EXTRBA 0

The error occurs in Oracle GoldenGate when a process (typically a Replicat or Pump) expects a 4-byte record trailer but encounters an empty or truncated trail file. This is almost always a sign of trail file corruption or a version mismatch between source and target . Root Causes ogg-01184 expected 4 bytes but got 0 bytes in trail

The error is a distress signal from your GoldenGate trail file. It indicates an incomplete or truncated write operation. While intimidating, it is recoverable through careful use of logdump , transaction skipping, or file recovery. It indicates an incomplete or truncated write operation

Compare the RBA mentioned in the error with the actual size of the trail file on the disk. If the RBA is larger than the file size, the file is definitely truncated. 3. Resolution Strategies If the RBA is larger than the file

When you encounter OGG-01184, follow this systematic approach.