Advertisements
Error:
vzctl enter 1022
enter into VE 1022 failed
Unable to open pty: No such file or directory
1. If it is a redhat based system such as centos,
The solution is
vzctl exec VEID /sbin/MAKEDEV pty
vzctl exec VEID /sbin/MAKEDEV tty
vzctl enter VEID
To fix this issue permanently
Edit the file /etc/rc.sysinit of the VPS
Comment the line
/sbin/start_udev to
#/sbin/start_udev
Add the following lines after /sbin/start_udev:
/sbin/MAKEDEV tty
/sbin/MAKEDEV pty
2. If it is a debian system
vzctl exec veid update-rc.d -f udev remove
vzctl restart veid
:) ..good one..it worked for me!!..could yu please explain it ??
ReplyDelete