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

The following article is for pre March 2009 accounts only.

The stats are automatically updated when you visit the correct URL. 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

PLEASE NOTE: You must log into the stats for them to update at least once per fortnight - if you don't they will not be updated.

If you haved SSH available on your account, 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.
         3. Move into the correct directory (eg cd ~/public_html/stats)
         4. AWStats: Run ./awstats.pl -config=example.com -update
         5. Webalizer: Run ./webalizer -D dns.cache -n example.com ~/logs/*access_log
      (remember to change example.com to your domain name)

If you do not have SSH on your account, then you can update the stats by following this method.

    * 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 Control Panel
         2. Click the Scheduled Tasks icon under Web Tools
         3. In The Run this command box, enter:
         4. AWStats: ~/public_html/stats/awstats.pl -config=example.com -update
         5. Webalizer: ~/public_html/stats/webalizer -D dns.cache -n example.com ~/logs/*access_log
         6. 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)

PLEASE NOTE: 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.

If you do not have either SSH or Scheduled tasks on your package, please contact support.

 

  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

Which modules are installed on the web servers?

All standard Apache modules are installed on the web servers, including mod_rewrite. In...

Can I point multiple domain names to my account?

There are two approaches to this: 1. A simple way to get your account to support more than one...

Do you have any FAQs on PHP, cgi, mySQL and scripts?

Can I place a PHP script in any directory I choose? Yes, PHP scripts do not have to reside in a...

FTP file size limit

The maximum file upload size is 150MB. If a file is greater than 150MB is attempted to be...

Hosting terms and conditions

Please refer to http://www.myqiq.info/tandc/