Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Aug 2003
    Posts
    17

    Default Bandwidth usage always reports 0

    Are there any settings which, when changed, would cause the bandwidth usage statistics to stop being reported? Every single account in WHM is show as having used 0% of their bandwidth, and 0MB. Of course, I know this to be far from true based on previous months - but I'm not sure how I can get it to accurately record bandwidth usage again. How it is calculated, which logs does it use, settings that need to be turned on, etc?

    Would having "Delete each domain's access logs after stats run" enabled cause it to break, or having AwStats disabled?
    Last edited by Babylon; 05-24-2007 at 05:06 PM.

  2. #2
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by Babylon View Post
    Are there any settings which, when changed, would cause the bandwidth usage statistics to stop being reported? Every single account in WHM is show as having used 0% of their bandwidth, and 0MB. Of course, I know this to be far from true based on previous months - but I'm not sure how I can get it to accurately record bandwidth usage again. How it is calculated, which logs does it use, settings that need to be turned on, etc?

    Would having "Delete each domain's access logs after stats run" enabled cause it to break, or having AwStats disabled?
    Web statistics should not adversely affect the reporting of disk/bandwidth usage.

    Have you tried running /scripts/fixquotas ?

  3. #3
    Member
    Join Date
    Aug 2003
    Posts
    17

    Default

    I've run the script now, I assume any changes to bandwidth usage statistics won't show until the scripts associated with it are triggered again.

    If it doesn't help (or the changes should actually have shown up instantly), is there any way I can manually run those scripts which calculate bandwidth used, and see if they are giving out any errors, or files I should perhaps be checking for errors, etc?

    Update: Okay, so I found this thread http://forums.cpanel.net/showthread.php?t=53934 and tried running things manually. And here's the problem which I'm left with, an error message saying :

    Code:
    /usr/bin/perl: relocation error: /usr/local/cpanel/3rdparty/lib/perl/auto/RRDs/RRDs.so: undefined symbol: Perl_Gthr_key_ptr
    /usr/bin/perl: relocation error: /usr/local/cpanel/3rdparty/lib/perl/auto/RRDs/RRDs.so: undefined symbol: Perl_Gthr_key_ptr
    I did update perl quite some time ago, so that figures why it broke. But the problem is I have no idea what that error message refers to, and the script /scripts/rrdtoolinstall seems to do nothing. Any suggestions?

    Last update: I edited /scripts/rrdtoolinstall to take out the version check which causes it to exit, then ran it again. Now all is well it seems, but I'll watch it over the next few weeks and see how things go. I have to admit it's slightly frustrating that after updating perl there wasn't checks for all of these things, but hopefully anyone else coming up against the same problem will be able to work it out.

    For the record, I updated at the time using the
    wget http://layer1.cpanel.net/perl587installer.tar.gz
    tar xfvz perl587installer.tar.gz
    cd perl587installer
    ./install
    /usr/local/cpanel/bin/checkperlmodules

    method when I updated perl, I was coming from quite an outdated version though. (5.8.0 I think).
    Last edited by Babylon; 05-25-2007 at 06:49 PM.

Similar Threads & Tags
Similar threads

  1. Bandmin Reports Zero Bandwidth
    By Gene Steinberg in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 02-25-2009, 07:33 AM
  2. [Case 19082] Cpu/mem usage reports
    By Dimmis in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 01-15-2009, 02:25 AM
  3. Erroneous disk usage reports
    By apc1 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-11-2005, 09:30 AM
  4. incorrect disk usage reports
    By pr-design in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 02-05-2003, 07:37 AM
  5. Ip Usage reports same email accounts for all domains
    By First Faze in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 02-08-2002, 01:04 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube