- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- rlogind: Out of ptys
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2007 12:21 PM
тАО12-17-2007 12:21 PM
rlogind: Out of ptys
We now not able to rlogin, telnet, or ssh it is giving below error messages...
rlogind: Out of ptys.
rlogin: connection closed.
Connected to server1.
Escape character is '^]'.
telnetd: All network ports in use.
Connection closed by foreign host.
ssh_exchange_identification: Connection closed by remote host
Any idea whats going on!!
Thanks
Girish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2007 11:31 PM
тАО12-17-2007 11:31 PM
Re: rlogind: Out of ptys
as it says all ports are in use.
do you have ptys entry in securetty(if it exist in linux).
Hope this help.
BR,
Kapil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2007 01:05 AM
тАО12-18-2007 01:05 AM
Re: rlogind: Out of ptys
In the older 2.4 serires of kernels, there was an upper limit as defined in the kernel configuration when compiled (see CONFIG_UNIX98_PTY_COUNT), but under the newer 2.6 series of kernels, it's fully dynamic (as far as I'm aware).
In any case, most distro's would have the limit up around the 2048 mark (or 256 at the very least).
So, how many logins are you expecting?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2007 01:09 AM
тАО12-18-2007 01:09 AM
Re: rlogind: Out of ptys
Check '/proc/sys/kernel/pty/max'. Also check what '/proc/sys/kernel/pty/nr'. This should be how many pty's are currently assigned.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2007 06:35 AM
тАО12-18-2007 06:35 AM
Re: rlogind: Out of ptys
Stuart,
Here is the output:
server1:~ # cat /proc/sys/kernel/pty/max
4096
server1:~ # cat /proc/sys/kernel/pty/nr
10
Usually we have around 80 users connecting to this server daily.
The issue was resolved after performing server reboot.
Ideally we did not wanted to reboot the server; but had to do it. We are still looking for the cause of the issue.
/var/log/messages reveals:
Dec 17 10:52:52 server1 res: pam_resmgr: tty is NULL
Dec 17 10:52:55 server1 -23: pam_resmgr: tty is NULL
Dec 17 10:52:56 server1 -23: pam_resmgr: tty is NULL
Dec 17 10:53:06 server1 su: (to nobody) root on none
Dec 17 10:53:06 server1 -23: pam_resmgr: tty is NULL
Dec 17 10:53:12 server1 su: (to nobody) root on none
Dec 17 10:53:18 server1 -23: pam_resmgr: tty is NULL
Dec 17 10:53:24 server1 -23: pam_resmgr: tty is NULL
Dec 17 10:53:26 server1 -23: pam_resmgr: tty is NULL
Any idea why!!
Thanks,
Girish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2007 12:40 PM
тАО12-18-2007 12:40 PM
Re: rlogind: Out of ptys
I'm guessing that you've got a small limit defined in '/etc/resmgr.conf' which is being used in the authentication process, limiting the number of simultaneous logins for a given user class or some such.