Last week my server was shutdown because of power failure.
And after reboot, the webalizer does not update statistics anymore.
Now every day when webailzer runs, I get an email:
================================================
/etc/cron.daily/00webalizer:
Error: Unable to restore run data (99)
/etc/cron.daily/0logwatch:
You have old files in your logwatch tmpdir (/var/cache/logwatch):
logwatch.sqTADAON
The directories listed above were most likely created by a
logwatch run that failed to complete successfully. If so, you
may delete these directories.
================================================
I remove the tmpdir. No use.
I tried to remove and install webalizer again. Cannot solve the problem.
I have searched google and try suggestions like:
# rm -f /var/www/*/web/stats/webalizer.current
# rm -f /var/www/*/web/stats/webalizer.hist
# /etc/cron.daily/00webalizer
Still the same problem:
Error: Unable to restore run data (99)
As I can't have the webalizer working, I try to go for awstats.
I upgrade the ISPConfig to 2.2.40, but I can't find where to enable it...
After reading the script /root/ispconfig/scripts/shell/awstats.php ,
I notice that I can enable certain domain to use awstats by setting webalizer_stats field to '2'.
I want to know where this option can be set in the control panel.
Thanks.
Recent comments
4 hours 9 min ago
10 hours 50 min ago
14 hours 40 min ago
16 hours 19 min ago
1 day 45 min ago
1 day 10 hours ago
1 day 11 hours ago
1 day 14 hours ago
1 day 18 hours ago
1 day 19 hours ago