VPS issue : Unable to open pty: No such file or directory

by Selva 2009-11-13 17:32:39

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

Tagged in:

1178
like
0
dislike
0
mail
flag

You must LOGIN to add comments