Create VM using VZ

saadb

New Member
Aug 30, 2008
27
0
1
I am using proxmox v 1.5 and I can not create a VM
I get this error

/usr/bin/pvectl vzcreate 108 --disk 40 --ostemplate local:vztmpl/debian-5.0-vtigercrm_5.2.0.svn.13099-1_i386.tar.gz --rootpasswd $1$e0y9PeKN$XXXXXXXXXXXXXXXX --hostname crm.vm.geomega.com --nameserver 209.169.0.1 --searchdomain vm.geomega.com --onboot no --ipset 10.10.1.108 --swap 512 --mem 1024 --cpus 1
unable to create VE 108: command 'vzctl create 108 --ostemplate debian-5.0-vtigercrm_5.2.0.svn.13099-1_i386 --config pve.auto' failed with exit code 5:
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.

unable to apply VM settings - Transport endpoint is not connected
 
Last edited by a moderator:
Thank you for the reply
I have executed the following
apt-get update
apt-get upgrade && apt-get install proxmox-ve-2.6.32

Today, after your reply I performed the following:
apt-get update
apt-get upgrade && apt-get install proxmox-ve-2.6.24

pveversion -v produces the following

pve-manager: 1.5-9 (pve-manager/1.5/4728)
running kernel: 2.6.32-2-pve
proxmox-ve-2.6.24: 1.5-23
pve-kernel-2.6.32-2-pve: 2.6.32-7
pve-kernel-2.6.24-11-pve: 2.6.24-23
pve-kernel-2.6.24-8-pve: 2.6.24-16
qemu-server: 1.1-14
pve-firmware: 1.0-5
libpve-storage-perl: 1.0-13
vncterm: 0.9-2
vzctl: 3.0.23-1pve11
vzdump: 1.2-5
vzprocps: 2.0.11-1dso2
vzquota: 3.0.11-1
pve-qemu-kvm: 0.12.4-1

I still have the same error when I try to user openvz
I do see that pve-kernel-2.6.32-2-pve: 2.6.32-7 is still there

How do I not user 2.3.32?

Saad
 
How do I not use kernel 2.6.32?

You need to reboot the server in order to activate a new kernel (and select the correct kernel at the boot menu).

I would edit /boot/grub/menu.lst first and set "default" to the correct entry.
 
Thank you.
It works now, very slow though.
Will there be support for openvz in newer version(s)