Enter into VE failed Unable to open pty: No such file or directory

If you face following error.
[root@Node ~]# vzctl enter 445
enter into VE 445 failed
Unable to open pty: No such file or directory

This is a well known problem with udev and openvz. A copy of /dev will fix it. You have to do it properly and check whether the dev exists or not. See, /dev/ptmx and /dev/ptyp0 both are missing on the vps. Please copy them from a working vps. Also add adding the following line to /etc/fstab of the vps.

none /dev/pts devpts rw 0 0