Monday, December 20, 2010

Enter into Container VEID failed

The VPS’es that have problems with connecting and entering,it tends to be a small problem either with tty/pty devices OR udev. You will be greeted with an error message while accessing a VPS from the host server:

enter failed
enter into Container VEID failed

either the pty/tty devices are missing OR having incorrect  permissions. You will have to create them on the container using the  MAKEDEV program which is use to create devices in /dev. The following  commands will have to be executed from the host server to create those  devices and restart the container:

vzctl exec VEID /sbin/MAKEDEV tty
vzctl exec VEID /sbin/MAKEDEV pty
vzctl restart VEID

If creating the devices doesn’t fix the issue, update the startup files and restart the container:

vzctl exec  VEID update-rc.d -f udev remove
vzctl restart VEID