SUMMARY: Could not grant slave pty

From: Guy Freeman (
Date: Fri Nov 07 1997 - 08:42:16 CST

My Original Question:

> Hi,
> A few minutes ago, I could not log into one of our Enterprise 4000
> servers (solaris 2.5.1) from any other machine. The error message on
> the client machine was:
> [dmows09:/] rsh tmoas01
> rlogind: could not grant slave pty.
> Connection closed.
> [dmows09:/] telnet tmoas01
> telnet tmoas01
> Trying
> Connected to tmoas01.
> Escape character is '^]'.
> telnetd: could not grant slave pty.
> Connection closed by foreign host.
> [dmows09:/]
> A minute or too later, the error message was no longer displayed and
> I could log in fine.
> Has anyone seen this before?

All the responses were the same. Here is one for your perusal (from
Samir Arora):

Hi Guy,

Pty is pseudo terminal Driver.It's created when you logon into system
via network or by some other method.It must be reaching the limits on
your system on your second attempt some of the PTY's must have freed up.

You may have to increase the Number of PTY on your system.You can do
that by adding a line in /etc/system file

    set pts_count=128 (Default is 48).

You can check the pts on your system by giving command:

    ls -1 /dev/pts* | wc -l

Many Thanks to:
Mariel Feder
Glenn Satchell
Deepak D Wilson
Joel Lee
Kris Briscoe
Samir Arora
Michael Hill
Jason L Harrell
Scott L Sherrill

This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:08 CDT