- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- unable to get 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
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
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
01-02-2002 01:07 AM
01-02-2002 01:07 AM
I am new into HPUX Administration, 10.2. I am getting errors like "Unable to get pty". My kernel paramter nstrpty is 60. I want to increase the number of available ptys. Please guide me through the steps I need to take besides increasing the nstrpty. Is there any relation with npty parameter regarding my above said error. Any info/links are greatly welcome. Thanks in advance.
regards
Umapathy S
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2002 01:12 AM
01-02-2002 01:12 AM
Re: unable to get ptys
Have you increased your npty yet?
Hope this helps. Regards.
Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2002 01:16 AM
01-02-2002 01:16 AM
Re: unable to get ptys
regards
Umapathy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2002 01:19 AM
01-02-2002 01:19 AM
Re: unable to get ptys
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2002 01:21 AM
01-02-2002 01:21 AM
Re: unable to get ptys
Use glance/gpm to verify your current running system table values under "System Table Report".
Hope this helps. Regards.
Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2002 01:44 AM
01-02-2002 01:44 AM
Re: unable to get ptys
thanks for your valuable links. The second link was really helpful. I tried the solutions as per the first link. But I got the same problem again. I hope the second link suits my problem as my system uses stream based ptys and I get the error whenever the number of users of pts cross 60 which is also the value of the parameter NSTRPTY.
My question is Is there any other commands I need to run after increasing NSTRPTY or it just works fine with only increasing the value and rebooting the machine.
thanks and regards
Umapathy S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2002 01:46 AM
01-02-2002 01:46 AM
Re: unable to get ptys
thanks for your valuable links. The second link was really helpful. I tried the solutions as per the first link. But I got the same problem again. I hope the second link suits my problem as my system uses stream based ptys and I get the error whenever the number of users of pts cross 60 which is also the value of the parameter NSTRPTY.
My question is Is there any other commands I need to run after increasing NSTRPTY or it just works fine with only increasing the value and rebooting the machine.
thanks and regards
Umapathy S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2002 01:47 AM
01-02-2002 01:47 AM
SolutionNormally you should not be required to run any more commands after you have modified the kernel parameter, rebuilt the kernel and rebooted the system. However you can try and run "insf -e" after rebooting the system. This will manually create the device files including the pty files if they don't get created automatically.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2002 01:57 AM
01-02-2002 01:57 AM
Re: unable to get ptys
You can give this link a try if your problem is still unresolved,
http://us-support3.external.hp.com/cki/bin/doc.pl/sid=b9cda57816b0cbff86/screen=ckiDisplayDocument?docId=200000027709246
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2002 05:16 AM
01-02-2002 05:16 AM
Re: unable to get ptys
So the recommendation is to use SAM to make your kernel changes and make npty = nstrpty. In doing so, SAM will also create the additional device files. If you don't use SAM, you'll have to use insf to create the device files by hand as you'll still get an error even after the kernel is changed. See man insf, specifcally options -e and -n.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2002 06:12 AM
01-02-2002 06:12 AM
Re: unable to get ptys
regards
Umapathy S