"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 install from ISO (New KVM)

This is only for our New KVM based VPS, there are 2 different New KVM plans, click here for KVM...

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 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 access Web Panel or VNC Console from Client Area (New KVM/OpenV/LXC)

NOTE: - If problems, use other web browser or try Private Window on your browser. - If you get...

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