How to fix “Unable to open pty: No such file or directory” error in OpenVZ
September 11th, 2008
Categories: Hot Tips
For some odd reason, one of the VPS’s on my OpenVZ Virtual Server sometimes looses the /dev/pty device files – I don’t know why, but it happens.
So, a quick fix, is to run the following commands, as root, on the main host node.:
In my case, the VPS’s ID is 1001.
So, the command I have to run is
This will then re-create the /dev/pty device, and the VPS will work again
Leave a comment
| Trackback
