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.

downgraded the kernel to 2.6.9-5 ? (step-by-step)

Discussion in 'General Discussion' started by claven177, Jun 10, 2006.

  1. claven177

    claven177 Well-Known Member

    Joined:
    Sep 3, 2003
    Messages:
    61
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Taipei
    On one of my cPanel/WHM servers I have a huge problem with PHP. Multiple times a day, the serverload is going to 45.00 / 50.00.

    Some body told me downgraded the kernel to 2.6.9-5, all of problems maybe fixed.

    But how to downgraded the kernel to 2.6.9-5 ? (step-by-step)

    My Kernel current version: 2.6.9-22.EL
     
  2. neutro

    neutro Well-Known Member

    Joined:
    Apr 11, 2004
    Messages:
    70
    Likes Received:
    0
    Trophy Points:
    6
    change /boot/grub.conf to

    # grub.conf generated by anaconda
    #
    # Note that you do not have to rerun grub after making changes to this file
    # NOTICE: You have a /boot partition. This means that
    # all kernel and initrd paths are relative to /boot/, eg.
    # root (hd0,0)
    # kernel /vmlinuz-version ro root=/dev/hda7
    # initrd /initrd-version.img
    #boot=/dev/hda
    default=0
    timeout=5
    splashimage=(hd0,0)/grub/splash.xpm.gz
    hiddenmenu


    default=1
    which is the earlier kernel 2.6.9-5

    and reboot yr server

    or update your kernel to the latest 2.6.9-34 ?
     
    #2 neutro, Jun 10, 2006
    Last edited: Jun 10, 2006
  3. claven177

    claven177 Well-Known Member

    Joined:
    Sep 3, 2003
    Messages:
    61
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Taipei



    Thanks

    You mean change the default=0 to default=1 and reboot my server
    I will got the kernel 2.6.9-5


    pico /etc/grub.conf

    Code:
    # grub.conf generated by anaconda
    #
    # Note that you do not have to rerun grub after making changes to this file
    # NOTICE:  You have a /boot partition.  This means that
    #          all kernel and initrd paths are relative to /boot/, eg.
    #          root (hd0,0)
    #          kernel /vmlinuz-version ro root=/dev/hda5
    #          initrd /initrd-version.img
    #boot=/dev/hda
    default=0
    timeout=5
    splashimage=(hd0,0)/grub/splash.xpm.gz
    hiddenmenu
    title Red Hat Enterprise Linux ES (2.6.9-22.EL)
            root (hd0,0)
            kernel /vmlinuz-2.6.9-22.EL ro root=/dev/hda5
            initrd /initrd-2.6.9-22.EL.img
     
Loading...

Share This Page