VPS Hosting - Unable to open pty: No such file or directory

When you use vzctl to enter into the VPS from node and get following error than it is due to known problem with udev on OpenVz.

[root@server24 ~]# vzctl enter 220
enter into VE 220 failed
Unable to open pty: No such file or directory

Temporary fix for this problem:

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

Permanent fix for this problem:

i) Edit the file /etc/rc.sysinit of the VPS server

ii) Comment the line
#/sbin/start_udev

iii) Add the following lines after /sbin/start_udev:

/sbin/MAKEDEV tty
/sbin/MAKEDEV pty

iv) Reboot your VPS
vzctl restart VEID

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How To change NameServer Ip

The file that actually handles WHM > DNS Functions > Nameserver IPs area is at...

AppConfig is configured to disallow execution of apps that do not have ACLs defined – cPanel

If you see such an error while accessing any of the WHM Plugins, it is due to the recent changes...

Enable PPP

To enable PPP on your OpenVZ VPS: Log into SolusVM and Enable PPP. Reboot your VPS. Log into...

Initial cPanel WHM Setup

Step by Step Guide to Setup cPanel WHM 1) Login to root WHM (http://IPaddress:2086) 2) In the...

What is difference between Hyper-V and Virtuozzo

Hyper-V is true virtualization where the VPS operates as its own server, independently of the...

Powered by WHMCompleteSolution