Unable to open pty: No such file or directory is a well know message when you try to enter the VPS from the hardwarenode 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 ptysearch and comment the line
vzctl exec VEID /sbin/MAKEDEV tty
vzctl enter VEID
vi /etc/rc.sysinit
/sbin/start_udev and add the following lines:
/sbin/MAKEDEV ttyLog out and reboot the container. Check this whenever you update your server.
/sbin/MAKEDEV pty
Tags:
