LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Are kernel panics normal at reboot when servers been running for a long time? (https://www.linuxquestions.org/questions/linux-newbie-8/are-kernel-panics-normal-at-reboot-when-servers-been-running-for-a-long-time-760040/)

anon091 10-12-2009 03:13 PM

I wonder if I need to restart it one more time since it now has all the updates installed, maybe it was the old kernel still loaded which panicked when I restarted just that once after updating?

onebuck 10-12-2009 03:17 PM

Hi,

You need to update your bootloader possibly with the new kernel and configurations. If not then you will default to the old one.

anon091 10-12-2009 03:18 PM

Doesn't it do that automatically when I update the kernel with up2date? I thought it was supposed to but I don't know.

onebuck 10-12-2009 03:30 PM

Hi,

I'm not sure about RH. But I would make sure, it's easy to confirm to be safe.

anon091 10-12-2009 03:34 PM

How would I even know if it put the new version in there, or if its just the same old one?

Sorry, I've never done this before.

onebuck 10-12-2009 03:45 PM

Hi

Look at the '/boot/grub/menu.lst' or the '/etc/lilo.conf' whichever is being used. Or look at the time stamp for the files via the 'cli' with 'ls -l or ls -al' to get a long list;

Code:

~#ls -l /boot/grub/menu.lst
or
~#ls -l /etc/lilo.conf

Either of the above will show the time stamp for the bootloader conf.

Edit: You should take a look at some of the references that I linked earlier if you are going to be maintaining this rig.

anon091 10-12-2009 03:50 PM

I have the menu.lst which points to grub.conf that was updated this morning, so that must be it.

Here's what the file says, looks like it has two listed, does it boot them in order in the file, so the newer one is booted first?

default=1
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Red Hat Enterprise Linux ES (2.6.9-89.0.11.EL)
root (hd0,0)
kernel /vmlinuz-2.6.9-89.0.11.EL ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.9-89.0.11.EL.img
title Red Hat Enterprise Linux ES (2.6.9-89.0.11.ELsmp)
root (hd0,0)
kernel /vmlinuz-2.6.9-89.0.11.ELsmp ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.9-89.0.11.ELsmp.img
title Red Hat Enterprise Linux ES (2.6.9-78.0.13.ELsmp)
root (hd0,0)
kernel /vmlinuz-2.6.9-78.0.13.ELsmp ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.9-78.0.13.ELsmp.img
title Red Hat Enterprise Linux ES (2.6.9-78.0.13.EL)
root (hd0,0)
kernel /vmlinuz-2.6.9-78.0.13.EL ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.9-78.0.13.EL.img
title Red Hat Enterprise Linux ES (2.6.9-78.0.1.ELsmp)
root (hd0,0)
kernel /vmlinuz-2.6.9-78.0.1.ELsmp ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.9-78.0.1.ELsmp.img


All times are GMT -5. The time now is 06:09 AM.