[BlueOnyx:04383] Re: Problems with awstats

Michael Stauber mstauber at blueonyx.it
Mon May 3 09:47:01 -05 2010


Hi Søren,

Sorry, been busy the last 3 weeks with tax stuff and a couple of odds and sods 
that had sucked up my time. 

> Awstats is running, but the statistics are not updating, i cant see any
> statistics.
> 
> Does anybody know how to fix this?

As first step try to run the AWStats related cronjobs manually as root:

/etc/cron.daily/zz_awstats-run.pl                                                                                                                                                                                                            
/etc/cron.daily/zzz_awstats-run.pl 

If they don't generate error messages, then the problem is most likely that 
your logs don't rotate. AWStats works on the logs out of the 
/home/sites/<site>/logs/ directories. These directories usually recieve their 
daily split of traffic from the central Apache log /var/log/httpd/access.

If the logrotate cronjob is not working right, those logs don't update and 
AWStats has nothing to chew on.

To test this run logrotate manually and see if it produces an error:

/etc/cron.daily/logrotate

-- 
With best regards

Michael Stauber




More information about the Blueonyx mailing list