Unable to open pty: No such file or directory
———————————-
Issue :
# vzctl enter 101
enter into VE 101 failed
Unable to open pty: No such file or directory
———————————
Solution :
# vzctl exec 101 /sbin/MAKEDEV tty
# vzctl exec 101 /sbin/MAKEDEV pty
# vzctl enter 101
Now do the following, to find the udave package name as follows.
# rpm -qf /etc/udev/makedev.d/50-udev.nodes
udev-095-14.9.el5
# rpm -e udev-095-14.9.el5 –nodeps
Restart VE
Praji's Blog
To Fix this issue permanently,
1. Edit the file /etc/rc.sysinit of the VPS server
2. Comment the line
#/sbin/start_udev
3. Add the following lines after /sbin/start_udev:
/sbin/MAKEDEV tty
/sbin/MAKEDEV pty
4. Reboot your VPS
vzctl restart VEID
Jon
December 7, 2008 at 12:09 am