OpenVZ Forum


Home » General » Support » Problem using vzctl to create new VE
Problem using vzctl to create new VE [message #30604] Thu, 29 May 2008 22:16 Go to next message
raskar is currently offline  raskar
Messages: 6
Registered: May 2008
Location: FRANCE
Junior Member
Hi,
I'm just install openVZ in a Debian 4.0 32 bits.
I configured GRUB and my server run under openVZ kernel (with base of Debian).
This is rhe result of uname -a:

Linux gazzel 2.6.18-12-fza-686 #1 SMP Sun May 18 12:30:42 CEST 2008 i686 GNU/Linux

When I'm trying to create a new VE with the following command, I have this error:

Command:
vzctl create 101 --ostemplate debian-4.0-i386-minimal --config vps.basic

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 access the file.

I see the same error on the forum but the kernel wasn't loaded, but for me it is.

Somebody can help me ?
Re: Problem using vzctl to create new VE [message #30606 is a reply to message #30604] Thu, 29 May 2008 22:34 Go to previous messageGo to next message
curx
Messages: 739
Registered: February 2006
Location: Nürnberg, Germany
Senior Member

OpenVZ is started, please check :

# /etc/init.d/vz status

Re: Problem using vzctl to create new VE [message #30625 is a reply to message #30604] Fri, 30 May 2008 11:48 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

As asked by vzctl, check that vzdev is loaded:

/sbin/lsmod | grep vzdev


Next, check that there is /dev/vzctl file:

ls -l /dev/vzctl


Report your results here Smile


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: Problem using vzctl to create new VE [message #30678 is a reply to message #30604] Mon, 02 June 2008 21:27 Go to previous message
aldesha989 is currently offline  aldesha989
Messages: 2
Registered: June 2008
Location: Egypt
Junior Member
yum remove ovzkernel  
yum install ovzkernel  
nano /etc/grub.conf  
default=0 
shutdown -r now 
/sbin/service vz start  
yum install vzpkg vzyum vzrpm43-python vzrpm44-python vzctl-lib
vzctl create 1 --ostemplate centos-4-i386-minimal  
Previous Topic: [solved] /proc/net/tcp is empty or unable to open
Next Topic: VE start failed
Goto Forum:
  


Current Time: Fri May 03 16:28:07 GMT 2024

Total time taken to generate the page: 0.01682 seconds