First problem:
I have one out of several containers that recently began displaying the following error when trying to SSH:
Following some Google advice I did the following:
I've checked the logs and can't find anything too out of the ordinary.
This is the output of
Second (related) problem:
Same container when trying to access the console (in tty mode) via the Proxmox web interface does not have a display for extended periods of time. When I up the tty count to 6 (max) it works better.
The two problems appear to be related and happened unexpectedly after the node and containers were restarted. Other containers on the same node with the exact same parameters do not have this issue, so I think I've got it down to being a problem inside the LXC container. This is a production container...so I can't really migrate everyone off until I figure out exactly what the issue is.
I have one out of several containers that recently began displaying the following error when trying to SSH:
Code:
stdin: is not a tty
Following some Google advice I did the following:
Code:
root@node1:~# ssh {IP ADRESS} /bin/bash -i
root@{IP ADDRESS}'s password:
stdin: is not a tty
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell
stdin: is not a tty
I've checked the logs and can't find anything too out of the ordinary.
This is the output of
Code:
lsof /dev/pts/*
Code:
root@ct100 [~]# lsof /dev/pts/*
lsof /dev/pts/*
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
mingetty 1346 root 0u CHR 136,1 0t0 4 /dev/pts/1
mingetty 1346 root 1u CHR 136,1 0t0 4 /dev/pts/1
mingetty 1346 root 2u CHR 136,1 0t0 4 /dev/pts/1
mingetty 1348 root 0u CHR 136,2 0t0 5 /dev/pts/2
mingetty 1348 root 1u CHR 136,2 0t0 5 /dev/pts/2
mingetty 1348 root 2u CHR 136,2 0t0 5 /dev/pts/2
mingetty 1350 root 0u CHR 136,3 0t0 6 /dev/pts/3
mingetty 1350 root 1u CHR 136,3 0t0 6 /dev/pts/3
mingetty 1350 root 2u CHR 136,3 0t0 6 /dev/pts/3
mingetty 1352 root 0u CHR 136,4 0t0 7 /dev/pts/4
mingetty 1352 root 1u CHR 136,4 0t0 7 /dev/pts/4
mingetty 1352 root 2u CHR 136,4 0t0 7 /dev/pts/4
mingetty 1354 root 0u CHR 136,5 0t0 8 /dev/pts/5
mingetty 1354 root 1u CHR 136,5 0t0 8 /dev/pts/5
mingetty 1354 root 2u CHR 136,5 0t0 8 /dev/pts/5
bash 1396 root 0u CHR 136,1 0t0 4 /dev/pts/1
bash 1396 root 1u CHR 136,1 0t0 4 /dev/pts/1
bash 1396 root 2u CHR 136,1 0t0 4 /dev/pts/1
bash 1396 root 255u CHR 136,1 0t0 4 /dev/pts/1
bash 1444 root 0u CHR 136,0 0t0 3 /dev/pts/0
bash 1444 root 1u CHR 136,0 0t0 3 /dev/pts/0
bash 1444 root 2u CHR 136,0 0t0 3 /dev/pts/0
bash 1444 root 255u CHR 136,0 0t0 3 /dev/pts/0
bash 1535 root 0u CHR 136,4 0t0 7 /dev/pts/4
bash 1535 root 1u CHR 136,4 0t0 7 /dev/pts/4
bash 1535 root 2u CHR 136,4 0t0 7 /dev/pts/4
bash 1535 root 255u CHR 136,4 0t0 7 /dev/pts/4
bash 1738 root 0u CHR 136,4 0t0 7 /dev/pts/4
bash 1738 root 1u CHR 136,4 0t0 7 /dev/pts/4
bash 1738 root 2u CHR 136,4 0t0 7 /dev/pts/4
bash 1738 root 255u CHR 136,4 0t0 7 /dev/pts/4
bash 26339 root 0u CHR 136,1 0t0 4 /dev/pts/1
bash 26339 root 1u CHR 136,1 0t0 4 /dev/pts/1
bash 26339 root 2u CHR 136,1 0t0 4 /dev/pts/1
bash 26339 root 255u CHR 136,1 0t0 4 /dev/pts/1
Second (related) problem:
Same container when trying to access the console (in tty mode) via the Proxmox web interface does not have a display for extended periods of time. When I up the tty count to 6 (max) it works better.
The two problems appear to be related and happened unexpectedly after the node and containers were restarted. Other containers on the same node with the exact same parameters do not have this issue, so I think I've got it down to being a problem inside the LXC container. This is a production container...so I can't really migrate everyone off until I figure out exactly what the issue is.