Base De Conhecimento & Downloads
A Base de Conhecimento fornece documentação escrita pela nossa equipe. Por favor selecione a categoria ou pesquise por questões.
Articles
PTY allocation request failed on channel 0
You may encounter this message when trying to connect with SSH to your VPS.
This can be caused by failed start of udev. Connection tries with 'ssh -T' go just a bit further past the error message still leaving you without working shell.
If you have problems correcting udev and want fast access via SSH you may do the following.
Add the following to /etc/rc.local:
rm -rf /dev/ptmx
mknod /dev/ptmx c 5 2
chmod 666 /dev/ptmx
umount /dev/pts
rm -rf /dev/pts
mkdir /dev/pts
mount /dev/pts
#/etc/init.d/sshd restart
Add to /etc/fstab the line:
none /dev/pts devpts defaults 0 0
Reboot the system.
This problem was originally encountered in a bit different context when booting Centos 6 SolusVM template with node0 kernel.
After switching to PyGrub that uses the kernel provided within the template (2.6.32-71.29.1.el6.x86_64) the problem is gone.
- © 2016-2024 JVMHost.com All rights are reserved.