OpenVZ Forum


Home » General » Support » OpenVZ kernel error
OpenVZ kernel error [message #36134] Sun, 24 May 2009 08:58 Go to next message
KrunoN is currently offline  KrunoN
Messages: 1
Registered: May 2009
Junior Member
Hello, I'm having a problem with every VPS hosted on the node. HyperVM is working fine but I can't start/stop/restart any VPS on the node. I'm getting an error:
Alert: no_kernel_support_for_openvz_check_if_right_kernel

It worked fine all the time til yesterday, I have no idea what went wrong.

Anyway, here is my /etc/grub.conf file.

#boot=/dev/sda
default=6
timeout=5
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-92.1.18.el5.028stab060.2PAE)
root (hd0,0)
kernel /boot/vmlinuz-2.6.18-92.1.18.el5.028stab060.2PAE ro root=/dev/sda 1
initrd /boot/initrd-2.6.18-92.1.18.el5.028stab060.2PAE.img
title CentOS (2.6.18-92.1.22.el5)
root (hd0,0)
kernel /boot/vmlinuz-2.6.18-92.1.22.el5 ro root=/dev/sda1
initrd /boot/initrd-2.6.18-92.1.22.el5.img
title CentOS (2.6.18-92.1.18.el5.028stab060.2)
root (hd0,0)
kernel /boot/vmlinuz-2.6.18-92.1.18.el5.028stab060.2 ro root=/dev/sda1
initrd /boot/initrd-2.6.18-92.1.18.el5.028stab060.2.img
title CentOS (2.6.18-92.1.13.el5.028stab059.6PAE)
root (hd0,0)
kernel /boot/vmlinuz-2.6.18-92.1.13.el5.028stab059.6PAE ro root=/dev/sda 1
initrd /boot/initrd-2.6.18-92.1.13.el5.028stab059.6PAE.img
title CentOS (2.6.18-92.1.18.el5)
root (hd0,0)
kernel /boot/vmlinuz-2.6.18-92.1.18.el5 ro root=/dev/sda1
initrd /boot/initrd-2.6.18-92.1.18.el5.img
title CentOS (2.6.18-92.1.13.el5.028stab059.6)
root (hd0,0)
kernel /boot/vmlinuz-2.6.18-92.1.13.el5.028stab059.6 ro root=/dev/sda1
initrd /boot/initrd-2.6.18-92.1.13.el5.028stab059.6.img
title CentOS (2.6.18-53.el5)
root (hd0,0)
kernel /boot/vmlinuz-2.6.18-53.el5 ro root=/dev/sda1
initrd /boot/initrd-2.6.18-53.el5.img

After I changed default=1 and the whole node went down after a reboot. I hope I can get some help here about how to configure grub.conf to get the node together with all VPSs up and running

Thanks
Best Regards
Re: OpenVZ kernel error [message #36137 is a reply to message #36134] Sun, 24 May 2009 13:05 Go to previous message
vijay_361 is currently offline  vijay_361
Messages: 7
Registered: May 2009
Location: india
Junior Member
default refers to which OS it should boot from grub.conf...

the default u set is 1 which is

title CentOS (2.6.18-92.1.22.el5)
root (hd0,0)
kernel /boot/vmlinuz-2.6.18-92.1.22.el5 ro root=/dev/sda1
initrd /boot/initrd-2.6.18-92.1.22.el5.img

This is not openvz supported kernel..

default 0 :refers to first title OS
default 1 :refers to second title OS
...........................

So set default to particular number......


or - else simple thing is When it asks for grub loading ..
press key to continue.......
press any key
Select the openvz kernel from the list and press enter or b....

for identifying openvz kernel it is having stab in the title
like:title CentOS (2.6.18-92.1.18.el5.028stab060.2


I think u r asking this only..


vijayan
Previous Topic: Spam protection
Next Topic: connection between two VE's
Goto Forum:
  


Current Time: Wed Nov 06 17:59:03 GMT 2024

Total time taken to generate the page: 0.04131 seconds