HolHost.com Blog Server administrators blog

23Nov/15Off

Why cPanel AWStats is Not Updating Automatically?

AWStats is one of the maximum usually using cPanel tool to analyse internet site site visitors summary. you may analyse loads of factors from here like range of visits, Pages, Hits, Bandwidth and so on. In some extraordinary conditions, you can get this problem with AWStats, it’s not updating mechanically. There are a variety of reasons at the back of this hassle including document permission. here I’m listing a few points to check if you acquire this problem with AWStats.

Awstats location:
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

How to update AWStats manually?

You can do this from cPanel and also from the command line. You must have root access to server. You can do this:

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

/scripts/runweblogs $user-name

Why AWStats is not updating automatically?

1, SSH to server as root.

2, Change the directory to:

/home/user/tmp/awstats

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 awstats.example.com.conf

Example:

root@tsting [/home/****/tmp/awstats]# grep AllowToUpdateStatsFromBrowser awstats.servernoobs.com.conf
# Warning: If you want to be able to use the "AllowToUpdateStatsFromBrowser"
AllowToUpdateStatsFromBrowser=1

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

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

You can see our VPS Plans.

Comments (0) Trackbacks (0)

Sorry, the comment form is closed at this time.

No trackbacks yet.