What is the best way to do it and upgrade to the new kernel?
What is the best way to do it and upgrade to the new kernel?
One of my servers has completely screwed thanks to CentOS 5.3!
Every few minutes, this is emailed to me:
/etc/cron.hourly/modsecparse.pl:
BIND is restarting itself every few minutes too! Just tried to run a software update and UPCP crashed!Code:Can't locate DBI.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /etc/cron.hourly/modsecparse.pl line 11. BEGIN failed--compilation aborted at /etc/cron.hourly/modsecparse.pl line 11.
WTF???
Last edited by Infopro; 05-06-2009 at 06:04 AM.
cPanel services not showing.
All CGI scripts failing, including cPanel scripts.
Server fails to reboot via cPanel - have to manually reboot it via the console.
Oh dear!![]()
Code:cd /usr/src; \ wget http://layer1.cpanel.net/perl588installer.tar.gz; \ tar -zxf perl588installer.tar.gz; \ cd perl588installer; \ ./install
search is your friend!
cPanel Specialist Certification::Technical
I fiixed my server with the same problem by using the following procedure (please reference this thread, and several others, for more info: http://forums.cpanel.net/showthread.php?t=112377). Login via ssh as "root" user, and then follow these steps:
1) Kill any upcp process that may still be running
2) /scripts/fixeverything
3) wget http://layer1.cpanel.net/perl588installer.tar.gz
4) tar xfvz perl588installer.tar.gz
5) cd perl588installer
6) ./install
7) /usr/local/cpanel/bin/checkperlmodules
8) /scripts/upcp --force
9) /etc/init.d/cpanel restart
Now, everything appears to be working! Hope it works for you too! Good luck!
Last edited by myce; 04-02-2009 at 11:31 PM.
Regards,
Myce
So, what is the best way to upgrade from CentOS 5.2 to 5.3 (with cPanel installed) -- avoiding avove Perl problems?? Upgrade Perl first and then run "yum update" ? If so, should the "exclude=..." entry in /yum.conf be marked out during the upgrade, or will that further screw the cPanel install?
John
What does your /etc/yum.conf say? It should already exclude perl etc.
search is your friend!
cPanel Specialist Certification::Technical
carluk, you misunderstood the question! Perl has to be upgraded ... but anyway, that was not the question.
Can anyone who upgraded to CentOS 5.3 a step-by-step here...?
John
Perl doesn't have to be updated although it depends on what you have installed for rpm dependencies and there are various ways around the issues. Hire a system admin to do the upgrade for you if you do not have the skills to do so yourself.
search is your friend!
cPanel Specialist Certification::Technical
Proper way to update centos with cpanel installed.
yum update glibc\*
yum update
hm, what build is everyone on? I'm running Current and my system automatically updated to 5.3 just need to figure out how to do the kernel without something screwing up.
Mine won't update because
Do I just go into WHM and go to install perl module and type in Convert::ASN1 --> search --> install?Error: Missing Dependency: perl(Convert::ASN1) is needed by package samba
Also I have kernel excluded in yum updates, should I remove that and let it update?