I just got a new server up on centos 5 64bit and installed and i keep getting this everytime i start vz Running kernel is not OpenVZ kernel. here is some info from the server [root@localhost grub]# service vz start Running kernel is not OpenVZ kernel. [FAILED] [root@localhost grub]# stat /dev/vzctl stat: cannot stat `/dev/vzctl': No such file or directory [root@localhost grub]# uname -a Linux localhost.localdomain 2.6.18-53.1.4.el5 #1 SMP Fri Nov 30 00:45:55 EST 2007 x86_64 x86_64 x86_64 GNU/Linux [root@localhost grub]# Basically i have installed kernel from .rpm and from source rpm and its still givin me the error.. heres menu.lst #boot=/dev/mapper/isw_caiacbehai_Volume0 default=0 timeout=5 splashimage=(hd0,0)/grub/splash.xpm.gz hiddenmenu title CentOS (2.6.18-53.el5.028stab051.1) root (hd0,0) kernel /vmlinuz-2.6.18-53.el5.028stab051.1 ro root=LABEL=/ initrd /initrd-2.6.18-53.el5.028stab051.1.img title CentOS (2.6.18-53.1.4.el5) root (hd0,0) kernel /vmlinuz-2.6.18-53.1.4.el5 ro root=LABEL=/ initrd /initrd-2.6.18-53.1.4.el5.img title CentOS (2.6.18-8.el5) root (hd0,0) kernel /vmlinuz-2.6.18-8.el5 ro root=LABEL=/ initrd /initrd-2.6.18-8.el5.img [root@localhost grub]# I have worked on this for the longest time and i dont know why its doing this, any ideas guys? thanks!
Re: Running kernel is not OpenVZ kernel.
you have to actually reboot to a new (OpenVZ) kernel after you install it.
ive rebooted 5-10 times... anthing else?
Hello do you have read Configuring the bootloader http://wiki.openvz.org/Quick_installation
yes i have. I already have openvz running on another server with the same exact kernel and menu.lst and its running no problem.... and yes i installed and went off the quick start guide? what am i missing instead of telling me to read the manual i have done the steps over and over 3 or 4 times... and it just wont work.
Well, OK. Are you sure your bootloader on this box is indeed GRUB? Can you remove 'hiddenmenu' line from the menu.lst and check if you see the menu when you reboot, that it conforms to what you have in menu.lst, and that you boot openvz kernel?
i cant, its in a datacenter.. but i know for a fact that it wont boot openvz kernel for some damn reason, ive installed and reinstalled and even went back to earlier kernels.. can someone maybe provide me with a link with what kernel and rpms i shold get to get this thing working? its just really irritating me because my other boxes are working just fine but this one isnt.
the problem is not in kernel and rpms, the problem is (apparently) in the bootloader. Can you try reinstall grub bootloader code, something like grub-install /dev/sda SUBSTITUTE /dev/sda with whatever your boot drive is.
http://boxstr.com/files/341978_k95bl/Boot_error.png thats the error when i boot the kernel...
You probably need to run fsck on your boot and/or root partition.
weird thing is that it only happens with that kernel, i can bootup with the others, should i still run it?
Again. This is NOT a problem with that particular kernel, this is a problem with a bootloader caused by the fact your filesystem has errors. Just run fsck. Quote: should i still run it? You said you run it fine on other boxes. Thousands people run it. But I'm definitely not forcing you to run it (or any other thing), just trying to help you with your problem.
it was clean... /boot was.. any other ideas
No, "clean" just means that fsck thinks there's no need to check the FS. So you run fsck with -f flag (don't forget to unmount it first).
Any update? Did fsck -f revealed anything?
Figured out that the raid 1 wasnt working correctly with linux so it was writing inconsistant changes to the drives. After spending 16 hours i found that out. Thanks for all the pointers...