Stats Management

From Hostek.com Wiki
Revision as of 19:11, 22 April 2013 by Maxm (Talk | contribs) (Created page with "=cPanel Stats Program Management= ==Configure stats program options for accounts on VPS== #Login to WHM #Go to "Server Configuration" > "Statistics Software Configuration" #Ch...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

cPanel Stats Program Management

Configure stats program options for accounts on VPS

  1. Login to WHM
  2. Go to "Server Configuration" > "Statistics Software Configuration"
  3. Choose which stat programs you wish to allow accounts on this server to use

Enabling stats programs for an account

  1. Login to cPanel
  2. Under "Logs", click on "Choose Log Programs"
  3. 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:
    1. Login to WHM
    2. Go to Tweak Settings > Stats and Logs
    3. Change the "Stats log level" to a higher value
    4. Run the runweblogs script again, and check the stat processing log

Resolving db_put fail! errors

  1. Delete /home/USER/tmp/webalizer/dns_cache.db file

Stat errors