LxCenter HyperVM & Kloxo Support

Forum



Members   Search      Help    Register    Login    Home
Home » LxCenter » Contributed HOWTOs » Unable to open pty: No such file or directory
Unable to open pty: No such file or directory [message #50518] Mon, 15 December 2008 01:15
lxadmin is currently offline lxadmin  India
Messages: 4
Registered: December 2008
Member
Problem:

root@support [~]# vzctl enter VEID
enter into VE VEID failed
Unable to open pty: No such file or directory


Solution:

root@support [~]# vzctl exec VEID /sbin/MAKEDEV pty
root@support [~]# vzctl exec VEID /sbin/MAKEDEV tty
root@support [~]# 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
root@support [~]# vzctl restart VEID

You'd be all good Smile

Similar thread : http://forum.lxlabs.com/index.php?t=msg&&th=1651& ;goto=49285#msg_49285


Previous Topic:Automatization of security updates in Redhat/Centos/Fedora
Next Topic:Xen based vps, not ping
Goto Forum:
  


Current Time: Mon May 20 11:23:32 EDT 2013

Total time taken to generate the page: 0.01038 seconds
.:: Contact :: Home :: Privacy ::.

Click here to lend your support to: LxCenter and make a donation at www.pledgie.com !

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software