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

vzctl exec VEID /sbin/MAKEDEV pty
vzctl exec VEID /sbin/MAKEDEV tty
vzctl enter VEID

完整修复方式:

1. 编辑 /etc/rc.sysinit

2. 控制行
#/sbin/start_udev

3. 添加 /sbin/start_udev:

/sbin/MAKEDEV tty
/sbin/MAKEDEV pty

4. 重新启动vps
vzctl restart VEID

vzctl exec veid update-rc.d -f udev remove
vzctl restart veid

感谢OpenVZ社区的帮助

anyShare分享到:

One thought on “OpenVZ container error: Unable to open pty: No such file or directory

Leave a reply

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> 

required