Showstats showing initialized in 1969


Issue: Showstats showing initialized in 1969 or other date.

 

Solution: 

To fix the date that showstates is displaying you will need to shutdown Moab and backup the .moab.ck and .moab.ck.1 file in your $MOABHOMEDIR.

Next exit the .moab.ck file
The entry is towards the end of the checkpoint file on a line that looks like this: 

SYSSTATS SYSSTATS 1452094070 0.000 0.000 1452094056 0 0 1317.400000 0.000000 0.000000 0.000000 0.000000 0 0 0.000000 0 0 0.000000 0.0000 

The timestamp you want to change is the 6th field ("1452094056" in the example above). The timestape should be entered around the time your cluster started to report. For example I deployed my cluster on Jan 1 2010. Using the link below I get "1262368650". 

http://www.epochconverter.com/

Now insert and start Moab.

SYSSTATS SYSSTATS 1452094070 0.000 0.000 1262368650 0 0 1317.400000 0.000000 0.000000 0.000000 0.000000 0 0 0.000000 0 0 0.000000 0.0000 

 

Note that your stats hould now show initialized in 2010.

Tags: initialized, Showstats
Last update:
2016-01-26 18:59
Author:
Jason Booth
Revision:
1.0
Average rating:0 (0 Votes)

You cannot comment on this entry

Chuck Norris has counted to infinity. Twice.

Records in this category

Tags