talkmagic

Registered
Jun 5, 2009
1
0
51
Hi

The bandwidth usage in WHM is showing as 0% for all accounts. We believe cpanel automatically stopped updating/logging because of a shortage of disk space, which has now been resolved. How can we restart the updating of these statistics? Also, is there a way to run it immediately rather than waiting for a prescheduled cron job?

Many thanks
Laurence Jones
 

hzJayJ

Well-Known Member
Nov 14, 2008
76
1
58
If you have root access to the server, you can run the below script through shell to update the logs for all the cpanel users.

==
cd /var/cpanel/users;for i in *;do /scripts/runweblogs $i;echo logs done for $i;done;echo &all done &
==
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,212
13
313
Houston, TX
cPanel Access Level
Root Administrator
Hi

The bandwidth usage in WHM is showing as 0% for all accounts. We believe cpanel automatically stopped updating/logging because of a shortage of disk space, which has now been resolved. How can we restart the updating of these statistics? Also, is there a way to run it immediately rather than waiting for a prescheduled cron job?

Many thanks
Laurence Jones

If you have a shortage of disk space, I recommend you resolve that issue as a shortage of disk space will eventually lead to the halting of the cPanel/WHM software as a protection measure if your available hard disk space becomes excessively scarce.