openvz not working - Unable to open /dev/vzctl [message #16051] |
Mon, 20 August 2007 16:50  |
Rick C
Messages: 6 Registered: August 2007 Location: Manchester, UK
|
Junior Member |

|
|
Hi there,
I am running openvz with hypervm and it was working fine, but now none of my vm`s are not working i can not access them, when i go to thier ip address`s i just get the servers root apache page.
I tried to start the vms via hypervm control panel but i get this error?
Failed to get Status from localhost. Server said: no_kernel_support_for_openvz_check_if_right_kernel
()
i have checked /etc/grub.conf and its set to default=0
also if i try to connect to the server via command access in hyper vm i get this error!
Unable to open /dev/vzctl: No such file or directory
Please check that vzdev kernel module is loaded and you have sufficient permissions to ac
cess the file.
I recon its a problem with openvz
any ideas please? It was fully working, i had 2 vps servers running one with cpanel and had sites resloved to it and another with centos base install on it? all working perfect.
kind regards,
Rick
[Updated on: Mon, 20 August 2007 16:50] Report message to a moderator
|
|
|
|
|
|
Re: openvz not working - Unable to open /dev/vzctl [message #16057 is a reply to message #16056] |
Mon, 20 August 2007 17:19   |
Rick C
Messages: 6 Registered: August 2007 Location: Manchester, UK
|
Junior Member |

|
|
grub.conf looks like this
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-8.1.8.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-8.1.8.el5 ro root=LABEL=/
initrd /initrd-2.6.18-8.1.8.el5.img
title CentOS (2.6.18-8.1.8.el5.028stab039.1)
root (hd0,0)
kernel /vmlinuz-2.6.18-8.1.8.el5.028stab039.1 ro root=LABEL=/
initrd /initrd-2.6.18-8.1.8.el5.028stab039.1.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
so needs to be
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
#title CentOS (2.6.18-8.1.8.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-8.1.8.el5 ro root=LABEL=/
initrd /initrd-2.6.18-8.1.8.el5.img
title CentOS (2.6.18-8.1.8.el5.028stab039.1)
root (hd0,0)
kernel /vmlinuz-2.6.18-8.1.8.el5.028stab039.1 ro root=LABEL=/
initrd /initrd-2.6.18-8.1.8.el5.028stab039.1.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
is that right? sorry am new to Vz
[Updated on: Mon, 20 August 2007 17:23] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
Re: openvz not working - Unable to open /dev/vzctl [message #46899 is a reply to message #46898] |
Sat, 23 June 2012 04:00  |
formatyk
Messages: 2 Registered: June 2012 Location: a
|
Junior Member |
|
|
not working .
default=0
timeout=1
title OpenVZ (2.6.18-308.el5.028stab099.3)
root (hd0,0)
kernel /boot/vmlinuz-2.6.18-308.el5.028stab099.3 root=/dev/sda1
initrd /boot/initrd-2.6.18-308.el5.028stab099.3.img
#title OpenVZ (2.6.18-274.18.1.el5.028stab098.1)
#kernel /boot/vmlinuz-2.6.18-274.18.1.el5.028stab098.1 root=/dev/sda1 ro sysfs.deprecated=1 selinux=0
#root (hd0,0)
#initrd /boot/initrd-2.6.18-274.18.1.el5.028stab098.1.img
#title OpenVZ (2.6.18-274.7.1.el5.028stab095.1)
#kernel /boot/vmlinuz-2.6.18-274.7.1.el5.028stab095.1 root=/dev/sda1 ro sysfs.deprecated=1 selinux=0
#root (hd0,0)
#initrd /boot/initrd-2.6.18-274.7.1.el5.028stab095.1.img
#title OpenVZ (2.6.18-274.3.1.el5.028stab094.3)
#kernel /boot/vmlinuz-2.6.18-274.3.1.el5.028stab094.3 root=/dev/sda1 ro sysfs.deprecated=1 selinux=0
#root (hd0,0)
#initrd /boot/initrd-2.6.18-274.3.1.el5.028stab094.3.img
#title CentOS (2.6.32-042stab039.2)
#kernel /boot/vmlinuz-2.6.32-042stab039.2 root=/dev/sda1 ro sysfs.deprecated=1
#root (hd0,0)
#initrd /boot/initrd-2.6.32-042stab039.2.img
#title linux centos5_64
#kernel /boot/bzImage-2.6.38.2-xxxx-grs-ipv6-64 root=/dev/sda1 ro
#root (hd0,0)
|
|
|