did something happen again?
I have 3 cPanel servers and as of two days ago all stats have stopped...
help!!
did something happen again?
I have 3 cPanel servers and as of two days ago all stats have stopped...
help!!
How can we upgrade to perl 5.8.7 ?Originally Posted by chirpy
Hi
Go here and download cpanels custom version of perl (perl587installer.tar.gz )
http://layer1.cpanel.net/
untar and unzip it and run the install file, it will install the new version of perl (5.8.7).
then update cpanel (/scripts/upcp) to update all the perl modules.
cheers
Andy
stats still don't update here... i have the latest perl version (5.8.7.)
stats update fine if i use the scripts/runweblogs script. the stats should update every 24 hours and there's a green text in the whm saying that the server can keep up with the stats generation...
so why does it still not work![]()
I have same problem with new server, in cPanel accounts for every user show unlimited megabytes, and in whm, everyone have 0MB but, they have it, does anyone know how to fix this to show all stats in whm like it need to be.
Thanks
Originally Posted by cgarvey
Hm, your fix worked. I have perl 5.8.0. on CentOS 3.6 x86_64 (well Chirpy it seems you were right about x86_64 linux, but this seems the only issue I couldn't not solve).
I've been getting:
I've tried to install perl 5.8.7 but everytime it downgrades back to 5.8.0. Any ideas why?/scripts/runlogsnow
Resetting Logs for pef007...Done
(internal death) Sun Feb 12 22:11:25 2006 [7453] 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]==> cPanel Log Daemon version 22.2
==> Shared RRDTOOL support enabled
http://www.crohoster.com/
quality hosting services and managed dedicated servers
One notice - my stats didn't stop working. Everything was fine except I've been getting those perl error messages.
Stats are updating just fine.
http://www.crohoster.com/
quality hosting services and managed dedicated servers
I have perl 5.8.7 installed on my server. But in https://server.com:2087/cgi/statmanager.cgi
I see:
how can I fix it?The server is having trouble keeping up with your statistics processing schedule. You should increase the time between statistic generation, or upgrade the server. If you have recently decreased the time between statistic generation, you may wish to wait that amount of time to see if the server will catch up before changing back.
Show which users are behind
can you tell me step by step?
Also I have often my cppop failed, waht can it be? help please.
root@web-c-1 [/usr/lib/perl5/site_perl/5.8.7/i686-linux]# /scripts/runstatsonce
This script requires cPanel 6.4.2 Build 11+
==> WARNING: configured processor count does not match
==> actual processor count (2)! 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
==> Ignoring lastrun files and running all stats now
==> cpanellogd will exit after stats have run
After upgrading Perl on literally 500+ RHEL3 boxes, here is my fairly definite guide to ensure perl and it's modules are updated correctly :
Line 11 of /etc/inputrc will frequently the following error with /scripts/perlinstaller (or the perl CPAN install module) :
Warning [/etc/inputrc line 11]:
Invalid variable `mark-symlinked-directories'
Comment out the following entry in /etc/inputrc out :
set mark-symlinked-directories on
Now :
cd /root (or wherever has a little over 110MB of space free)
wget http://layer1.cpanel.net/perl587installer.tar.gz
tar -xvzf perl587installer.tar.gz
cd perl587installer/
./install
After this completes, for good measure :
/usr/local/cpanel/bin/checkperlmodules
perl -MCPAN -e shell
cpan> reload cpan
cpan> reload index
cpan> quit
After this, the obligatory upcp should finish it out...let me know if I've missed something.
Thanks xidica worked for me.
Thanks xidica, your post helped me too.