Unable to access the VPS via SSH? Are you getting the following error?
# vzctl enter 1022
enter into VE 1022 failed
Unable to open pty: No such file or directory
Fix:
# vzctl exec 1022 /sbin/MAKEDEV pty
# vzctl exec 1022 /sbin/MAKEDEV tty
# vzctl enter 1022
To Fix this issue permanently,
1. Edit the file /etc/rc.sysinit of the VPS server (Here VEID of the VPS server is 1022)
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 1022
Note: Do ensure that this is checked when you run yum/up2date on server.





