All, I have had great success getting webalizer stats from the three other sites hosted on my server but the first one does not work. Additionally, the stats page of the broken site in ISPCONFIG shows no http traffic and I know that's not correct. It shows data for ftp and mail but none for web. What gives? Is apache the problem for not generating the logs for this site correctly? *edit* Also note: the web traffic stats in ispconfig for the other three sites works just fine.
Do you have any recent lines in the web.log file in the logs directory of the site with the broken stats?
Yes, I have very recent activity in the web.log file for the broken site. What's the next thing to check for?
What is the output of: which webalizer Where the statistics generated when you execute the following command. Do you get any errors when you execute the command? /root/ispconfig/php/php /root/ispconfig/scripts/shell/webalizer.php
The output of which webalizer is : /usr/bin/webalizer and the command /root/ispconfig/php/php /root/ispconfig/scripts/shell/webalizer.php produces the following: 228 records (228 ignored) in 0.00 seconds 2 records (2 ignored) in 0.00 seconds 76 records (76 ignored) in 0.00 seconds and looking in ispconfig, there is no web traffic for site1 but sites 2 and three show traffic. Navigating to the /stats/ page for site one reports: Error 403 forbidden (and the stats directory is empty for site one) while /stats/ page for sites 2 and 3 show stats correctly. *edit* No errors were reported to the console when running the above command. Is there a log I should be looking at for errors?
SOLVED: Webalizer not working for first site but okay for the rest As it turnes out, the sites are supposed to have a symlink to their web/web(x) directory in /var/web/ and the problem was that the first website I created (rather - copied from an old server) created a directory there instead of a symlink. Moving the log files from that directory to /web1/logs and rerunning the cron scripts fixed the stats problem. With humble respect to the developers...thank you!