Stats Management
From Hostek.com Wiki
Contents
cPanel Stats Program Management
Configure stats program options for accounts on VPS
- Login to WHM
- Go to "Server Configuration" > "Statistics Software Configuration"
- Choose which stat programs you wish to allow accounts on this server to use
Enabling stats programs for an account
- Login to cPanel
- Under "Logs", click on "Choose Log Programs"
- Select the stats programs you wish to use for this account
Stats Troubleshooting
If the stats are being updated check the following.
- Ensure that the Apache access logs are being located for this domain. Check if there are recent entries in the following file:
/usr/local/apache/domlogs/domain.com
(Replace domain.com with the actual domain name) - Make sure the permissions on /home/USER/tmp/awstats and /home/USER/tmp/webalizer are 700
- Run the weblogs script manually with this command:
/scripts/runweblogs username
- Check for any errors in the output
- Check the stat processing log:
/usr/local/cpanel/logs/stats_log
- If there is not enough information in the stats log, you could increase the debugging information:
- Login to WHM
- Go to Tweak Settings > Stats and Logs
- Change the "Stats log level" to a higher value
- Run the runweblogs script again, and check the stat processing log
Resolving db_put fail! errors
- Delete /home/USER/tmp/webalizer/dns_cache.db file