Solved

telnetd: could not grant slave pty

Posted on 2004-03-31
7
2,010 Views
Last Modified: 2013-12-27
Sir,
We have Sun Solaris (Sun OS 5.6) E450 Server. When the user count ( #who | wc -l ) reaches to 185 then it is not allowing any more new Login and it will show the message "telnetd: could not grant slave pty". But I noticed that some times it will allow upto 189 connections.

Can you please suggest what is the reason and how to rectify this.

Thank You


0
Comment
Question by:Pramodpp
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 18

Expert Comment

by:liddler
ID: 10724247
you can increase the number of ptys, by setting the pt_cnt value in /etc/system and rebooting
0
 
LVL 1

Expert Comment

by:mdhmi
ID: 10725607

There are two relevant variables in /etc/system.

System V:
set pt_cnt = <num>

BSD Style tty:
set npty = <num>

If you change npty in /etc/system you will also need to replace the default pstl line in /etc/iu.ap (the '47' entry).

Mark
0
 

Author Comment

by:Pramodpp
ID: 10732579
Thanks for your comments.
But in our system pt_cnt is already set to 250.
One thing I noticed is some times it is allowing up to 190 to 191 users and some times it will start giving this error message when the user count reach to 185.
Waiting for your expert comments.... Thank You
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 1

Expert Comment

by:mdhmi
ID: 10734105

Please post the output of 'grep cnt /etc/system' in addition to the contents of your /etc/iu.ap file.  If you have changed any settings in /etc/system your box will need to be IPL'd.

Mark
0
 
LVL 18

Expert Comment

by:liddler
ID: 10736845
mdhmi - IPL'd ?? Don't bring that scary mainframe language here

 Pramodpp - it sounds like you are running out of some resource, maybe look at increasing the ulimit for root, as telnetd is run by root
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 11387580
PAQed - no points refunded (of 250)

modulo
Community Support Moderator
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Linux "time" command output redirection 16 228
spectrum scale snapshot  resotre/mount 1 35
Martian Packets Unix 5 74
Retreiving column names in Windows but not in Unix 11 76
This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question