Unable to open /dev/vzctl: No such file or directory error on Proxmox 2.0

  • Thread starter Thread starter phongtnit
  • Start date Start date
P

phongtnit

Guest
Hi,

I'm using Proxmox 2.0-54. When I created a CT, there was the below error. Please help me to fix it. Thanks a lot,

Code:
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.
TASK ERROR: command 'vzctl --skiplock create 100 --ostemplate /iso/template/cache/centos-5-standard_5.6-1_i386.tar.gz --private /iso/private/100' failed: exit code 5

Code:
root@s1:/# pveversion -v
pve-manager: 2.0-54 (pve-manager/2.0/4b59ea39)
running kernel: 2.6.32-5-amd64
proxmox-ve-2.6.32: 2.0-63
pve-kernel-2.6.32-10-pve: 2.6.32-63
lvm2: 2.02.88-2pve2
clvm: 2.02.88-2pve2
corosync-pve: 1.4.1-1
openais-pve: 1.1.4-2
libqb: 0.10.1-2
redhat-cluster-pve: 3.1.8-3
resource-agents-pve: 3.9.2-3
fence-agents-pve: 3.1.7-2
pve-cluster: 1.0-26
qemu-server: 2.0-33
pve-firmware: 1.0-15
libpve-common-perl: 1.0-23
libpve-access-control: 1.0-17
libpve-storage-perl: 2.0-16
vncterm: 1.0-2
vzctl: 3.0.30-2pve2
vzprocps: 2.0.11-2
vzquota: 3.0.12-3
pve-qemu-kvm: 1.0-8
ksm-control-daemon: 1.1-1
 
Last edited by a moderator:
Hi,

I'm using Proxmox 2.0-54. When I created a CT, there was the below error. Please help me to fix it. Thanks a lot,

Code:
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.
TASK ERROR: command 'vzctl --skiplock create 100 --ostemplate /iso/template/cache/centos-5-standard_5.6-1_i386.tar.gz --private /iso/private/100' failed: exit code 5

Code:
root@s1:/# pveversion -v
pve-manager: 2.0-54 (pve-manager/2.0/4b59ea39)
running kernel: 2.6.32-5-amd64
..[/QUOTE]

you do not run the Proxmox VE kernel, you have a Debian Kernel (2.6.32-5-amd64).
 
best was is to install from our iso image which you did not.

adapt your boot manager (grub2) to boot the proxmox kernel.
 
best was is to install from our iso image which you did not.

adapt your boot manager (grub2) to boot the proxmox kernel.

I installed Proxmox VE 2.0 from provision server of my hosting service. I'm a newbie with Proxmox.

Could you help me how to boot from proxmox kernel? Thanks a lot,
 
I suggest you ask the hosting provider as we do not know how they install the system.