Hi all, 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) Can anybody help?
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.
Hi Till, Thanks for the reply. But in the statistics tab on both ISP Client and ISP Site, it shows the traffic statistics only. There is no option can be set. Stats tab of ISP Client: Stats tab of ISP Site:
Thanks jnsc. But in my options tab: The last entry is just a checkbox. Check it will make the webalizer_stats field to '1'. Uncheck it will make the field to '0'. Never '2' ...
It should look like this Did you had an error during update? it look like your update went wrong do you have this Code: ### AWStats Section ### Alias /icon "/home/admispconfig/ispconfig/tools/awstats/wwwroot/icon/" ### End of AWStats Section ### in your /etc/apache2/apache2.conf
I don't have any error during update. My options tab is not as yours. Only a checkbox for "webalizer stats". (version 2.2.40) # tail -n 3 /etc/httpd/conf/httpd.conf ### ISPC AWStats Section ### Alias /awstatsicons "/home/admispconfig/ispconfig/tools/awstats/wwwroot/icon/" ### End of ISPC AWStats Section ### I think there are some problems of my version of ISPConfig... I'll try reinstall ISPConfig later. Thanks for your kindly help, jnsc.