Awstats not updating
1. Login via SSH as root
2. cd /home/username/tmp/awstats
3. grep AllowToUpdateStatsFromBrowser awstats.example.com.conf
4. It should be set to AllowToUpdateStatsFromBrowser=1
5. If not, edit the file and save.
6. restart cpanel : service cpanel restart
7. Go to awstats page of domain and click the update now button.
Other options.
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.
1. Login via SSH as root
2. cd /home/username/tmp/awstats
3. grep AllowToUpdateStatsFromBrowser awstats.example.com.conf
4. It should be set to AllowToUpdateStatsFromBrowser=1
5. If not, edit the file and save.
6. restart cpanel : service cpanel restart
7. Go to awstats page of domain and click the update now button.
Other options.
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.