Cron notification "Error: Unable to restore run data (1)"

Created:

2016-11-16 13:04:49 UTC

Modified:

2017-08-08 13:11:24 UTC

1

Was this article helpful?


Have more questions?

Submit a request

Cron notification "Error: Unable to restore run data (1)"

Applicable to:

  • Plesk for Linux

Symptoms

The following notification is received on admin email account:

    /etc/cron.daily/00webalizer:   
Error: Unable to restore run data (1)

Cause

Webalizer history file /var/lib/webalizer/webalizer.hist is empty or corrupted

Resolution

  1. Rename file /var/lib/webalizer/webalizer.hist :

    # mv /var/lib/webalizer/webalizer.hist /var/lib/webalizer/webalizer.hist_old
  2. Run 00webalizer script

    # sh /etc/cron.daily/00webalizer
  3. Make sure that webalizer.current and webalizer.hist files are present and have correct format:

    # cat /var/lib/webalizer/webalizer.current

    # Webalizer V2.01-10 Incremental Data - 09/29/2012 12:58:10
    2012 9 29 12 58 10
    1464 428 311 7 22 69 2933286 618 427 0
    40 3 82 23 29

    # cat /var/lib/webalizer/webalizer.hist
    9 2012 1464 428 311 2865 23 29 618 427
Have more questions? Submit a request
Please sign in to leave a comment.