Why aren't my AWStats or Webalizer stats pages updating / working?

The stats are automatically updated when you visit the correct URL. That is, the URL must not specify a specific file name.

For instance, if your domain is example.com and AWStats/Webalizer were installed in the stats directory (under public_html), then the URL to use would be

http://example.com/stats/
and not
http://example.com/stats/awstats.pl

 

If you are still having problems, then you can manually perform an update of the stats. You may need to do this on a particularly busy website, where the stats haven't been visited in some time.

 

  • SSH method:
    You will need secure shell access enabled on the hosting package for this method.
    1. Log in to SSH
    2. Move into the correct directory (eg cd ~/public_html/stats)
    3. AWStats: Run ./awstats.pl -config=example.com -update
    4. Webalizer: Run webalizer -D dns.cache -n example.com ~/logs/*access_log
    (remember to change example.com to your domain name)

  • Scheduled Task method:
    This will automate the updating so you don't need to run anything manually, and doesn't need secure shell access.
    1. Access your eXtend Control Panel
    2. Click the Scheduled Tasks icon under Web Tools
    3. In The Run this command box, enter:
    4. AWStats (Linux): /home/sites/example.com/public_html/stats/awstats.pl -config=example.com -update
    5. Webalizer (Linux): /usr/bin/webalizer -D dns.cache -n example.com /home/sites/example.com/logs/example.com-access_log*"
    6. AWStats (Windows): C:\Perl\bin\perl.exe D:\sites\example.com\public_html\awstats\awstats.pl -config=awstats.conf -update
    7. Set the scheduled time to something sensible, such as every day at 4am (select 4am under Hour)
    (remember to change example.com to your domain name, and ~/public_html/stats to the actual path the stats are installed at)
    Currently Webalizer scheduled updating is unsupported on the windows hosting platform


Please note that if AWStats was installed before 26th October 2008, you will need to reinstall the package if you want to use the Scheduled Task method - as this has only recently been supported.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

I've installed the formmail script, but my form isn't working. Why?

The Formmail Script is provided via the PH Control Panel, full usage instructions can be found...

How do I create streaming content?

That depends on the type of file you wish to stream. MP3 files can be created by a variety of...

How to configure Mambo to handle 404 errors for search engine optimisation such as Google site maps?

Sites that have been developed with the involvement of Mambo may encounter problems when...

I can't see the Website Builder in Planet Hippo CP?

Website Builder is available with the Home Pro accounts and above, so if you have a Starter...