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 version 2.4.20-20.7smp

Discussion in 'General Discussion' started by ThunderHostingDotCom, Dec 18, 2003.

  1. ThunderHostingDotCom

    ThunderHostingDotCom Well-Known Member

    Joined:
    Nov 18, 2002
    Messages:
    450
    Likes Received:
    1
    Trophy Points:
    16
    Location:
    All over!
    I am running a kernel version 2.4.20-20.7smp & I would like to update it to the new one that just came out. Below are the instructions I successfully used in the past but since I have upgraded to a dual CPU. Could someone tweak the below set of instructions for me so they will work on a dual CPU server setup? Thanks in advance for the help!

    Upgrade kernal
    1) Data to decide what kernal is: cat /etc/grub.conf & ls -la /boot
    2) up2date --nox -f kernel (then reboot the server)
    3) SSH in &...
    cd /
    wget http://updates.redhat.com/7.3/en/os/i386/kernel-2.4.20-18.7.i386.rpm
    rpm -i kernel-2.4.20-18.7.i386.rpm
    grub-install /dev/hda
    pico /etc/grub.conf
    change default=0 (single CPU)
    exit pico ctrl-x
    then reboot > shutdown -r now (Have someone look at the grub.conf before rebooting)
    uname -a to check kernel version
     
  2. haze

    haze Well-Known Member

    Joined:
    Dec 21, 2001
    Messages:
    1,550
    Likes Received:
    3
    Trophy Points:
    38
    Ok, I am assuming from your post, that you are running redhat 7.* and grub.

    Here is what you do:

    If you are running redhat 7.3:
    wget http://updates.cpanel.net/redhat/updates/7.3/en/os/i686/kernel-smp-2.4.20-24.7.i686.rpm

    ( you want the SMP kernel for 2+ processors )

    rpm -ivh kernel-smp-2.4.20-24.7.i686.rpm

    ( this will install the kernel, not removing your old one )

    pico -w /etc/grub.conf ensure the new kernel details are present. If not, carefully insert them yourself.
    Change default to = 0 to load the first kernel in the list on next boot up.

    ctrl x and save the changes

    Cross your fingers and reboot ( shutdown -rf now ). If the server fails to come back after about 5 minutes max, call the DC and get them to plug into console and try and trouble shoot the errors or just boot to the old kernel.

    When the server comes back, I always run /scripts/upcp to ensure all needed rpms are installed.
     
  3. ThunderHostingDotCom

    ThunderHostingDotCom Well-Known Member

    Joined:
    Nov 18, 2002
    Messages:
    450
    Likes Received:
    1
    Trophy Points:
    16
    Location:
    All over!
    Thank you!

     
Loading...

Share This Page