Rss Feed
Tweeter button
Facebook button
Linkedin button
Digg button
Youtube button
2 Mar
2009
Posted in: Uncategorized
By    1 Comment

Unable to open pty: No such file or directory

Issue :

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

———————————

Solution 1:

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

Solution 2:

# vzctl exec  101 /sbin/MAKEDEV tty
# vzctl exec 101 /sbin/MAKEDEV pty
# vzctl enter 101

Now do the following, to find the udave package name as follows.

# rpm -qf /etc/udev/makedev.d/50-udev.nodes
udev-095-14.9.el5
#  rpm -e udev-095-14.9.el5 –nodeps

Restart VE

1 Comment

  • I bookmarked this site, Thank you for good job!

So, what do you think?