1832964 Members
2546 Online
110048 Solutions
New Discussion

Remote Telnet

 
SOLVED
Go to solution
Tim Vuletich
New Member

Remote Telnet

I just installed a new 10.20 box and
when I try to telnet as any user
from any windows client I get the follow message

Sorry. maximum number of users already logged on

Can someone help me out.

Thanks
10 REPLIES 10
Rajeev  Shukla
Honored Contributor

Re: Remote Telnet

You need to tune the kernal parameters.
Increase the maxusers and npty in your kernal, rebuild kernal and reboot the server.

By the way are you aware that HP has discontinued support for 10.20, if you are installing a new box why are you choosing 10.20.

Thanks
Rajeev
Tim Vuletich
New Member

Re: Remote Telnet

We have some customers still running
our app on this OS so I need to keep
one around. I'm still new to HP, can
let me know how to do what you suggested?

Thanks
Con O'Kelly
Honored Contributor

Re: Remote Telnet

Hi

Have you got alot of telnet connections to this box?
Whats the value of npty kernel parameter?
Check the value of npty in SAM or try
# sysdef | grep npty

Also check telnet connections & post output:
# ps -ef | grep telnet

Its possible you need to increase this parameter.

Cheers
Con

Rajeev  Shukla
Honored Contributor

Re: Remote Telnet

go to sam
SAM-->Kernel COnfiguration-->Cofigurable Parameters
you'll see all kernel paramets in this window scroll down and go to maxusers you'll see current value(which might be too less) chose maxusers and then go to actions and modify configurable parameter also do the same to npty increase that to make it twice the maxusers.
Once you exit SAM will ask you to apply the paremeters, it will build the kernel and reboot the machine.

Rajeev
Rajeev  Shukla
Honored Contributor

Re: Remote Telnet

go to sam
SAM-->Kernel COnfiguration-->Cofigurable Parameters
you'll see all kernel paramets in this window scroll down and go to maxusers you'll see current value(which might be too less) chose maxusers and then go to actions and modify configurable parameter also do the same to npty increase that to make it twice the maxusers.
Once you exit SAM will ask you to apply the paremeters, it will build the kernel and reboot the machine.

Rajeev
Bill Hassell
Honored Contributor
Solution

Re: Remote Telnet

Actually, maxusers will not affect the message you are seeing. This message is generated when the number of Unix licenses has been exceeded. If you type: uname -a, you'll see the maximum number of users at the end of the line (probably 2) and that is your problem. The console (if it is logged in) counts as one user, every modem and serial terminal connection counts as a separate user, and all network connections (telnet, rlogin, etc) count as 1 single user. So if you have the console and another terminal active, no one can login over telnet. You can log off the console and telnet users will start working (unlimited).

There were several license options for 10.20 (8-user, 64-user, unlimited-user) but they are obsolete and cannot be purchased (same for all components of 10.20). For 11.0 and higher revisions, HP changed the licensing strategy to allow unlimited without extra cost. 10.20 is a dead end platform...you probably need to get all your customers to upgrade as soon as possible.


Bill Hassell, sysadmin
RAJESH GANGADHARAN
Regular Advisor

Re: Remote Telnet

Hi
Check you License using uname -a. if it is 2 and you got a CDE make sure that you had logged in twice from the console, from termincal mode as well as from GUI(CDE). if so try to kill one session.

-Rajesh
Let the choices you make today be the choices you can live with tomorrow.
Tim Vuletich
New Member

Re: Remote Telnet

Bill Hassel was right, thanks Bill
Is there a work around for this?


Tim
Patrick Wallek
Honored Contributor

Re: Remote Telnet

Go to this page:
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=UNLIMUSERLIC

Download the unlimited user license (it is FREE) and install it. This WILL require a reboot as far as I know, since it does have to generate a new kernel.

This should alleviate your problem.
Tim Vuletich
New Member

Re: Remote Telnet

Thanks Patrick, you where right on.