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):
- Log into your account through SSH
- Move into the correct directory using
cd
- Once in the correct directory, run the appropriate line of code, changing your-domain.com to your domain name:
- AWStats:
./awstats.pl –config=your-domain.com –update
- Weblizer:
webalizer –D dns.cache –n your-domain.com ~/logs/*access_log
To automatically refresh AWStats/Webalizer (through the eXtend Control Panel):
- Log into your eXtend Control Panel
- Click Scheduled Tasks under Web Tools
- 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:
- AWStats on a Linux hosting account:
/home/sites/your-domain.com/public_html/stats/awstats.pl –config=your-domain.com –update
- 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*
- 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
- Webalizer on a Windows hosting account:
This is currently not supported on the Windows hosting platform
- Set the scheduled time to a time which works for you, whether every day at a certain hour, or every week
- Click Update
- The process will now be set up and will run at the time you have specified.
Article ID: 630
Created On: Wed, Apr 8, 2015 at 11:41 AM
Last Updated On: Thu, Apr 23, 2015 at 12:34 PM
Online URL: https://www.heartinternet.uk/support/article/why-are-my-awstats-or-webalizer-pages-not-updating-as-they-should-be.html