When you try to enter the vps from the node, it gives the following error
root@amaziah [~]# vzctl enter VEID
enter into CT VEID failed
Unable to open pty: No such file or directory
To resolve this,
root@amaziah [~]#vzctl exec VEID /sbin/MAKEDEV pty
root@amaziah [~]#vzctl exec VEID /sbin/MAKEDEV tty
root@amaziah [~]#vzctl enter VEID
Now to fix the issue for permanently, in the VPS edit /etc/rc.sysinit
#vi /etc/rc.sysinit
comment the line /sbin/start_udev and add the following lines bellow that,
/sbin/MAKEDEV tty
/sbin/MAKEDEV pty
Now save the file. Then reboot the VPS.
root@amaziah [~]# vzctl restart VEID
:)
No comments:
Post a Comment