> CentOS > CentOS故障 >

Unable to open pty: No such file or directory的解决方法

运行命令 vzctl enter VEID,显示错误如下:
enter into VE VEID failed
Unable to open pty: No such file or directory

RedHat, CentOS, Fedora中解决方法如下:
# vzctl exec VEID /sbin/MAKEDEV pty
# vzctl exec VEID /sbin/MAKEDEV tty
#vzctl enter VEID

(责任编辑:IT)