HOW TO: Resolve "Unable to open pty: No such file or directory" issue.

Unable to open pty: No such file or directory

This error is a rare, but annoyingly found in some OpenVZ OS Templates. The resolution is to reboot your VPS through Wyvern until you are able to successfully login (may take multiple times) and then add the following code to the last lines of your /etc/rc.local file:

/sbin/MAKEDEV tty

/sbin/MAKEDEV pty

It is best to make sure that MAKEDEV is installed on your VPS prior to adding this code or it will do nothing. If you are unable to login to your VPS after multiple reboots, please open a ticket and we can assist you with this error.

Was this answer helpful?

 Print this Article

Also Read

HOW TO: View your root password in Wyvern

1) Login to the Client Area and navigate to Wyvern...

HOW TO: Accessing the console (OpenVZ)

In the Wyvern Console tab, you'll see the following information: IP Address Port Username...

HOW TO: Use NAT/Masquerading

Use the following command: iptables -t nat -A POSTROUTING -j SNAT --to-source YOURVPSIP Replace...

HOW TO: Fix the Arch Linux error

If you receive the following error when trying to update your Arch Linux install: error:...

HOW TO: Setup a PPTP VPN in OpenVZ

Re-install you OS with our Debian 7 32bit PPTPD template in Wyvern Change localip in...

Powered by WHMCompleteSolution