/scripts/runlogsnow cron error

web12

Well-Known Member
Nov 20, 2002
240
0
166
Hi

For the last couple of days I have started receiving this error on 2 of my servers.

My guess is that it came after one of the night upcp's, but not sure whats changed to cause it.

Here is the cron email that is sent:-
Subject: Cron <[email protected]> /scripts/runlogsnow >/dev/null
(internal death) Sun Dec 4 01:45:01 2005 [15298] error: Modification of a read-only value attempted at /usr/lib/perl5/site_perl/5.6.1/i386-linux/DBI.pm line 279.
eval {...} called at /usr/lib/perl5/site_perl/5.6.1/i386-linux/DBI.pm line 276
require DBI.pm called at /usr/lib/perl5/site_perl/5.6.1/i386-linux/DBD/mysql.pm line 7
DBD::mysql::BEGIN() called at /usr/lib/perl5/site_perl/5.6.1/i386-linux/Scalar/Util.pm line 0
eval {...} called at /usr/lib/perl5/site_perl/5.6.1/i386-linux/Scalar/Util.pm line 0
require DBD/mysql.pm called at /usr/local/cpanel/cpanellogd line 58
main::BEGIN() called at /usr/lib/perl5/site_perl/5.6.1/i386-linux/Scalar/Util.pm line 0
eval {...} called at /usr/lib/perl5/site_perl/5.6.1/i386-linux/Scalar/Util.pm line 0
Anyone got any ideas what might be causing this?

cheers
 

jeroman8

Well-Known Member
Mar 14, 2003
410
0
166
Get the same thing here when running /scripts/runweblogs but the logs
is being updated so I don't know what it is.
 

web12

Well-Known Member
Nov 20, 2002
240
0
166
I noticed that on the 1st of December quite a lot of things got updated in the UPCP. pretty sure that one of them has caused the issue, but where to start?

Digest-MD5-2.35
DBI-1.49.tar.gz
Creating DBI::PurePerl
MIME::Base64
GD-SecurityImage-1.583
Scalar-List-Utils-1.18
 
Last edited:

web12

Well-Known Member
Nov 20, 2002
240
0
166
Well it looks like the program being referenced at /usr/lib/perl5/site_perl/5.6.1/i386-linux/DBI.pm line 279 is the Scalar-List one, but which file would it be calling which causes the error "error: Modification of a read-only value attempted " ?
 

SupermanInNY

Well-Known Member
Jul 19, 2003
255
0
166
prmpt.com:/usr/local/apache/domlogs => /scripts/runweblogs
Log checker loaded ok..
What user's logs did you want to update? <I didn't specify anyone, just hit enter>
(internal death) Wed Dec 7 00:21:16 2005 [18147] error: Modification of a read-only value attempted at /usr/lib/perl5/site_perl/5.8.1/i686-linux/DBI.pm line 279.
eval {...} called at /usr/lib/perl5/site_perl/5.8.1/i686-linux/DBI.pm line 276
require DBI.pm called at /usr/lib/perl5/site_perl/5.8.1/i686-linux/DBD/mysql.pm line 7
DBD::mysql::BEGIN() called at /usr/lib/perl5/5.8.1/i686-linux/Scalar/Util.pm line 0
eval {...} called at /usr/lib/perl5/5.8.1/i686-linux/Scalar/Util.pm line 0
require DBD/mysql.pm called at /usr/local/cpanel/cpanellogd line 58
main::BEGIN() called at /usr/lib/perl5/5.8.1/i686-linux/Scalar/Util.pm line 0
eval {...} called at /usr/lib/perl5/5.8.1/i686-linux/Scalar/Util.pm line 0
[a fatal error or timeout occurred while processing this directive]==> cPanel Log Daemon version 22.0
==> Shared RRDTOOL support enabled

so... where is the problem?

-Alon.
 

sgemma

Member
Nov 17, 2002
24
0
151
Same here on several servers:

-bash-2.05b# /scripts/runweblogs
Log checker loaded ok..
What user's logs did you want to update? dashadys
(internal death) Wed Dec 7 16:56:50 2005 [19308] error: Modification of a read-only value attempted at /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/DBI.pm line 279.
eval {...} called at /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/DBI.pm line 276
require DBI.pm called at /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/DBD/mysql.pm line 7
DBD::mysql::BEGIN() called at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/Scalar/Util.pm line 0
eval {...} called at /usr/lib/perl5/5.8.0/i386-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/lib/perl5/5.8.0/i386-linux-thread-multi/Scalar/Util.pm line 0
eval {...} called at /usr/lib/perl5/5.8.0/i386-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
 

isputra

Well-Known Member
May 3, 2003
574
0
166
Mbelitar
how to fix this ?

upgrade to C-60 got this problem :confused:
 

Solokron

Well-Known Member
Aug 8, 2003
852
2
168
Seattle
cPanel Access Level
DataCenter Provider
We are having the same issue here.
 

Izzee

Well-Known Member
Feb 6, 2004
469
0
166
Last edited:

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
33
473
Go on, have a guess
Indeed. You'll almost definitely have problems staying on 5.6.1 and 5.8.1 might also have difficulties. Upgrading to 5.8.7 would be the way to go.
 

MattGetWeb

Well-Known Member
Aug 4, 2005
49
0
156
Just tried to upgrade to 5.8.7 following cpanelben's instructions. When I try to check I have all the modules, I get errors.

