Could not obtain a free pseudo-TTY. Out of pseudo-TTYs. All pseudo-TTYs may be in use.
rlogind2 terminates.
Make sure that this master pseudo-TTY is defined correctly. The system looks for pseudo-TTYs starting at /dev/ptyp0000 and continues looking for pseudo-TTYs up through /dev/ptyp9999, in order. As soon as the system fails for one of these pseudo-TTYs, it looks no further.