- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Problem with telnet (or me)
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
07-31-2001 11:51 PM
07-31-2001 11:51 PM
Problem with telnet (or me)
Iam not able to open more than four telnet sessions to one of my
HP server running HP-UX 10.20. In syslog file, the msg is as
Aug 1 09:41:09 infhp007 telnetd[22017]: Cannot allocate pty
The npty parameter is set to 328. While giving insf -e, the error
is as follows
insf: Installing special files for pseudo driver ptym
insf: group tty lookup failed: Invalid argument
insf: Installing special files for pseudo driver ptys
insf: group tty lookup failed: Bad file number
I just stopped the /usr/sbin/ptydaemon and when i tried to start
it now, its not getting started.
Can anyone help me on this regard?.
Thanks and Regards,
N.Harinath
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2001 11:56 PM
07-31-2001 11:56 PM
Re: Problem with telnet (or me)
#insf -n
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2001 12:23 AM
08-01-2001 12:23 AM
Re: Problem with telnet (or me)
Checked out with insf -n 60, but same thing continues.
Regards,
N.Harinath
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2001 12:42 AM
08-01-2001 12:42 AM
Re: Problem with telnet (or me)
If not ,adding the following to the file :
tty::10:
and try "insf" again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2001 01:21 AM
08-01-2001 01:21 AM
Re: Problem with telnet (or me)
Tried with tty entry in group file, but still the problem continues.
Regards,
N.Harinath
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2001 03:40 AM
08-01-2001 03:40 AM
Re: Problem with telnet (or me)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2001 08:20 AM
08-01-2001 08:20 AM
Re: Problem with telnet (or me)
If so, have you tried rebooting the system?
The error message definitely means that "tty" does not exist in /etc/group, although I'm not sure what damage that really would do -- the files seem to get created with group 0 in that case.
The general procedure to change the pseudo configs is as follows for 10.20 (however the default is 60, so that it's unlikely to have been changed in the kernel):
------
two types of pseudo ttys:
1. "regular"
2. streams-based
regular are used by telnet ;
streams-based are used by rlogin (and other r-utils)
To create regular:
1. bump 'npty' in kernel config (and reboot)
2. cd /dev
insf -d ptym -n N
(this creates /dev/ptyp0-N
and /dev/ptym/ptyp0-N
)
insf -d ptys -n N
(this creates /dev/ttyp0-N
and /dev/pty/ttyp0-N
)
To create streams-based:
1. bump 'nstrpty' in kernel config (and reboot)
2. cd /dev
insf -d ptm
(this creates the one file /dev/ptymx
)
insf -d pts -n N
(this creates /dev/pts/0-N
)
-----
What do the current files in /dev look like:
/dev/ptyp0-N
/dev/ptym/ptyp0-N
/dev/ttyp0-N
/dev/pty/ttyp0-N