|
|
|
|
Re: enter into VE 101 failed [message #21438 is a reply to message #21404] |
Tue, 09 October 2007 09:15 |
alasad
Messages: 5 Registered: October 2007
|
Junior Member |
|
|
maratrus wrote on Mon, 08 October 2007 04:47 | Hi,
please, show the output of the following commands:
1. uname -a
2. cat /proc/user_beancounters
3. cat /proc/mounts
Thank you!
|
[root@host /]# uname -a
Linux host.system-nt.com 2.6.18-8.1.8.el5.028stab039.1PAE #1 SMP Mon Jul 23 20:45:26 MSD 2007 i686 i686 i386 GNU/Linux
[root@host /]# cat /proc/user_beancounters
Version: 2.5
uid resource held maxheld barrier limit failcnt
101: kmemsize 10703479 23648999 88921292 97813421 0
lockedpages 0 0 4341 4341 0
privvmpages 130322 215733 621679 683846 0
shmpages 860 8833 62167 62167 0
dummy 0 0 0 0 0
numproc 87 221 4000 4000 0
physpages 76189 153602 0 2147483647 0
vmguarpages 0 0 621679 2147483647 0
oomguarpages 76190 153603 621679 2147483647 0
numtcpsock 40 102 4000 4000 0
numflock 9 103 1000 1100 0
numpty 1 2 400 400 0
numsiginfo 0 65 1024 1024 0
tcpsndbuf 398008 1234272 13256431 29640431 0
tcprcvbuf 655360 1657020 13256431 29640431 0
othersockbuf 30604 1220648 6628215 23012215 0
dgramrcvbuf 0 13416 6628215 6628215 0
numothersock 27 76 4000 4000 0
dcachesize 2479239 2651283 19416233 19998720 0
numfile 2378 6107 34720 34720 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
numiptent 41 41 200 200 0
102: kmemsize 10125083 22279715 88921292 97813421 0
lockedpages 0 8 4341 4341 0
privvmpages 124629 649992 621679 683846 0
shmpages 220 1389 62167 62167 0
dummy 0 0 0 0 0
numproc 83 227 4000 4000 0
physpages 71477 178367 0 2147483647 0
vmguarpages 0 0 621679 2147483647 0
oomguarpages 71478 178368 621679 2147483647 0
numtcpsock 38 181 4000 4000 0
numflock 9 37 1000 1100 0
numpty 0 3 400 400 0
numsiginfo 0 65 1024 1024 0
tcpsndbuf 529932 2206932 13256431 29640431 0
tcprcvbuf 622592 1809760 13256431 29640431 0
othersockbuf 30604 1196072 6628215 23012215 0
dgramrcvbuf 0 175740 6628215 6628215 0
numothersock 24 82 4000 4000 0
dcachesize 2455344 2571633 19416233 19998720 0
numfile 2083 3920 34720 34720 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
numiptent 41 42 200 200 0
0: kmemsize 27573930 48383404 2147483647 2147483647 0
lockedpages 1075 1076 2147483647 2147483647 0
privvmpages 243165 466253 2147483647 2147483647 0
shmpages 890 9210 2147483647 2147483647 0
dummy 0 0 2147483647 2147483647 0
numproc 322 697 2147483647 2147483647 0
physpages 167746 375211 2147483647 2147483647 0
vmguarpages 0 0 2147483647 2147483647 0
oomguarpages 167777 375242 2147483647 2147483647 0
numtcpsock 115 395 2147483647 2147483647 0
numflock 13 72 2147483647 2147483647 0
numpty 1 4 2147483647 2147483647 0
numsiginfo 1 130 2147483647 2147483647 0
tcpsndbuf 2884252 17624152 2147483647 2147483647 0
tcprcvbuf 1884160 7690472 2147483647 2147483647 0
othersockbuf 156428 2547788 2147483647 2147483647 0
dgramrcvbuf 0 92660 2147483647 2147483647 0
numothersock 183 318 2147483647 2147483647 0
dcachesize 1865799 6768983 2147483647 2147483647 0
numfile 8596 13407 2147483647 2147483647 0
dummy 0 0 2147483647 2147483647 0
dummy 0 0 2147483647 2147483647 0
dummy 0 0 2147483647 2147483647 0
numiptent 267 291 2147483647 2147483647 0
[root@host /]# cat /proc/mounts
/dev/root / ext3 rw,data=ordered,usrquota 0 0
/dev /dev tmpfs rw 0 0
/proc /proc proc rw 0 0
/sys /sys sysfs rw 0 0
/proc/bus/usb /proc/bus/usb usbfs rw 0 0
devpts /dev/pts devpts rw 0 0
/dev/sda1 /boot ext3 rw,data=ordered 0 0
tmpfs /dev/shm tmpfs rw 0 0
/dev/sda7 /home ext3 rw,data=ordered,usrquota 0 0
/dev/sda8 /tmp ext3 rw,nosuid,noexec,data=ordered 0 0
/dev/sda3 /usr ext3 rw,data=ordered,usrquota 0 0
/dev/sda2 /var ext3 rw,data=ordered,usrquota 0 0
/dev/sdb1 /backup ext3 rw,data=ordered 0 0
/dev/sdb2 /vz ext3 rw,data=ordered 0 0
none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0
/dev/sda8 /var/tmp ext3 rw,nosuid,noexec,data=ordered 0 0
sunrpc /var/lib/nfs/rpc_pipefs rpc_pipefs rw 0 0
/etc/auto.misc /misc autofs rw,fd=6,pgrp=8343,timeout=300,minproto=5,maxproto=5,indirect 0 0
-hosts /net autofs rw,fd=11,pgrp=8343,timeout=300,minproto=5,maxproto=5,indirect 0 0
/vz/private/102 /vz/root/102 simfs rw 0 0
/proc /vz/root/102/proc proc rw 0 0
/sys /vz/root/102/sys sysfs rw 0 0
none /vz/root/102/dev tmpfs rw 0 0
none /vz/root/102/dev/pts devpts rw 0 0
/vz/private/102 (deleted)\040/vz/root/102/var/tmp simfs rw,nosuid,noexec 0 0
/vz/private/101 /vz/root/101 simfs rw 0 0
/proc /vz/root/101/proc proc rw 0 0
/sys /vz/root/101/sys sysfs rw 0 0
none /vz/root/101/dev tmpfs rw 0 0
none /vz/root/101/dev/pts devpts rw 0 0
/vz/private/101 (deleted)\040/vz/root/101/var/tmp simfs rw,nosuid,noexec 0 0
|
|
|
Re: enter into VE 101 failed [message #21453 is a reply to message #21309] |
Tue, 09 October 2007 11:12 |
piavlo
Messages: 159 Registered: January 2007
|
Senior Member |
|
|
The following will fix the problem(only until next VE start if you use udev)
vzctl exec 101 MAKEDEV ptys0
If you are using udev inside the VE, you might want to move to static /dev/ instide VE. Or you can make udev to use a precreated
tar ball of static devices first and then add it's own dynamically.
[Updated on: Tue, 09 October 2007 11:18] Report message to a moderator
|
|
|
|
Re: enter into VE 101 failed [message #29411 is a reply to message #21453] |
Sat, 12 April 2008 09:45 |
|
SoftDux
Messages: 55 Registered: November 2007 Location: Johannesburg, South Afric...
|
Member |
|
|
piavlo wrote on Tue, 09 October 2007 13:12 | The following will fix the problem(only until next VE start if you use udev)
vzctl exec 101 MAKEDEV ptys0
If you are using udev inside the VE, you might want to move to static /dev/ instide VE. Or you can make udev to use a precreated
tar ball of static devices first and then add it's own dynamically.
|
Hi
I'm having the same problem, but your suggestion doesn't work for me:
[root@gandalf ~]# vzctl exec 1001 MAKEDEV ptys0
[root@gandalf ~]# vzctl restart 1001
Restarting VE
Stopping VE ...
VE was stopped
VE is unmounted
Starting VE ...
VE is mounted
Setting CPU units: 1000
Configure meminfo: 256000
File resolv.conf was modified
VE start in progress...
[root@gandalf ~]# vzctl enter 1001
enter into VE 1001 failed
Unable to open pty: No such file or directory
Here's the other relevant info:
[root@gandalf ~]# uname -a
Linux 2.6.18-53.1.13.el5.028stab053.10 #1 SMP Tue Apr 1 14:58:47 MSD 2008 i686 i686 i386 GNU/Linux
[root@gandalf ~]# cat /proc/user_beancounters
Version: 2.5
uid resource held maxheld barrier limit failcnt
1001: kmemsize 4366099 5305437 11055923 11377049 0
lockedpages 0 0 256 256 0
privvmpages 84995 96096 256000 262140 0
shmpages 16 672 21504 21504 0
dummy 0 0 0 0 0
numproc 67 83 240 240 0
physpages 40897 47793 0 2147483647 0
vmguarpages 0 0 131072 2147483647 0
oomguarpages 40897 47793 26112 2147483647 0
numtcpsock 29 32 360 360 0
numflock 9 14 188 206 0
numpty 0 0 16 16 0
numsiginfo 0 23 256 256 0
tcpsndbuf 205712 224248 1720320 2703360 0
tcprcvbuf 212992 225844 1720320 2703360 0
othersockbuf 37312 44720 1126080 2097152 0
dgramrcvbuf 0 21232 262144 262144 0
numothersock 29 35 360 360 0
dcachesize 0 0 3409920 3624960 0
numfile 1717 1968 9312 9312 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
numiptent 102 128 128 128 9
123: kmemsize 5960825 10095496 25505024 25505024 0
lockedpages 0 0 32 32 0
privvmpages 133986 168152 262144 524288 0
shmpages 95 96 8192 8192 0
dummy 0 0 0 0 0
numproc 81 138 465 465 0
physpages 82445 113572 0 2147483647 0
vmguarpages 0 0 262144 2147483647 0
oomguarpages 82449 113575 131072 2147483647 0
numtcpsock 34 68 160 160 0
numflock 9 19 100 110 0
numpty 0 1 16 16 0
numsiginfo 0 7 256 256 0
tcpsndbuf 8296 404904 406900 409600 42
tcprcvbuf 0 117320 406900 409600 0
othersockbuf 41784 140672 132096 336896 87547
dgramrcvbuf 0 15756 132096 336896 0
numothersock 35 69 80 80 0
dcachesize 0 0 3293184 3293184 0
numfile 2314 3017 8192 8192 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
numiptent 33 33 128 128 0
0: kmemsize 12667091 16810793 2147483647 2147483647 0
lockedpages 0 0 2147483647 2147483647 0
privvmpages 174493 250775 2147483647 2147483647 0
shmpages 3903 4032 2147483647 2147483647 0
dummy 0 0 2147483647 2147483647 0
numproc 203 263 2147483647 2147483647 0
physpages 78235 105286 2147483647 2147483647 0
vmguarpages 0 0 2147483647 2147483647 0
oomguarpages 78411 105286 2147483647 2147483647 0
numtcpsock 54 88 2147483647 2147483647 0
numflock 9 18 2147483647 2147483647 0
numpty 2 3 2147483647 2147483647 0
numsiginfo 1 6 2147483647 2147483647 0
tcpsndbuf 606968 1257032 2147483647 2147483647 0
tcprcvbuf 884736 1828212 2147483647 2147483647 0
othersockbuf 146176 810104 2147483647 2147483647 0
dgramrcvbuf 0 426624 2147483647 2147483647 0
numothersock 137 160 2147483647 2147483647 0
dcachesize 0 0 2147483647 2147483647 0
numfile 7275 8643 2147483647 2147483647 0
dummy 0 0 2147483647 2147483647 0
dummy 0 0 2147483647 2147483647 0
dummy 0 0 2147483647 2147483647 0
numiptent 226 234 2147483647 2147483647 0
[root@gandalf ~]# cat /proc/mounts
/dev/root / ext3 rw,data=ordered,usrquota 0 0
/dev /dev tmpfs rw 0 0
/proc /proc proc rw 0 0
/sys /sys sysfs rw 0 0
/proc/bus/usb /proc/bus/usb usbfs rw 0 0
devpts /dev/pts devpts rw 0 0
/dev/sda1 /boot ext3 rw,data=ordered 0 0
tmpfs /dev/shm tmpfs rw 0 0
/dev/sdb1 /vz ext3 rw,data=ordered 0 0
none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0
/dev/loop0 /tmp ext3 rw,nosuid,noexec,data=ordered 0 0
/dev/loop0 /var/tmp ext3 rw,nosuid,noexec,data=ordered 0 0
/proc /var/named/chroot/proc proc rw 0 0
/dev/root /var/named/chroot/var/run/dbus ext3 rw,data=ordered,usrquota 0 0
sunrpc /var/lib/nfs/rpc_pipefs rpc_pipefs rw 0 0
/etc/auto.misc /misc autofs rw,fd=6,pgrp=6974,timeout=300,minproto=5,maxproto=5,indirect 0 0
-hosts /net autofs rw,fd=11,pgrp=6974,timeout=300,minproto=5,maxproto=5,indirect 0 0
/vz/private/123 /vz/root/123 simfs rw 0 0
/proc /vz/root/123/proc proc rw 0 0
/sys /vz/root/123/sys sysfs rw 0 0
none /vz/root/123/dev tmpfs rw 0 0
none /vz/root/123/dev/pts devpts rw 0 0
/vz/private/123 /vz/root/123/var/tmp simfs rw,nosuid,noexec 0 0
/vz/private/1001 /vz/root/1001 simfs rw 0 0
/proc /vz/root/1001/proc proc rw 0 0
/sys /vz/root/1001/sys sysfs rw 0 0
none /vz/root/1001/dev tmpfs rw 0 0
none /vz/root/1001/dev/pts devpts rw 0 0
/vz/private/1001 (deleted)\040/vz/root/1001/var/tmp simfs rw,nosuid,noexec 0 0
P.S. I can enter the 123 VE without a problem
|
|
|
|
|
|
|
|
|
|
|
Re: enter into VE 101 failed [message #40473 is a reply to message #21309] |
Sat, 21 August 2010 19:40 |
narcisgarcia
Messages: 41 Registered: May 2009
|
Member |
|
|
These instructions have solved me the same problem in different situations and different host/container versions:
sudo vzctl start 101
sudo vzctl exec 101 "cd /dev; /sbin/MAKEDEV pty"
sudo vzctl exec 101 "cd /dev; /sbin/MAKEDEV tty"
sudo vzctl exec 101 "update-rc.d -f udev remove"
sudo vzctl stop 101
sudo vzctl start 101
Narcis Garcia
|
|
|