"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

How to resize/extend Windows or Linux disk space (LVM)

If you buy a plan with more than 15GB of disk space, the remaining space is empty and need to be...

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

How to use Debian 8 OpenVPN

If you selected this New OpenVZ template, you just need to SSH to your assigned IP and login as...

How setup OpenVPN on OpenVZ with Centos 6 64-bit template

This is only for New OpenVZ with Centos-6-OpenVPN-64-bit template. You can reinstall to this...

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