Runweblogs hangs / bandwidth not fully update for one user

demomen

Well-Known Member
Sep 25, 2004
111
0
166
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
 

demomen

Well-Known Member
Sep 25, 2004
111
0
166
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:
[email protected] # /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 death) Sun Jan 29 00:47:38 2006 [15554] error: Modification 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]==> WARNING: configured 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 domain: user1site.com BW Limit: 62914560000 Domains: []
Processing exim stats for user1.......Done
WEBLANG english
Archive Status: 0
About to fork for user1 [DOMAIN: user1site.com]
Complete
 

Murtaza_t

Well-Known Member
Jan 24, 2005
474
0
166
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.
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
33
473
Go on, have a guess
This is definitely the problem:

/usr/lib/perl5/site_perl/5.8.0
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.