cPanel WHM

Web stats not updating in cPanel

First check permission of /usr/local/cpanel/3rdparty/bin/, it should be 755.

Then to update awstats and webalizer run the script :

# /scripts/runweblogs user_nameIf 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 fixes the issue and the awstats page for the domain is still showing the old date for last update, run the following command :

# /usr/bin/perl /usr/local/cpanel/3rdparty/bin/ -config=/home/user_name/tmp/awstats/ -LogFile=/usr/local/apache/domlogs/ -update


Error: Plugin load for plugin ‘geoipfree’ failed with return code: Error: Can’t locate Geo/ in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /usr/local/cpanel/3rdparty/bin/lib /usr/local/cpanel/3rdparty/bin/plugins /usr/local/cpanel/3rdparty/bin/plugins) at (eval 2) line 1.


cpan install Geo:IPfree

Other info

Log files at /usr/local/apache/domlogs/
Config for awstats /home/fl/tmp/awstats/
Location of all log files – /home/domain/tmp

If the logs are archived – look here – /home/fl/logs

# cd /home/fl/logs
ls -la

Un archive

# tar -xvzf
# ls

Unarchive the file and run the command to rebuild it

# /usr/bin/perl /usr/local/cpanel/3rdparty/bin/ -config=/home/user_name/tmp/awstats/ -LogFile=/home/user_name/logs/ -update