HostOnNet Blog

AWstats not working on CPanel Site

Looking for Linux Server Admin or WordPress Expert? We can help.

cpanel_awstat

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 :

/scripts/runweblogs user_name

If that didn’t work try fixwebalizer script :

/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 :

/scripts/runstatsonce

If none of the above methods fixes the issue , run the following command :

/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.

About Annie

I've been working in Technical Section for over 10 years in a wide range of tech jobs from Tech Support to Software Testing. I started writing blog for my future reference and useful for all.
Posted in Cpanel Server

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.