Knowledgebase: Security
Enabling AWStats Updating from cPanel
Posted by on 14 June 2012 12:27 PM

Processing stats and logs is resource-intensive. Sometimes, if the processor load is high or if there is too much memory usage, the virtualization software will kill off a running process to keep your VPS within it's resource limits.

Updating Manually

You can use SSH to update the stats by issuing the following command ('[username]' is the cPanel username you wish to update):

/scripts/runweblogs [username]]

Updating Through cPanel

Sometimes, it may be easier to just enable your cPanel user accounts to update manually: 

  1. Log in to WHM

  2. Click Server Configurations, then Tweak Settings

  3. Scroll down to Stats and Logs and check the box "Allow users to update AWStats from cPanel"

The Update Now link in AWStats will be available now, located at the top next to Last Update. However, it may not show immediately. You may need to manually run the stats using the Updating Manually instructions above. You can also verify that the setting is actually enabled by checking the AWStats Configuration File for a particular user:

  1. Login via SSH as root

  2. cd '/hometmp/awstats'

  3. grep 'AllowToUpdateStatsFromBrowser'
    Note: it should be set to AllowToUpdateStatsFromBrowser=1. If not, edit the file and save.

  4. Restart cpanel : service cpanel restart

See also SSH Access Info, Logging Into WHM, Statistics for Your Site, Change AWStats Config File in cPanel

(3 vote(s))
This article was helpful
This article was not helpful

Comments (0)
Post a new comment
Full Name:
Help Desk Software by Kayako fusion
ERROR: This domain name (, does not match the domain name in the license key file

For assistance with your license, please contact the Kayako support team: