Unable to open pty: No such file or directory

PDF
Unable to open pty: No such file or directory is a well know message when you try to enter the VPS from the hardware node using vzctl enter VEID. It is related to udev. To fix this issue edit the file /etc/rc.sysinit of the container:
vzctl exec VEID /sbin/MAKEDEV pty
vzctl exec VEID /sbin/MAKEDEV tty
vzctl enter VEID
vi /etc/rc.sysinit
search and comment the line /sbin/start_udev and add the following lines:
/sbin/MAKEDEV tty
/sbin/MAKEDEV pty
Log out and reboot the container. Check this whenever you update your server.
 

Search






You are here: Home Howtos and FAQs Virtualization Unable to open pty: No such file or directory