AWStats not updating automatically – cPanel

How should I fix this? AWStats is not updating here.

AWStats is one of the most commonly using tool on cPanel servers to analyse website traffic summary. Also, you can analyse a lot of things from there like number of visits, pages, hits, Bandwidth etc. In some strange situations, you may get this problem with AWStats, it’s not get updating automatically on the web UI (cPanel >> AWStats). There are a lot of reasons behind this problem including file permissions itself. Here I’m listing some points to remember, if you got the problem with AWStats.

How to access AWStats?

You can simply access and analyse this from the cPanel itself. Please do follow the steps:

1, Log into cPanel.
2, Move to;

Logs >> AWStats

That’s it.


How to update AWStats manually?

Yes, if it’s not updating automatically then you can update it manually. You can done this from the cPanel and also from the command line. You must have root access to server for updating AWStats via SSH. Here is the script;

1, SSH to server as root.
2, Execute;

/scripts/runweblogs $user-name

In the AWStats page there is an option to update it manually.

Why AWStats is not updating automatically?

There are a lot of reasons behind this. You have to check the following this via shell as root user.

1, SSH to server as root.
2, Change the directory to:


There are the conf files for domains under that particular cPanel account. We need to make sure that the directive “AllowToUpdateStatsFromBrowser” is set to 1.

grep AllowToUpdateStatsFromBrowser


[email protected] [/home/cool/tmp/awstats]# grep AllowToUpdateStatsFromBrowser
# Warning: If you want to be able to use the "AllowToUpdateStatsFromBrowser"

Also please check the permission of “/usr/local/cpanel/3rdparty/bin/” file. It must be 775.

# ll /usr/local/cpanel/3rdparty/bin/
-rwxrwxr-x. 1 root root 679172 Aug 23  2009 /usr/local/cpanel/3rdparty/bin/*

You can find more option from the WHM panel;

Home » Server Configuration » Statistics Software Configuration

Check the options are properly enabled from there.

That’s it!

Also read;

1, How to restart the service Spamd – cPanel
2, How to change main domain of a cPanel reseller account with an existing domain name?
3, The XCache – Simple way to install Xcache from source code

Arunlal Ashok

Sr. Linux Server Administrator. I'm managing Linux servers since 2012. I started this blog to share and discuss my ideas. Check My Profile in uPwork (oDesk) and create a job, if you need any administration help. Thanks!!

You may also like...

Leave a Reply

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