/usr/local/cpanel/bin/checkperlmodules
Method: Perl Expect
Testing connection speed...(this could take a while)....Done
Three usable mirrors located
Mirror Check passed for cpan.erlbaum.net (/index.html)
Undefined subroutine &CPAN::Config::commit called at /scripts/realperlinstaller line 95.
OK, I'm confused, and somewhat nervous. Things haven't crashed, but /scripts/upcp has similar failures when trying to add any missing modules. Some delving around shows me that that the "commit" function has moved from CPAN.pm to CPAN/HandleConfig.pm. I'm not a perl guru, but what do I need to change to make /scripts/realperlinstaller use commit from the new location?

edit: NM. --> CPAN::HandleConfig::commit
2nd edit: /scripts/upcp "breaks" /scripts/realperlinstaller as it gets downloaded again, so I see this in my UPCP logs -> "Undefined subroutine &CPAN::Config::commit called at /scripts/realperlinstaller line 95."
 
Last edited:

noimad1

Well-Known Member
Mar 27, 2003
626
0
166
I've updated to perl 5.8.7, but still am not able to run my runlogs file....it still gives these errors:

(internal death) Thu Aug 10 22:37:31 2006 [14588] error: List::Util object version 1.14 does not match bootstrap parameter 1.18 at /usr/lib/perl5/5.8.7/i686-linux/XSLoader.pm line 92.
at /usr/lib/perl5/5.8.7/i686-linux/XSLoader.pm line 92
XSLoader::load('List::Util', 1.18) called at /usr/lib/perl5/5.8.7/i686-linux/List/Util.pm line 25
eval {...} called at /usr/lib/perl5/5.8.7/i686-linux/List/Util.pm line 27
eval {...} called at /usr/lib/perl5/5.8.7/i686-linux/List/Util.pm line 19
require List/Util.pm called at /usr/lib/perl5/5.8.7/i686-linux/Scalar/Util.pm line 12
require Scalar/Util.pm called at /usr/lib/perl5/site_perl/5.8.7/i686-linux/DBI.pm line 281
eval {...} called at /usr/lib/perl5/site_perl/5.8.7/i686-linux/DBI.pm line 280
require DBI.pm called at /usr/lib/perl5/site_perl/5.8.7/i686-linux/DBD/mysql.pm line 7
DBD::mysql::BEGIN() called at /usr/lib/perl5/5.8.7/i686-linux/List/Util.pm line 0
eval {...} called at /usr/lib/perl5/5.8.7/i686-linux/List/Util.pm line 0
require DBD/mysql.pm called at /usr/local/cpanel/cpanellogd line 62
main::BEGIN() called at /usr/lib/perl5/5.8.7/i686-linux/List/Util.pm line 0
eval {...} called at /usr/lib/perl5/5.8.7/i686-linux/List/Util.pm line 0
(internal death) Thu Aug 10 22:37:31 2006 [14588] error: List::Util object version 1.14 does not match bootstrap parameter 1.18 at /usr/lib/perl5/5.8.7/i686-linux/List/Util.pm line 30.
at /usr/lib/perl5/5.8.7/i686-linux/List/Util.pm line 30
eval {...} called at /usr/lib/perl5/5.8.7/i686-linux/List/Util.pm line 19
require List/Util.pm called at /usr/lib/perl5/5.8.7/i686-linux/Scalar/Util.pm line 12
require Scalar/Util.pm called at /usr/lib/perl5/site_perl/5.8.7/i686-linux/DBI.pm line 281
eval {...} called at /usr/lib/perl5/site_perl/5.8.7/i686-linux/DBI.pm line 280
require DBI.pm called at /usr/lib/perl5/site_perl/5.8.7/i686-linux/DBD/mysql.pm line 7
DBD::mysql::BEGIN() called at /usr/lib/perl5/5.8.7/i686-linux/List/Util.pm line 0
eval {...} called at /usr/lib/perl5/5.8.7/i686-linux/List/Util.pm line 0
require DBD/mysql.pm called at /usr/local/cpanel/cpanellogd line 62
main::BEGIN() called at /usr/lib/perl5/5.8.7/i686-linux/List/Util.pm line 0
eval {...} called at /usr/lib/perl5/5.8.7/i686-linux/List/Util.pm line 0
(internal death) Thu Aug 10 22:37:31 2006 [14588] error: Undefined subroutine &Scalar::Util::weaken called at /usr/lib/perl5/site_perl/5.8.7/i686-linux/DBI.pm line 283.
at /usr/lib/perl5/site_perl/5.8.7/i686-linux/DBI.pm line 283
eval {...} called at /usr/lib/perl5/site_perl/5.8.7/i686-linux/DBI.pm line 280
require DBI.pm called at /usr/lib/perl5/site_perl/5.8.7/i686-linux/DBD/mysql.pm line 7
DBD::mysql::BEGIN() called at /usr/lib/perl5/5.8.7/i686-linux/Scalar/Util.pm line 0
eval {...} called at /usr/lib/perl5/5.8.7/i686-linux/Scalar/Util.pm line 0
require DBD/mysql.pm called at /usr/local/cpanel/cpanellogd line 62
main::BEGIN() called at /usr/lib/perl5/5.8.7/i686-linux/Scalar/Util.pm line 0
eval {...} called at /usr/lib/perl5/5.8.7/i686-linux/Scalar/Util.pm line 0

Then just sits there at this line:

Run Logs domain: domain.com BW Limit: 20971520000 Domains: []

And doesn't do anything?