- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Telnet connection
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-08-2001 09:54 PM
07-08-2001 09:54 PM
Telnet connection
Hi Admins
I have a D class server. It is allowing only 40 telnet connections at a time. I wanted to increase to 50 numbers. I checked the kernel configurable parameter, here npty is 300 and nstrpty is 60.
What modification I should do to meet my requirement?
Is it possible without a reboot?
What is exactly npty and nstrpty?
Tanks in advance
Shahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2001 10:15 PM
07-08-2001 10:15 PM
Re: Telnet connection
Shahul,
You have to increase the parameter nstrtel which gives the Number of Telnet Session Device Files .
A goo description of kernel parameters can be found at:
http://docs.hp.com/cgi-bin/otsearch/getfile?id=/hpux/onlinedocs/os/11i/kcparams/KCparams.OverviewAll.html&searchterms=descriptionb%7ckernel%7cparameters&queryid=20010708-231335
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2001 10:17 PM
07-08-2001 10:17 PM
Re: Telnet connection
Try increasing your number of nptys.
this is done by using the insf program.
Seeing you have the npty set to 300 in
your kernel you should be able to do
this without a reboot.
# cd /dev
# insf -n 300
npty basically stands for "pseudo tty's"
or "pseudo terminals"
Have a look at the man page for 'insf'
for further info.
HTH
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2001 10:17 PM
07-08-2001 10:17 PM
Re: Telnet connection
Have you checked the nstrtel param ?
nstrtel 60 60 Static N/A Number o
f Telnet Session Device Files
Rgds
Alexander M. Ermes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2001 10:31 PM
07-08-2001 10:31 PM
Re: Telnet connection
Hi
In my system There is no nstrtel parameter in configurable kernel parameters. Or where it is set ?
Shahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2001 10:47 PM
07-08-2001 10:47 PM
Re: Telnet connection
What O/S do you have?
Did you also try
# insf -s 300 (for nstrpty)
The below is for HP-UX 11.
There are two ways of adding nstrtel to
your kernel. You can do this with SAM or
you can do it from the command line. Doing
this will require a reboot either way.
SAM --> kernel configuration -->
configurable parameters --> nstrtel
Change it from the default value which is 60
and then save. Regenerate your kernel and the
system will reboot.
or command line
# cd /stand/build
# /usr/lbin/sysadm/system_prep -s system
# vi system
add line nstrtel 300 under the line npty
save the file.
# mk_kernel -s system
# kmupdate
Reboot your system, this will install the
next kernel automatically.
HTH
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2001 11:35 PM
07-08-2001 11:35 PM
Re: Telnet connection
sam-->kernel configuration-->configurable parameters-->nstrtel
increase the nstrtel parameters to your desired number and reboot. without reboot the kernel wouldn't be configued for that nstrtel parameter.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2001 01:09 AM
07-09-2001 01:09 AM
Re: Telnet connection
nstrpty defines the maximum number of streams-based PTYs allowed on the system.
Acceptable Values:
Minimum
0
Maximum
Memory limited
Default
0
npty
npty specifies the maximum number of pseudo-tty data structures that are available on the system.
Acceptable Values:
Minimum
1
Maximum
Memory limited
Default
60
nstrtel
nstrtel specifies the number of telnet device files that the kernel can support for incoming telnet sessions.
Acceptable Values:
Minimum
60
Maximum
Default
60
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2001 03:44 AM
07-09-2001 03:44 AM
Re: Telnet connection
Hi
I tried the following
#insf -n 300
#insf -s 300
After this it is coming to # prompt immediately, No other messages.
#insf -d ptys 300
#insf -d ptym 300
After this two commands it is giving error like this
insf:Installing special files for psudo driver ptym/ptys
insf:group tty lookup failed:file exists
In configurable parameters npty is 300 and nstrpty is 60.
Still I am getting maximum 40 connactios only.
My os is HPUX 10.2 and Box is E45 (Not Dclass)
What should I do?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2001 02:59 PM
07-09-2001 02:59 PM
Re: Telnet connection
Sounds like the tty group is missing from
your /etc/group file
The entry should look like this
tty::10:
A typical pty should similar to this
crw--w---- 2 fredw tty 17 0x000016 Jul 10 08:19 ttyq6
Check the group as above. If it missing fix
the /etc/group file and run the examples one
more time.
HTH
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2001 06:48 PM
07-09-2001 06:48 PM
Re: Telnet connection
what the value of the kernel parameter " maxusers " ? . you should increase this if it is too low ( 50 ? )
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2001 02:59 AM
07-13-2001 02:59 AM
Re: Telnet connection
Hi
See..I am getting the login prompt, and it is assigning the tty. But once U type user name and passwd it is telling that "Maximum User limit Exceeds...Please try later"
I don't think this is the problem of device files..Those are already exists.
Anyway I increased maxusers parameter from 32 to 50..Still same problem.
Replys are highly appreciated.
Shahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2001 04:40 AM
07-13-2001 04:40 AM
Re: Telnet connection
It is very possible that your problem is not that you are short on tty/pty connections...but that you CAN NOT SPAWN ANOTHER PROCESS. Since you have ruled out that you have your parms npty,etc and the device files.
Frank Li may have hit upon your issue.
Increase your maxusrs above 50....depending on your system resources, try increasing this to 75 or 100. This will in turn increase nproc and nfile. See if after these parms are increased...you don't go past the 40 logins now....
Just a thought,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2001 06:25 AM
07-13-2001 06:25 AM
Re: Telnet connection
This error message is not for pseudo-ttys . It says, The user license you have installed in the server does not allow you to have more than those many number of connections.
License !!! (Remember u need a code word for that) . Normaly a telnet connection does not get counted as a licensed connection but it can happen.
The error message is clear that it is asking for more user license
kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2001 02:21 AM
07-16-2001 02:21 AM
Re: Telnet connection
Thanks to all of U. I found out the problem, It was nothing to do with insf or user license.
There is a script which will check the number of connections and if it is more than 40, it will kill that tty. This script has been put in /etc/profile.
Thank a lot
Shahul