"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!

Cette réponse était-elle pertinente?

 Imprimer cet article

Consultez aussi

My Ubuntu template cannot SSH as root

If you have Ubuntu on your OpenVZ/LXC plans and you cannot login as root via SSH, it is because...

How to setup OpenVPN on Ubuntu 14.04

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

How to reinstall your OS

1. Login to client area2. Go to your Active services you want to reinstall -> click View...

Difference between OpenVZ and LXC

OpenVZ OpenVZ is a Linux container solution. It was first released in 2005 by SWSoft, now known...

How fix Debian or Centos or Ubuntu console just black screen

If you have Debian or Centos or Ubuntu and when you go to NoVNC Console in web panel, you get...