Error - F_JG231B Operating System Command Failed With Exit Code 255
Documentation: Error - F_JG231B Operating System Command Failed With Exit Code 255
Error: F_JG231B: Operating System Command Failed With Exit Code 255
Issue
While running a stats job (dssstats), the following errors appear:
F_JG231B: Operating System command '/Path/to/dss_home/bin/dss.exe' -w /Path/to/perl.exe /Path/to/dss_home/script/dssstatistics.pl -i -o /Path/to/dss_config/hubs/_hubname_/stats/staging.csv -g minute -g channel -g location -g table -m 200000 -R atj -C -s ; -V 6100190 _hubname_' failed with exit code 255. Details: Can not read offset in state file '/Path/to/dss_config/hubs/_hubname_/stats/stats.state' at /Path/to/dss_home/script/dssstatistics.pl line 7914, <STATE> line 1.
F_JJ131E: Command dssstatistics -i -o /Path/to/dss_config/hubs/_hubname_/stats/staging.csv -g minute -g channel -g location -g table -m 200000 -R atj -C -s ; -V 6100190 _hubname_ returned a non-zero exit code.
Environment
- DSS 6
- Statistics
Resolution
To resolve this issue, follow these steps:
- Suspend the stats job. See Managing jobs for UI and dsssuspend for CLI.
- Delete the
stats.statefile located in theDSS_CONFIG/hubs/<em>hubname</em>/stats/directory on the hub machine. - Start the stats job. See Managing jobs for UI and dssstart for CLI.
When you delete the stats.state file, DSS will read the dss.out log file from the beginning.
Cause
This issue occurs when an unexpected outage, such as a disk space outage, affects the hub machine. Such outages can interrupt the writing of the stats.state file, causing corruption. Since the file cannot be repaired, you must delete it to allow DSS to re-create it correctly.