VPS issue : Unable to open pty: No such file or directory - Linux Views : 407
Tagged in : Linux
0 0
Send mail
When i tried to enter into my vps from my dedicated server using vzctl enter it produced Unable to open pty: No such file or directory


# vzctl enter 105
enter into VE 105 failed
Unable to open pty: No such file or directory


To slove this i have issued the following commands :

vzctl exec 105 /sbin/MAKEDEV pty
vzctl exec 105 /sbin/MAKEDEV tty


The above command resloved my issue (105 is my vps id).This is temporary solution.

The prementent solution is :


1)Login into vps
2)Edited the file /etc/rc.sysinit of the VPS
3) Comment the line
#/sbin/start_udev
4)Add the following lines in /etc/rc.sysinit :

/sbin/MAKEDEV tty
/sbin/MAKEDEV pty

5)Reboot the VPS

By Selva, On - 2009-11-13



    Login to add Comments .