Hi,
this are my first steps with OpenVZ and I can't figure out why my VE isn't started.
OpenVZ should be installed correct:
tk@spike:~$ uname -r
2.6.18-openvz-13-1etch5-686
tk@spike:~$ lsmod | grep vz
vznetdev 16384 1
vzethdev 10152 0
vzrst 118964 0
ip_nat 17712 1 vzrst
vzcpt 95620 0
ip_conntrack 56224 3 vzrst,ip_nat,vzcpt
vzdquota 36212 1 [permanent]
vzmon 40328 4 vznetdev,vzethdev,vzrst,vzcpt
vzdev 3588 4 vznetdev,vzethdev,vzdquota,vzmon
ipv6 235680 27 vzrst,vzcpt,vzmon
I created a test VE...
tk@spike:~$ sudo vzctl create 1001 --ostemplate ubuntu-7.10-i386-minimal
Creating VPS private area: /var/lib/vz/private/1001
Performing postcreate actions
VPS private area was created
...and started it...
tk@spike:~$ sudo vzctl --verbose start 1001
Unable to open /usr/lib/vzctl/modules/: No such file or directory
Starting VPS ...
Running: /usr/sbin/vzquota stat 1001 -f
Running: /usr/sbin/vzquota off 1001
VPS is unmounted
Running: /usr/sbin/vzquota show 1001
Running: /usr/sbin/vzquota on 1001 -r 0 -b 1048676 -B 1153534 -i 200100 -I 220100 -e 0 -n 0 -s 0
Mounting root: /var/lib/vz/root/1001 /var/lib/vz/private/1001
VPS is mounted
Adding IP address(es): 192.168.10.10
Running: /usr/lib/vzctl/scripts/vps-net_add
Running VPS script: /etc/vz/dists/scripts/debian-add_ip.sh
Setting CPU units: 1000
Set hostname: openvztest
Running VPS script: /etc/vz/dists/scripts/debian-set_hostname.sh
Running VPS script: /etc/vz/dists/scripts/set_dns.sh
File resolv.conf was modified
Running: /usr/sbin/vzquota stat 1001 -f
Running: vzquota setlimit 1001 -b 1048576 -B 1153434 -i 200000 -I 220000 -e 0 -n 0
VPS start in progress...
...but nothing shows up
tk@spike:~$ sudo vzlist
VPS not found
The only hint is the 'Unable to open /usr/lib/vzctl/modules/: No such file or directory' line when starting the VE but the rest of the output looks like the VE is starting nevertheless. The directory indeed doesn't exist. What should be in it. Do I have to install another package? Currently I just have vzctl and vzquota.
Any hints appreciated
-Tim
[Updated on: Wed, 02 January 2008 14:41] by Moderator
Report message to a moderator