Praji’s Weblog

Welcome to praji’s world

Unable to open pty: No such file or directory

with one comment

———————————-
Issue :

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

———————————
Solution :

# 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

Advertisements

Written by praji

September 30, 2008 at 3:05 am

One Response

Subscribe to comments with RSS.

  1. 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

    Jon

    December 7, 2008 at 12:09 am


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: