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.

  • 229 Users Found This Useful
Was this answer helpful?

Related Articles

HOW TO: Reset your root password for your OpenVZ VPS

Just go into Wyvern and click the Reset Password button. Keep in mind that this password is saved...

HOW TO: Fix the Arch Linux error

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

HOW TO: Access a NAT VPS via SSH

This is a quick guide on how to access your NAT'ed VPS via SSH over IPv4. Log into Wyvern for...

HOW TO: Setup a PPTP VPN in OpenVZ

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

HOW TO: Accessing the console (OpenVZ)

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

Powered by WHMCompleteSolution