Home » Categories » Multiple Categories

Why are my AWStats or Webalizer pages not updating as they should be?

Both AWStats and Webalizer update automatically when you visit the correct URL for them.  This is a directory and not a specific file name.

For example, if you have installed AWStats into a directory called ‘stats’, you would access it via www.your-domain.com/stats/ not www.your-domain.com/stats/awstats.pl.

If your statistics package is still not updating, you can either manually refresh the package, or set it to be automatically updated on a regular basis.

To manually refresh AWStats/Webalizer (through SSH on a Linux hosting package):

  1. Log into your account through SSH
  2. Move into the correct directory using

cd

  1. Once in the correct directory, run the appropriate line of code, changing your-domain.com to your domain name:
    1. AWStats:
      ./awstats.pl –config=your-domain.com –update
    2. Weblizer:
      webalizer –D dns.cache –n your-domain.com ~/logs/*access_log

To automatically refresh AWStats/Webalizer (through the eXtend Control Panel):

  1. Log into your eXtend Control Panel
  2. Click Scheduled Tasks under Web Tools
  3. In the ‘Run This Command’ box, enter in the appropriate line of code, changing your-domain.com to your domain name, and the file path to the correct path for your installation:
    1. AWStats on a Linux hosting account:
      /home/sites/your-domain.com/public_html/stats/awstats.pl –config=your-domain.com –update
    2. Webalizer on a Linux hosting account:
      /usr/bin/Webalizer –D dns.cache –n your-domain.com /home/sites/your-domain.com/logs/your-domain.com-access_log*
    3. AWStats on a Windows hosting account:
      C:\Perl\bin\perl.exe D:\sites\your-domain.com\public_html\awstats\awstats.pl -config=awstats.conf -update
    4. Webalizer on a Windows hosting account:
      This is currently not supported on the Windows hosting platform
  4. Set the scheduled time to a time which works for you, whether every day at a certain hour, or every week
  5. Click Update
  6. The process will now be set up and will run at the time you have specified.
1 (3)
Article Rating (3 Votes)
Rate this article
  • Icon PDFExport to PDF