The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Updating to CentOS 5.3

Discussion in 'General Discussion' started by h0tmailz, Apr 2, 2009.

  1. h0tmailz

    h0tmailz Member

    Joined:
    Dec 5, 2008
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    What is the best way to do it and upgrade to the new kernel?
     
  2. DReade83

    DReade83 Well-Known Member

    Joined:
    Oct 20, 2006
    Messages:
    196
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Cheshire, UK
    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???
     
    #2 DReade83, Apr 2, 2009
    Last edited by a moderator: May 6, 2009
  3. DReade83

    DReade83 Well-Known Member

    Joined:
    Oct 20, 2006
    Messages:
    196
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Cheshire, UK
    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! :confused:
     
  4. carluk

    carluk Well-Known Member

    Joined:
    Sep 2, 2003
    Messages:
    162
    Likes Received:
    0
    Trophy Points:
    16
    Code:
    cd /usr/src; \
    wget http://layer1.cpanel.net/perl588installer.tar.gz; \
    tar -zxf perl588installer.tar.gz; \
    cd perl588installer; \
    ./install
    
     
  5. myce

    myce Well-Known Member

    Joined:
    Oct 24, 2001
    Messages:
    46
    Likes Received:
    0
    Trophy Points:
    6
    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!
     
    #5 myce, Apr 2, 2009
    Last edited: Apr 2, 2009
  6. basic

    basic Active Member

    Joined:
    Nov 10, 2004
    Messages:
    41
    Likes Received:
    0
    Trophy Points:
    6
    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. carluk

    carluk Well-Known Member

    Joined:
    Sep 2, 2003
    Messages:
    162
    Likes Received:
    0
    Trophy Points:
    16
    What does your /etc/yum.conf say? It should already exclude perl etc.
     
  8. basic

    basic Active Member

    Joined:
    Nov 10, 2004
    Messages:
    41
    Likes Received:
    0
    Trophy Points:
    6
    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. carluk

    carluk Well-Known Member

    Joined:
    Sep 2, 2003
    Messages:
    162
    Likes Received:
    0
    Trophy Points:
    16
    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.
     
  10. chopperb

    chopperb Active Member

    Joined:
    Jul 23, 2006
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    Proper way to update centos with cpanel installed.

    yum update glibc\*

    yum update
     
  11. h0tmailz

    h0tmailz Member

    Joined:
    Dec 5, 2008
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    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. Gene Steinberg

    Gene Steinberg Well-Known Member

    Joined:
    May 26, 2007
    Messages:
    157
    Likes Received:
    1
    Trophy Points:
    18
    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. jmhost

    jmhost Member

    Joined:
    Mar 18, 2004
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    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?
     
  14. SigmaWeb

    SigmaWeb Active Member
    PartnerNOC

    Joined:
    Sep 26, 2006
    Messages:
    28
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    Athens - Greece
    cPanel Access Level:
    Root Administrator
    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. mnmhm2004

    mnmhm2004 Member

    Joined:
    Sep 26, 2006
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    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
     
  16. asiams

    asiams Well-Known Member

    Joined:
    May 28, 2003
    Messages:
    89
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Hokkaido, JAPAN
    from Centos 4.7 to Centos 5.3

    I am currently running the following:

    cPanel 11.24.4-C35075 - WHM 11.24.2 - X 3.9
    CENTOS 4.7 i686 standard on server24

    Can I update to centos 5.3 with the suggested process mentioned in this thread?

    Thanks.

    asiams
     
  17. DWHS.net

    DWHS.net Well-Known Member
    PartnerNOC

    Joined:
    Jul 28, 2002
    Messages:
    1,569
    Likes Received:
    6
    Trophy Points:
    38
    Location:
    LA, Costa RIca
    cPanel Access Level:
    Root Administrator
    Me too, I was wondering if anyone successfully upgraded the centos kernel 4.7 to 5.3 and how? I have full access to the server and access to it via a live terminal.
     
  18. PbG

    PbG Well-Known Member

    Joined:
    Mar 11, 2003
    Messages:
    241
    Likes Received:
    0
    Trophy Points:
    16
    Thank you.

     
Loading...

Share This Page