Error: F_JG231B: Operating System Command Failed with Exit Code 255
Issue
The following errors appear in HVRSTATS:
F_JG231B: Operating System command 'E:\hvr\_prod\hvr\_home/bin/hvr.exe -w E:\Strawberry\perl\bin\perl.exe E:\hvr\_prod\\hvr\_home/lib/hvrstatistics.pl -I stats\_hvr\_hub\_prod -o D:\hvr\_prod\hvr\_config\files\hvr\_stats\_staging\_hvr\_hub\_prod.csv -g 10minutes -g channel -g location -g table -m 200000 -R atj -C -s ; -V 5705180 hvr\_hub\_prod' failed with exit code 255\. Details: Can not read offset in offset file 'D:\hvr\_prod\hvr\_config/files/hvrstatistics\_stats\_hvr\_hub\_prod.offset' at E:\hvr\_prod\\hvr\_home/lib/hvrstatistics.pl line 7740, <OFFSET\> line 1\.
F_JJ131E: Command hvrstatistics -I stats\_hvr\_hub\_prod -o D:\hvr\_prod\\hvr\_config\files\hvr\_stats\_staging\_hvr\_hub\_prod.csv -g 10minutes -g channel -g location -g table -m 200000 -R atj -C -s ; -V 5705180 hvr\_hub\_prod returned a non-zero exit code
Environment
HVR 5
Resolution
To resolve this issue, rename, move, or delete the offset file mentioned in the error.
HVR automatically re-creates the offset file correctly then replication can move forward.
Cause
This issue occurs when the offset file is corrupted.