The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Bandwidth Usage Stopped Updating

Discussion in 'General Discussion' started by talkmagic, Jun 5, 2009.

  1. talkmagic

    talkmagic Registered

    Joined:
    Jun 5, 2009
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    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
     
  2. hzJayJ

    hzJayJ Well-Known Member

    Joined:
    Nov 14, 2008
    Messages:
    76
    Likes Received:
    1
    Trophy Points:
    8
    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 &
    ==
     
  3. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator

    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.
     
Loading...

Share This Page