phiber

Member
Mar 27, 2003
14
0
151
Stats are not being calculated like they should so I ran:
/scripts/runlogsnow to see what the problem might be:


Code:
(internal death) Fri Jun  2 20:08:35 2006 [19515] 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 62
        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]==> cPanel Log Daemon version 22.2
cPanel version: 120 stable (latest stable)

before that it had a problem with extracpus not being 0, which worked before 120/116.
Code:
[a fatal error or timeout occurred while processing this directive]==> WARNING: configured processor count does not match
 

phiber

Member
Mar 27, 2003
14
0
151
ok, updated perl to 5.8.7, but now when I run /scripts/runlogsnow:

Code:
/usr/bin/perl: relocation error: /usr/local/cpanel/3rdparty/lib/perl/auto/RRDs/RRDs.so: undefined symbol: Perl_Gthr_key_ptr
 

theuruguayan

Active Member
PartnerNOC
Jul 6, 2003
37
0
156
cd /usr/local/src/
wget http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/pub/rrdtool-1.0.x/rrdtool-1.0.49.tar.gz
tar -zxf rrdtool-1.0.49.tar.gz
cd rrdtool*
./configure
make
make install
make site-perl-install

mv /usr/local/cpanel/3rdparty/lib/perl/auto/RRDs/RRDs.so /usr/local/cpanel/3rdparty/lib/perl/auto/RRDs/RRDs.so.bk

cp /usr/local/src/rrdtool-1.0.49/perl-shared/blib/arch/auto/RRDs/RRDs.so /usr/local/cpanel/3rdparty/lib/perl/auto/RRDs/RRDs.so

mv /usr/local/cpanel/3rdparty/lib/perl/RRDs.pm /usr/local/cpanel/3rdparty/lib/perl/RRDs.pm.bk

cp /usr/local/src/rrdtool-1.0.49/perl-shared//RRDs.pm /usr/local/cpanel/3rdparty/lib/perl/RRDs.pm
 

xidica

Well-Known Member
Apr 21, 2005
63
0
156
Texas
moving isn't necessary

Moving the files as you've described isn't necessary if you provide the proper prefix options to configure for rrdtool, please note that the tarball should already be downloaded by cPanel, it's just the rrdtoolinstall script doesn't know how to untar it apparently :

/usr/local/cpanel/src/3rdparty/gpl
tar -xvzf rrdtool-1.0.49.tar.gz
cd rrdtool-1.0.49
./configure --prefix=/usr/local/cpanel/3rdparty --enable-shared
make
make install
make site-perl-install

cpanellogd should no longer error out as before.
 

bloggerman

Registered
May 13, 2006
3
0
151
theuruguayan said:
cd /usr/local/src/
wget http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/pub/rrdtool-1.0.x/rrdtool-1.0.49.tar.gz
tar -zxf rrdtool-1.0.49.tar.gz
cd rrdtool*
./configure
make
make install
make site-perl-install

mv /usr/local/cpanel/3rdparty/lib/perl/auto/RRDs/RRDs.so /usr/local/cpanel/3rdparty/lib/perl/auto/RRDs/RRDs.so.bk

cp /usr/local/src/rrdtool-1.0.49/perl-shared/blib/arch/auto/RRDs/RRDs.so /usr/local/cpanel/3rdparty/lib/perl/auto/RRDs/RRDs.so

mv /usr/local/cpanel/3rdparty/lib/perl/RRDs.pm /usr/local/cpanel/3rdparty/lib/perl/RRDs.pm.bk

cp /usr/local/src/rrdtool-1.0.49/perl-shared//RRDs.pm /usr/local/cpanel/3rdparty/lib/perl/RRDs.pm


Thanks for the help!