Ogg-01184 Expected 4 Bytes But Got 0 Bytes In Trail Here
GoldenGate Replicat can read trail files sequentially (e.g., aa000001, aa000002, etc.). If the sequence is broken—e.g., aa000123 is missing and the process jumps to aa000124 —the reading offset may be incorrect. The error can also occur if the process tries to read a file that was rolled over incorrectly.
If the server or mount point hosting the trail files hits 100% capacity, the Extract process cannot finish writing its buffer, causing the file to be cut off abruptly. 🛡️ Step-by-Step Resolution Strategy
Stop the source process (Extract or Pump) that generates the corrupt trail file.
If you can afford to skip the corrupted record, reposition the failing process to the next valid RBA or the next trail file sequence: ALTER [process_name], EXTSEQNO [next_seq], EXTRBA 0 . ogg-01184 expected 4 bytes but got 0 bytes in trail
This public link is valid for 7 days and shares a thread, including any personal information you added. This link or copies made by others cannot be deleted. If you share with third parties, their policies apply. Can’t copy the link right now. Try again later.
Note: Finding the exact new RBA can be tricky. Often, administrators will skip entirely to the next sequence number ( EXTSEQNO [seqno + 1], EXTRBA 0 ) after making sure the skipped data is accounted for or manually handled. Start the Replicat: START REPLICAT [group_name] Step 5: Advanced Diagnostic Tools (Logdump)
Note the last valid record position. Then attempt to go beyond it: GoldenGate Replicat can read trail files sequentially (e
to regenerate and transfer a clean copy of the trail file: GGSCI> start ext_pump Use code with caution. Method 2: Skip the Corrupted Record Block (For Replicats)
on the target system to prevent overlapping write conflicts.
: Before proceeding, stop the affected Extract or Replicat process to prevent further complications. Use the command STOP EXTRACT <group_name> in GGSCI. If the server or mount point hosting the
If you have archive trails enabled ( EXTTRAIL with ROLLOVER at source) or a backup of the trail files before corruption:
If logdump shows a bad header or unexpected EOF (End of File) at the very end, the file is truncated. Solutions to Resolve OGG-01184
For Data Pump processes transmitting trail files to a target system via TCP/IP, a sudden network drop or timeout can cause the file transfer to cut off mid-record. The target system registers a partial file, leading to OGG-01184 when the Replicat attempts to read it. 3. Abrupt System or Process Crashes
The error message typically looks like this in your ggserr.log or process report file: