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

claven177

Well-Known Member
Sep 3, 2003
61
0
156
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
 

neutro

Well-Known Member
Apr 11, 2004
70
1
158
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 ?
 
Last edited:

claven177

Well-Known Member
Sep 3, 2003
61
0
156
Taipei
neutro said:
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 ?



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