After running RHEL 4 alpha 4 for a few days with many rlogin/ssh sessions into the machine, I got [hjl@gnu hjl]$ ssh gnu-10 hjl@gnu-10's password: Warning: Remote host failed or refused to allocate a pseudo tty. It happens on both ia32 and EM64T.
It looks like a glibc bug. I got Aug 9 07:46:57 gnu-10 sshd[3684]: error: openpty: No such file or directory Aug 9 07:46:57 gnu-10 sshd[3684]: error: session_pty_req: session 0 alloc failed
It looks like a kernel bug: [pid 5879] open("/dev/ptmx", O_RDWR) = -1 EIO (Input/output error) [pid 5879] open("/dev/ptyp0", O_RDWR) = -1 ENXIO (No such device or address) [pid 5879] open("/dev/ptyp1", O_RDWR) = -1 ENXIO (No such device or address) [pid 5879] open("/dev/ptyp2", O_RDWR) = -1 ENXIO (No such device or address) [pid 5879] open("/dev/ptyp3", O_RDWR) = -1 ENXIO (No such device or address) [pid 5879] open("/dev/ptyp4", O_RDWR) = -1 ENXIO (No such device or address) [pid 5879] open("/dev/ptyp5", O_RDWR) = -1 ENXIO (No such device or address) [pid 5879] open("/dev/ptyp6", O_RDWR) = -1 ENXIO (No such device or address) [pid 5879] open("/dev/ptyp7", O_RDWR) = -1 ENXIO (No such device or address) [pid 5879] open("/dev/ptyp8", O_RDWR) = -1 ENXIO (No such device or address) [pid 5879] open("/dev/ptyp9", O_RDWR) = -1 ENXIO (No such device or address) [pid 5879] open("/dev/ptypa", O_RDWR) = -1 ENXIO (No such device or address) I saw it on 2.6.7-1.509 and 2.6.7-1.501.
[pid 5879] open("/dev/ptmx", O_RDWR) = -1 EIO (Input/output error) that leass you to think it's a kernel bug well... maybe maybe not I'm not convinced yet
bug 128154 has a more detailed analysis fwiw
*** This bug has been marked as a duplicate of 128154 ***
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.