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.

Kernel Update on centos 3.6

Discussion in 'General Discussion' started by TDD, Aug 29, 2006.

  1. TDD

    TDD Active Member

    Joined:
    Dec 21, 2002
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    I am trying to update kernel on centos 3.6 via yum and its stops saying this:-

    Gathering header information file(s) from server(s)
    Server: CentOS-3 - Addons
    Server: CentOS-3 - Base
    Server: CentOS-3 - Extras
    Server: CentOS-3 - Updates
    Finding updated packages
    Downloading needed headers
    Resolving dependencies
    ....Unable to satisfy dependencies
    Package squirrelmail needs php-mbstring, this is not available.

    How to fix this any idea ?

    Many Thanks
     
  2. networxhosting

    networxhosting Well-Known Member
    PartnerNOC

    Joined:
    Apr 22, 2003
    Messages:
    80
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Hamilton, Ontario, CANADA
    Kernel update

    What command did you run? Squirelmail is not a requirement of a new kernel.
     
  3. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Just remove the squirrelmail rpm, it's not used by cPanel:

    rpm -e squirrelmail

    Then upgrade to CentOS v3.8:

    yum update

    If you want to update your kernel, remember to remove kernel* from /etc/yum.conf exclude= line and then run yum update again.
     
  4. networxhosting

    networxhosting Well-Known Member
    PartnerNOC

    Joined:
    Apr 22, 2003
    Messages:
    80
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Hamilton, Ontario, CANADA
    Upgrading the house to fix the fridge?

    He only wanted to upgrade the kernel. Now you have him removing SquirrelMail.

    'yum update kernel' is the command to use.
     
  5. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Yes, because you should not be upgrading the kernel which was released in a later version of the OS into an old version of the OS.
     
  6. networxhosting

    networxhosting Well-Known Member
    PartnerNOC

    Joined:
    Apr 22, 2003
    Messages:
    80
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Hamilton, Ontario, CANADA
    Maybe but 3.8 is not really new release. 4.0 was the new release. 3.8 is a repackage with updates already applied. There is nothing that has changes between 3.6 and 3.8 which would prevent him from just upgrading the kernel.
     
  7. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    No, v4 is effectively a different OS. It's always sensible to maintain the OS and to keep it up to date no matter what, and advising against it is silly. Anyway, you're your argument is specious at best and detracting fro the OP.
     
    #7 chirpy, Aug 29, 2006
    Last edited: Aug 29, 2006
  8. cooldude7273

    cooldude7273 Well-Known Member

    Joined:
    Jan 11, 2004
    Messages:
    363
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Roswell, GA
    Ahhhh... the simplicity of Fedora...
     
  9. TDD

    TDD Active Member

    Joined:
    Dec 21, 2002
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    <<rpm -e squirrelmail>> did the trick!

    THanks Chripy!

    OS got updated to centos 3.8 and then kernel 2.4.21-47.EL got installed however on reboot it was still old kernel (Entries in /etc/grub.conf were correct)

    If I wish to upgrade to centos 4.x - how should I do it? Fill in centos 4.x mirrors in yum.conf?

    Thanks
     
  10. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    No. You could end up with an unbootable system. The recommended way (by CentOS) to go from 3 to 4 is to actually start again, i.e. backup data, wipe the OS, install v4 and then restore. You can upgrade from v3 to v4, but there are various pitfalls.
     
  11. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    it can be done but I would not recomend it I have done it successfully twice and once it bombed and had to wipe data and start from scratch (they were not production serverss)

    http://forums.cpanel.net/showpost.php?p=249053&postcount=43
     
Loading...

Share This Page