- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- unable to get pty in hp - ux
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
08-20-2012 01:20 AM
08-20-2012 01:20 AM
Hi,
i am getting "unable to get pty" error while logging to the hpux server using vnc. I get this error only for non root users during vnc session (with gui).
It has 11.31 OS version.
Do i need to change any kernel setting ?
thanks in advance
regards,
tushar
Solved! Go to Solution.
- Tags:
- kernel parms
- VNC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2012 01:40 AM
08-20-2012 01:40 AM
Re: unable to get pty in HP-UX
Have you looked at npty(5)? I'm not sure if kcusage will tell you how close you are?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2012 02:42 AM
08-20-2012 02:42 AM
Re: unable to get pty in HP-UX
Hi Dennis,
Please see below findings.
[3] % kctune |grep -i npty
npty 1000 1000
[4] % kcusage |grep -i npty
npty 0 / 1000
[5] %
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2012 05:23 AM
08-20-2012 05:23 AM
Re: unable to get pty in HP-UX
There are actually 3 types of pty (pseudo terminal device files). Be sure to adjust nstrpty and nstrtel as well as npty. Rather than try to analyze which type of conection is being used, just make all 3 = 1000. You can use SAM so that the device files will be automatically created. Unfortunately, SMH dropped this very useful feature, so after adjusting the parameters to 1000, be sure to run insf to create the device files:
insf -e -n 1000 -p 1000 -s 1000
- Tags:
- insf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2012 05:39 AM
08-20-2012 05:39 AM
Re: unable to get pty in HP-UX
Hi leewilliam99,
As per you have suggested, i have set the entries of nspty,nstrpty and nstrtel to 1000. And while executing the command given by you for creating the device files, i got below error.
[5] % insf -e -n 1000 -p 1000 -s 1000
insf: Invalid range for autochanger cartridges -- 1000
usage: insf [-d driver | -C class] [-H hw_path] [-I instance] [-D dir] [-q|-v]
[-e] [-n npty] [-s nstrpty]
usage: insf [-v] -L
[6] %
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2012 06:40 AM
08-20-2012 06:40 AM
Re: unable to get pty in HP-UX
Oops, drop the -p option.
insf -e -n 1000 -s 1000
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2012 06:47 AM - edited 08-20-2012 06:48 AM
08-20-2012 06:47 AM - edited 08-20-2012 06:48 AM
Re: unable to get pty in HP-UX
still no luck...getting same error messages for non root user..
# kctune |grep -i npty
npty 1000 1000
# kctune |grep -i nstrpty
nstrpty 1000 1000
# kctune |grep -i nstrtel
nstrtel 1000 1000
# insf -e -n 1000 -s 1000
insf: Installing special files for pseudo driver ptym
insf: Installing special files for pseudo driver ptys
#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2012 12:11 PM
08-20-2012 12:11 PM
Re: unable to get pty in HP-UX
>getting same error messages for non root user.
Did you check the kcusage of the nstrpty and nstrtel to see if you need more than 1000?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2012 11:49 PM
08-20-2012 11:49 PM
Re: unable to get pty in HP-UX
Hi Dennis,
Below are the kusage for npty, nstrpty and nstrtel.
[6] % kcusage |grep npty
npty 0 / 1000
[7] % kcusage |grep nstrpty
nstrpty 1 / 1000
[8] % kcusage |grep nstrtel
nstrtel 0 / 1000
[9] %
Do i need to increase kcusage also using sam ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2012 12:09 AM - edited 08-21-2012 12:10 AM
08-21-2012 12:09 AM - edited 08-21-2012 12:10 AM
Re: unable to get pty in HP-UX
>Do I need to increase kcusage also using sam?
As leewilliam99 said, that would be easier if you were on 11.23.
But it does seem strange that you have "no" usage but you get that error.