Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: AWstats not working /updating  (Read 5848 times)

0 Members and 1 Guest are viewing this topic.

lathu_official

  • Guest
AWstats not working /updating
« on: January 20, 2014, 06:16:00 am »
AWStats
AWStats is a free powerful graphical representation tool which generates advanced web, streaming, ftp or mail server statistics. This log analyzer works as a CGI or from the command line and shows you all possible information your log contains, in few graphical web pages .

Awstats not working /updating  - CPanel

It can be caused due to many issues and here I am posting some fixes for that.

First check permission of /usr/local/cpanel/3rdparty/bin/awstats.pl, it should be 755.

Then to update awstats and webalizer run the script :
 
Code: [Select]
# /scripts/runweblogs user_nameIf that didn't work try fixwebalizer script :

Code: [Select]
# /scripts/fixwebalizer

If that doesn’t update stats, then check domlogs of the domain and see if it is up to date. You can use the following script to run statistics :
 
Code: [Select]
# /scripts/runstatsonce

If none of the above fixes the issue and the awstats page for the domain is still showing the old date for last update, run the following command :
 
Code: [Select]
# /usr/bin/perl /usr/local/cpanel/3rdparty/bin/awstats.pl -config=/home/user_name/tmp/awstats/awstats.domain.com.conf -LogFile=/usr/local/apache/domlogs/domain.com -update

Replace domain.com with your domain name and replace user_name with your cPanel username.

That will fix the issue...!!

-------
Thanks.