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.

  • 234 Users Found This Useful
這篇文章有幫助嗎?

相關文章

HOW TO: Fix the Arch Linux locale.sh error

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

HOW TO: Use NAT/Masquerading

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

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