Changes

Jump to: navigation, search

Container enter failed

468 bytes added, 19:30, 30 September 2014
no edit summary
== Symptoms ==
<pre>
error: open pty: No such file or directory
</pre>
== Solutions ==
vzctl exec 101 /sbin/MAKEDEV tty
vzctl exec 101 /sbin/MAKEDEV pty
vzctl exec 101 mknod --mode=666 /dev/ptmx c 5 2
vzctl enter 101
vzctl exec $CTID apt-get remove udev
vzctl restart $CTID
 
=== Older Slackware ===
 
Check that /dev/pts is mounted under the container as a devpts filesystem:
 
vzctl exec VEID mount
 
If it is not, try this immediate fix:
 
vzctl exec VEID mount /dev/pts
 
You should now be able to enter the VPS. You will need to fix /etc/rc.d/rc.S and/or /etc/fstab to ensure that /dev/pts is mounted in the boot process.
 
== See also ==
1
edit

Navigation menu