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.

Runweblogs hangs / bandwidth not fully update for one user

Discussion in 'General Discussion' started by demomen, Jan 28, 2006.

  1. demomen

    demomen Well-Known Member

    Joined:
    Sep 25, 2004
    Messages:
    111
    Likes Received:
    0
    Trophy Points:
    16
    I have an issue with bandwidth for one user that I update every so often but it will always hangs.

    It updates the bandwidth 1/5 of the amount usage. For example this month the user has used 14 GB but it was on 7GB after runweblogs it is on 8GB. It only seems to be this user that the bandwidth does not update on. (bandwidth states in cpanel bandwdith for user and cpanel status and whm view bandwidth.

    Any simple way to fix
     
  2. Murtaza_t

    Murtaza_t Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    476
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Earth
    cPanel Access Level:
    Website Owner
    What does your logs say when you update his stats..
    Try looking for any errors at :
    /usr/local/cpanel/logs/stats_log
     
  3. demomen

    demomen Well-Known Member

    Joined:
    Sep 25, 2004
    Messages:
    111
    Likes Received:
    0
    Trophy Points:
    16
    Hi murt

    I have corrected some information in /var/cpanel/users/user1
    and set the correct time for stats to run (now)

    It updated and did not hang but the bandwidth is still the same 8GB instead of 14GB


    PHP:
    root@server # /scripts/runweblogs user1
    Log checker loaded ok..
    Parentheses missing around "my" list at /usr/lib/perl5/site_perl/5.8.0/File/Copy/Recursive.pm line 148.
    Parentheses missing around 
    "my" list at /usr/lib/perl5/site_perl/5.8.0/File/Copy/Recursive.pm line 202.
    (internal deathSun Jan 29 00:47:38 2006 [15554errorModification of a read-only value attempted at /usr/lib64/perl5/site_perl/5.8.0/DBI.pm line 279.
            
    eval {...} called at /usr/lib64/perl5/site_perl/5.8.0/DBI.pm line 276
            
    require DBI.pm called at /usr/lib64/perl5/site_perl/5.8.0/DBD/mysql.pm line 7
            DBD
    ::mysql::BEGIN() called at /usr/lib64/perl5/5.8.0/x86_64-linux-thread-multi/Scalar/Util.pm line 0
            
    eval {...} called at /usr/lib64/perl5/5.8.0/x86_64-linux-thread-multi/Scalar/Util.pm line 0
            
    require DBD/mysql.pm called at /usr/local/cpanel/cpanellogd line 60
            main
    ::BEGIN() called at /usr/lib64/perl5/5.8.0/x86_64-linux-thread-multi/Scalar/Util.pm line 0
            
    eval {...} called at /usr/lib64/perl5/5.8.0/x86_64-linux-thread-multi/Scalar/Util.pm line 0
    [a fatal error or timeout occurred while processing this directive]==> WARNINGconfigured processor count does not match
    ==> actual processor count (1)! Running stats programs
    ==> on this system may cause excessive load!
    ==> 
    You should set extracpus=0 in /var/cpanel/cpanel.config if this is not ok.
    ==> 
    cPanel Log Daemon version 22.2
    ==> Shared RRDTOOL support enabled
    Processing user1
    ...
    Run Logs domainuser1site.com BW Limit62914560000 Domains: []
    Processing exim stats for user1.......Done
    WEBLANG english
    Archive Status
    0
    About to fork 
    for user1 [DOMAINuser1site.com]
    Complete
     
  4. Murtaza_t

    Murtaza_t Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    476
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Earth
    cPanel Access Level:
    Website Owner
    You get error while updating the stats :
    Code:
    Parentheses missing around "my" list at /usr/lib/perl5/site_perl/5.8.0/File/Copy/Recursive.pm line 148. 
    Parentheses missing around "my" list at /usr/lib/perl5/site_perl/5.8.0/File/Copy/Recursive.pm line 202.
    You should try and reintall perl on your machine...
    I would suggest you to search forums for more help on reinstalling perl or else you can seek help if you are not sure about it.
     
  5. demomen

    demomen Well-Known Member

    Joined:
    Sep 25, 2004
    Messages:
    111
    Likes Received:
    0
    Trophy Points:
    16
  6. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    This is definitely the problem:

    As Murtaza_t has said, you should upgrade perl. Even if you fix the File::Copy issue, the latest version of many cpan modules need a much more up to date version of perl installed, in particular DBD::mysql and other DBI related modules. So you do indeed need to upgrade to perl v5.8.7 which you can from the layer1 distribution.
     
Loading...

Share This Page