Operating System - HP-UX
1834711 Members
2197 Online
110069 Solutions
New Discussion

Re: when will occur two console login?

 
SOLVED
Go to solution
常有慈悲心
Regular Advisor

when will occur two console login?

i use w command find the output like :


6:07pm up 3:47, 6 users, load average: 0.25, 0.28, 0.23
User tty login@ idle JCPU PCPU what
root console 4:35pm 1:32 -sh
root console 4:35pm 1:32 -sh
root pts/0 4:51pm 7 19 19 ./bin/xdc_s bg
root pts/1 6:01pm 2 /sbin/sh
root pts/2 6:06pm 1 w
root dtremote 6:06pm196:36 -


when i telnet to the machine ,it said :
maxium number users already logged in.
i want to know when will two console log in ?

4 REPLIES 4
RAC_1
Honored Contributor
Solution

Re: when will occur two console login?

There can be more than one login on console. But at any gievn time only one will have write acess on console. What error you get when you telnet to machine??

Anil
There is no substitute to HARDWORK
BONNAFOUS Jean Marc
Trusted Contributor

Re: when will occur two console login?


Hello,

Are you sure that one is not the parent of the other? Use ps -ef|grep console and see if PPID of one is PID of other.

Rgds
JMB
Si vous ne faites jamais de bétises, c'est que vous ne faites rien de difficile. Et ça c'est une grosse bétise.
Muthukumar_5
Honored Contributor

Re: when will occur two console login?

check with w -lu there. Refer output with who command also.

check process ID of login shell with ps command too.

Login informations will be maintained on wtmp log. Auditation of login details on versions 11i,11.11 are having problem.

HTH.
Easy to suggest when don't know about the problem!
Bill Hassell
Honored Contributor

Re: when will occur two console login?

It sounds like you have a very old HP-UX system with a two-user license. To see your current license, type the command:

uname -l

The licenses are counted as:

- one for every login over a serial or modem port

- one for the console (sounds like you are running a workstation and not a server so the workstation's display is the console)

- one for any number of network logins like telnet (ftp is not counted)

Thios means that if you login from your workstation console, you'll consume one license. If another occurs by modem or serial connection, the last license is used and no network (telnet) connections will be allowed. If you login with telnet first, then any number of network users can login.

So, you must either:

- upgrade your user license (not possible if you are running obsolete software such as HP-UX 10.20 or earlier)

- Disable any serial connections such as terminals or modems


Bill Hassell, sysadmin