OpenVZ Forum


Home » General » Support » Unable to open pty: No such file or directory
Re: Unable to open pty: No such file or directory [message #34134 is a reply to message #8974] Sun, 07 December 2008 01:21 Go to previous messageGo to previous message
vzadmin is currently offline  vzadmin
Messages: 10
Registered: December 2008
Junior Member

Error:
vzctl enter VEID
enter into VE VEID failed
Unable to open pty: No such file or directory

Here's the Fix:

vzctl exec VEID /sbin/MAKEDEV pty
vzctl exec VEID /sbin/MAKEDEV tty
vzctl enter VEID

To Fix this issue permanently:

1. Edit the file /etc/rc.sysinit of the VPS server

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 VEID


 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Network issues
Next Topic: Load Modules Inside a VE
Goto Forum:
  


Current Time: Sun Sep 21 10:51:02 GMT 2025

Total time taken to generate the page: 0.06214 seconds