- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- SSH_Getting do_exec_no_pty 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
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
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
11-20-2018 03:48 AM - edited 11-20-2018 04:17 AM
11-20-2018 03:48 AM - edited 11-20-2018 04:17 AM
SSH_Getting do_exec_no_pty error !
Team
We are getting this error do_exec_no_pty: command = date while establishing concurrent ssh connections from Linux to HP-UX . Initiated 30 concurrent sessions but established only 19 connections and 11 connections were failed with this error code error do_exec_no_pty: command = ***
This is FYI
- Linux OS info - RHEL 7.3
- HPUX : 11.31
- Password less ssh configured between these hosts
Please help me on this case .
Thanks
Bala.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2018 04:15 PM
11-21-2018 04:15 PM
Re: SSH_Getting do_exec_no_pty error !
There are two places to adjust the maximum number of pty device files that can be used.
First, check the two kernel parameters nstrpty and npty.
# kctune npty nstrtel nstrpty
Tunable Value Expression
npty 60 Default
nstrpty 60 Default
nstrtel 60 Default
These should be much larger than you will need in the future.
Set them all to 200, or more if you'll need more simultaneous connections in the future.
You can set all 3 on one line.
But it does require a reboot to complete the change.
# kctune -h npty=200 nstrtel=200 nstrpty=200 ==> Update the automatic 'backup' configuration first? y * The automatic 'backup' configuration has been updated. * Future operations will update the backup without prompting. * The requested changes have been saved, and will take effect at next boot. Tunable Value Expression npty (now) 60 Default (next boot) 200 200 nstrpty (now) 60 Default (next boot) 200 200 nstrtel (now) 60 Default (next boot) 200 200
After rebooting, you need to create the additional device files
Use insf to add the device files.
# insf -d pts -s 200
This will create the needed ptys device files for SSH.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2018 10:34 PM
11-21-2018 10:34 PM
Re: SSH_Getting do_exec_no_pty error !
It is possible that some of the pty devices are not released by some processes.
Increasing the terminal devices as suggested by Bill would be a possible workaround.
You could contact HPE if the workaround does not help and if you need more troubleshooting of the issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2018 11:34 PM
11-21-2018 11:34 PM
Re: SSH_Getting do_exec_no_pty error !
Thanks for your time and input on this case Bill .
Yes, we have increased these npty nstrtel nstrpty value to 2000 and after reboot additional pty device also added .
But , Still no luck . Getting same error
This is FYI
# kctune npty nstrtel nstrpty
Tunable Value Expression
npty 2000 2000
nstrpty 2000 2000
nstrtel 2000 2000