- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- unable to get pty
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
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
тАО05-25-2008 11:49 PM
тАО05-25-2008 11:49 PM
I connect to HP-UX server version 11.11 using XDMCP (Xmanager) and I got a terminal warning "unable to get pty" that prevent the prompt to be appeared and I can't run any command.
This case is recovered if I reboot the server and appears again after a few days.
This restart is not acceptable as the server in operation.
Please help.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2008 12:31 AM
тАО05-26-2008 12:31 AM
Solutioninsf -e
You may need to increase the number of terminal sessions available. The default is 60. nstrel in the kernel
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2008 12:40 AM
тАО05-26-2008 12:40 AM
Re: unable to get pty
Hello Steven,
Kindly tell me what should I do in details as I am new in Unix.
Your reply is highly appreciated.
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2008 12:57 AM
тАО05-26-2008 12:57 AM
Re: unable to get pty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2008 01:05 AM
тАО05-26-2008 01:05 AM
Re: unable to get pty
I assume restarting once to fix the kernel config is acceptable?
>ahsan: I think it's "nstrtel"
Yes. Though npty(5) and nstrpty(5) may also need to be increased.
>tell me what should I do in details
You need to go into SAM and go into the kernel configuration changes menu and change the above 3 variables to 120 or 200. (If they are currently 60.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2008 01:11 AM
тАО05-26-2008 01:11 AM
Re: unable to get pty
Dear All,
Thanks for your interest.
Whatever its nstrel or nstrtel, I don't know what I should do with it as I told you before I am new in Unix.
Please help me with more details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2008 01:31 AM
тАО05-26-2008 01:31 AM
Re: unable to get pty
Dear Dennis,
Thanks for your response.
How I go into SAM and also the kernel menu?
And how to change these values?
Please be patient as this is my first step in unix and face this problem.
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2008 03:05 AM
тАО05-26-2008 03:05 AM
Re: unable to get pty
2)type sam on prompt
#sam
3)terminal version sam window ill open
press enter to get in
4)select kernel configuration
and then select configurable parameters
4)select the kernel parameters by pressing space bar (one at a time)
5)after selecting each parameters that need to change (press TAB and select actions) then select modify tunable parameter and give required value
repeat this step for all three parameters and finally on action menu select the option process new kernel ...
it will ask you the confirmation for reboot
once you did this ur system will reboot with new kernel
Thanks !!
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2008 03:55 AM
тАО05-26-2008 03:55 AM
Re: unable to get pty
Dear johnsonpk ,
Thank you very very very much.
The reason of this problem that many people connect through XDMCP sessions to an application on the server but they incorrectly close the session so the sessions are still opened.
I set the 3 parameters to 120 so I expect that the problem return after a longer period.
Then I want to know a way to kill these sessions without the need to make reboot.
Again many thanks to you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2008 04:43 AM
тАО05-26-2008 04:43 AM
Re: unable to get pty
Do you have an example of a left-over session?
You might be able to use "who -u". For users with a very long time since active "activity" field, you can attempt to kill the process tree.
# UNIX95= ps -Hfu user-name
This will list all of the process trees for "user-name".
You might want to provide the "who -u" output along with the ps(1) output so we can verify what to do next. Please attach a .txt file. (I'm not sure the "retain format" box will work good enough.)