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: 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: View your root password in Wyvern

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

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: 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...

Powered by WHMCompleteSolution