Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 18
  1. #1
    Member
    Join Date
    Dec 2008
    Posts
    23

    Default Updating to CentOS 5.3

    What is the best way to do it and upgrade to the new kernel?

  2. #2
    Member
    Join Date
    Oct 2006
    Location
    Cheshire, UK
    Posts
    196

    Default

    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:

    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.
    BIND is restarting itself every few minutes too! Just tried to run a software update and UPCP crashed!

    WTF???
    Last edited by Infopro; 05-06-2009 at 06:04 AM.

  3. #3
    Member
    Join Date
    Oct 2006
    Location
    Cheshire, UK
    Posts
    196

    Default

    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!

  4. #4
    Member
    Join Date
    Sep 2003
    Posts
    165

    Default

    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

  5. #5
    Member
    Join Date
    Oct 2001
    Posts
    46

    Default

    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

  6. #6
    Member
    Join Date
    Nov 2004
    Posts
    39

    Default

    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

  7. #7
    Member
    Join Date
    Sep 2003
    Posts
    165

    Default

    What does your /etc/yum.conf say? It should already exclude perl etc.
    search is your friend!
    cPanel Specialist Certification::Technical

  8. #8
    Member
    Join Date
    Nov 2004
    Posts
    39

    Default

    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

  9. #9
    Member
    Join Date
    Sep 2003
    Posts
    165

    Default

    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

  10. #10
    Member
    Join Date
    Jul 2006
    Posts
    38

    Default

    Proper way to update centos with cpanel installed.

    yum update glibc\*

    yum update

  11. #11
    Member
    Join Date
    Dec 2008
    Posts
    23

    Default

    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.

  12. #12
    Member
    Join Date
    May 2007
    Posts
    104

    Default

    Quote Originally Posted by h0tmailz View Post
    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.
    I'm on RELEASE and it updated last night, seamlessly. So there ya go.

    It was so seamless, in fact, that I didn't know it happened till I noticed the change in WHM this morning while I was performing some routine work.

    Peace,
    Gene

  13. #13
    Member
    Join Date
    Mar 2004
    Posts
    9

    Default

    Mine won't update because

    Error: Missing Dependency: perl(Convert::ASN1) is needed by package samba
    Do I just go into WHM and go to install perl module and type in Convert::ASN1 --> search --> install?

    Also I have kernel excluded in yum updates, should I remove that and let it update?

  14. #14
    Member SigmaWeb's Avatar
    Join Date
    Sep 2006
    Posts
    16

    Default

    Quote Originally Posted by jmhost View Post
    Mine won't update because



    Do I just go into WHM and go to install perl module and type in Convert::ASN1 --> search --> install?

    Also I have kernel excluded in yum updates, should I remove that and let it update?
    There seem to be a problem with Convert::ASN1 when samba installed. Even if Convert::ASN1 is installed it keeps send this error message. Solution is to remove samba (no needed for hosting) and then run yum update. After that you CentOS will upgrade to 5.3

  15. #15
    Member
    Join Date
    Sep 2006
    Posts
    22

    Default

    Quote Originally Posted by jmhost View Post
    Mine won't update because



    Do I just go into WHM and go to install perl module and type in Convert::ASN1 --> search --> install?

    Also I have kernel excluded in yum updates, should I remove that and let it update?
    i have the same problem ?
    i try
    yum clean all && yum update glibc\* && yum update
    and didn't work ?
    can any one advice me how fix that
    thanks

Similar Threads & Tags
Similar threads

  1. question about updating centos after cpanel installation
    By LAZer in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 07-12-2010, 04:30 PM
  2. How do i upgrade from CENTOS Enterprise 4.4 to CENTOS 5?
    By grabyourhosting in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 05-04-2007, 06:21 AM
  3. CentOs 4.4 setup question (for centos users)
    By bsasninja in forum cPanel and WHM Discussions
    Replies: 11
    Last Post: 03-26-2007, 02:42 PM
  4. Problem after updating to CentOS 4.4 !
    By bsasninja in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 09-12-2006, 07:24 AM
  5. Updating CentOS Server
    By Shaya in forum New User Questions
    Replies: 6
    Last Post: 04-20-2006, 10:16 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube