This issue comes with openvz nodes. After the creation of VE, we may face an issue like following,

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

Its solution is simple. Please do the following procedure

# 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
# rpm -e udev-095-14.9.el5 –nodeps

Now restart that VE ( here 101 ) enjoy.

Leave a Reply

Your email address will not be published. Required fields are marked *