[BlueOnyx:04477] Re: Problems with awstats

Ken - Precision Web Hosting, Inc kenlists at precisionweb.net
Thu May 13 10:23:42 -05 2010


----- Original Message ----- 
From: ""Søren S. Straszek"" <dump_mail at straszek.dk>
To: "BlueOnyx General Mailing List" <blueonyx at blueonyx.it>
Sent: Thursday, May 13, 2010 1:15 AM
Subject: [BlueOnyx:04474] Re: Problems with awstats


>
> Den 03/05/2010 kl. 16.47 skrev Michael Stauber:
>
>> 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
>>
>> _______________________________________________
>> Blueonyx mailing list
>> Blueonyx at blueonyx.it
>> http://www.blueonyx.it/mailman/listinfo/blueonyx
>
>
> Hi Michael,
>
> Thanks for your reply;
>
> it tried
>> /etc/cron.daily/zz_awstats-run.pl
>> /etc/cron.daily/zzz_awstats-run.pl
>
> And that does not produce any errors
>
> And
>
>> /etc/cron.daily/logrotate
>
> Did not produce an error.
>
> I have the same problem on another server, both with awstats installed 
> from your solarspeed special template.
>
> Where to look for the problem?
>
> Regards
>
> Søren
>


Søren

If you look  at
ls -la /home/sites/*.*/logs/web.log

Do those files have today's date on them?
If not then your log files are not rotating.

Ken 




More information about the Blueonyx mailing list