If the cpanel webalizer stats are not getting updated, first check to see if none of the domain logs are upto 2GB, you need to check in /usr/local/apache/domlogs/, if that is ok, then try running :
# /scripts/runstatsonce domainname.com
if even this doesn’t work then try
# /scripts/runweblogs accountusername
if even this doesn’t work, then try the following script, But please take a backup of the existing stats and then only continue further. You can take the backup of the complete webalizer directory,
/home/username/tmp/webalizer
once you have ensured that the backup is taken then try running the following :
# /scripts/fixwebalizer
it will ask for account username enter the username and enter.
If you are reciving such kind of messages in your mails: —
“IMPORTANT: Do not ignore this email.
This is cPanel stats runner on **********.com!
While processing the log files for user **********, the cpu has been maxed out for more than a 6 hour period. The current load/uptime line on the server at the time of this email is 06:50:17 up 39 days, 21:02, 2 users, load average: 8.32, 1.70, 1.36 You should check the server to see why the load is so high and take steps to lower the load. If you want stats to continue to run even with a high load; Edit /var/cpanel/cpanel.config and change extracpus to a number larger then 0 (run /usr/local/cpanel/startup afterwards to pickup the changes). ”
Here’s how you do it:
* Go to the Packages section of the side menu in the root cPanel account.
* Select Feature Manager and create a new feature set.
* You get very granular control over the features available to an account and can create a set that does not offer any of the log analysis packages.
* Save this new feature set.
* Select Add Packages in the Packages section (where you already are) and create a hosting package that uses the feature set you just created.
* Go up the menu to the Account Functions section, and select the Upgrade/Downgrade An Account option.
* Select the account that’s been generating the problem and switch it to the hosting package you just created.
This should lower the daily CPU load of the account significantly and reduce or eliminate the cPanel “maxed out” warning messages.
you can also turn off these stats packages for all accounts. In the topmost menu of the root cPanel account (a.k.a. “WebHost Manager”), labeled “Server Configuration”, select the “Tweak Settings” option. This will let you enable or disable a number of packages that come standard with cPanel, including the stats packages, various anti spam tools, various webmail packages (like Horde and Squirrel Mail), etc.