If the local trail on the source is corrupted, you must re-position the Extract process to a point in the database logs (SCN or timestamp) prior to the corruption and regenerate the trails. Prevention Best Practices
Restart the Pump; it will automatically rebuild and re-send the missing trail files from the source.
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 ogg-01184 expected 4 bytes but got 0 bytes in trail
Expected {3,number,0} bytes, but got {4,number,0} bytes, in trail {0}, seqno {1,number,0}, reading record trailer token at RBA {2, Oracle Help Center Extract & Pump Abends - Oracle Communities
Ensure the dirdat directory has enough space to prevent partial writes. If the local trail on the source is
ERROR OGG-01184 Expected 4 bytes, but got 0 bytes, in trail ./dirdat/no000007, seqno 7, reading record trailer token at RBA 246849346. . 2. Verify File Integrity
Check the GoldenGate Error Log (usually ggserr.log ) to find the specific sequence number and RBA where the error occurred. If the RBA is larger than the file
Host trail files on stable, high-performance filesystems to reduce the risk of I/O related corruption. OGG-01184 - Oracle GoldenGate Error Messages