- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- SSH pty allocation error
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
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
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
тАО04-18-2007 04:27 AM
тАО04-18-2007 04:27 AM
SSH pty allocation error
We can get a secure X session but receive the following when attempting to use Putty:
sshd[231]: error: openpty: Bad file number
sshd[231]: error: session_pty_req: session 0 alloc failed
Anybody have any ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-18-2007 04:31 AM
тАО04-18-2007 04:31 AM
Re: SSH pty allocation error
You may need to increse the value of npty and nstrpty, regen the kernel and reboot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-18-2007 04:35 AM
тАО04-18-2007 04:35 AM
Re: SSH pty allocation error
nstrpty 60 - 60
We currently only have about four users accessing the system so I don't think we are running out of sessions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-18-2007 04:59 AM
тАО04-18-2007 04:59 AM
Re: SSH pty allocation error
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=994275
But this doesn't appear to be the problem:
npty 80 - 80
# ps -ef | grep pty | wc -l
2
# ls /dev/pts | egrep -i '^[0-9]' | wc -w
60
# ps -ef | grep pts | wc -l
1
# fuser -u /dev/ptmx
/dev/ptmx:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-18-2007 06:31 AM
тАО04-18-2007 06:31 AM
Re: SSH pty allocation error
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=985446
~hope it helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-18-2007 06:34 AM
тАО04-18-2007 06:34 AM
Re: SSH pty allocation error
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 4096 0 4096 0% 0 - 1 /dev/vg00/lvol2
dev 8192 0 8192 0% 0 - 0 /dev/vg00/swap2vol
reserve - 6108 -6108
memory 11625 3423 8202 29%
total 23913 9531 14382 40% - 0 -
Don't think that's the problem either.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-18-2007 09:05 AM
тАО04-18-2007 09:05 AM