"Server refused to allocate pty" on New LXC template(s)

NOTE: This seems to happen only on OpenVZ template(s) that's used on LXC, like Cenots 6 32-bit. All 64-bit LXC templates are now made for LXC so should not be this issue.

If you ever get "Server refused to allocate pty" while connecting with SSH to the container, try the following.

1. Login to our web panel
2. Click "NoVNC Console" and login as root
3. Then edit /etc/rc.sysinit and look for this line: /sbin/start_udev
Remove that line and restart the container and you might be good to go!

這篇文章有幫助嗎?

 列印本文

Also Read

How to setup OpenVPN on Ubuntu 14.04

Please see https://help.ubuntu.com/14.04/serverguide/openvpn.html

How to order Addons (extra rams/space/bandwidth)

1. Please login and go to to our client area products page2. Click "Active" button on the product...

How to add LAMP support to Ubuntu 14.0.4 64-bit on New OpenVZ

A LAMP (Linux, Apache, MySQL, PHP) stack is a common web stack used for hosting web content. This...

How to enable and setup RDP on Windows

NOTE: This is done on Windows 2012 DC R2 edition, other versions might be slightly different.1....

How to add Tun/TAP/PPP/Fuse support

NOTE: This is for new Openvz/LXC plans only. 1. You need to login to web panel and click the...