OpenVZ Forum - RDF feed
type: channel
items: Running kernel is not OpenVZ kernel.
items: Re: Running kernel is not OpenVZ kernel.

Running kernel is not OpenVZ kernel.
type: item
description: 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!
creator: KyleC
date: 2007-12-14T15:41:11-00:00

Re: Running kernel is not OpenVZ kernel.
type: item
description: you have to actually reboot to a new (OpenVZ) kernel after you install it.
creator: kir
date: 2007-12-14T15:46:12-00:00

Re: Running kernel is not OpenVZ kernel.
type: item
description: ive rebooted 5-10 times... anthing else?
creator: KyleC
date: 2007-12-14T18:05:01-00:00

Re: Running kernel is not OpenVZ kernel.
type: item
description: Hello do you have read Configuring the bootloader http://wiki.openvz.org/Quick_installation
creator: powervps
date: 2007-12-14T18:31:56-00:00

Re: Running kernel is not OpenVZ kernel.
type: item
description: 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.
creator: KyleC
date: 2007-12-14T18:52:23-00:00

Re: Running kernel is not OpenVZ kernel.
type: item
description: 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?
creator: kir
date: 2007-12-14T22:14:47-00:00

Re: Running kernel is not OpenVZ kernel.
type: item
description: 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.
creator: KyleC
date: 2007-12-14T22:30:55-00:00

Re: Running kernel is not OpenVZ kernel.
type: item
description: 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.
creator: kir
date: 2007-12-14T22:39:58-00:00

Re: Running kernel is not OpenVZ kernel.
type: item
description: http://boxstr.com/files/341978_k95bl/Boot_error.png thats the error when i boot the kernel...
creator: KyleC
date: 2007-12-15T23:29:26-00:00

Re: Running kernel is not OpenVZ kernel.
type: item
description: You probably need to run fsck on your boot and/or root partition.
creator: kir
date: 2007-12-15T23:41:46-00:00

Re: Running kernel is not OpenVZ kernel.
type: item
description: weird thing is that it only happens with that kernel, i can bootup with the others, should i still run it?
creator: KyleC
date: 2007-12-15T23:43:12-00:00

Re: Running kernel is not OpenVZ kernel.
type: item
description: 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.
creator: kir
date: 2007-12-16T00:18:53-00:00

Re: Running kernel is not OpenVZ kernel.
type: item
description: it was clean... /boot was.. any other ideas
creator: KyleC
date: 2007-12-16T00:30:23-00:00

Re: Running kernel is not OpenVZ kernel.
type: item
description: 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).
creator: kir
date: 2007-12-16T00:38:58-00:00

Re: Running kernel is not OpenVZ kernel.
type: item
description: Any update? Did fsck -f revealed anything?
creator: kir
date: 2007-12-17T07:38:22-00:00

Re: Running kernel is not OpenVZ kernel.
type: item
description: 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...
creator: KyleC
date: 2007-12-17T16:08:45-00:00