From: Jamie C. <jca...@we...> - 2007-04-25 20:58:57
|
On 25/Apr/2007 12:52 Joaquim Homrighausen wrote .. > >Could you post the exact error message that AWstats is reporting? > >That will be useful in tracking this down.. > > "Now updating the report for welledge.se from log file /srv/www/sites/domain.com/logs/access_%YYYY-0%MM-0%DD-24 > .. > > .. failed! See the error message above for the reason why." > > > >Also, how do you have logrotate setup to create those date-based logfiles? > > > I set the log (combined) to: > > "/usr/local/apache/bin/rotatelogs /srv/www/sites/domain.com/logs/access_%Y%m%d > 86400" > > The logfile that AWSTATS should find is there (i.e. yesterday's log). Ok .. the problem is most likely that Virtualmin runs AWstats to process the log with a command like : awstats.pl -config=domain.com -updsate -logfile=/srv/www/sites/domain.com/logs/access_%YYYY-0%MM-0%DD-24 and awstats doesn't do date substitions when the logfile is specified on the command line like that. - Jamie |