SUMMARY: Can't login to console

From: John Bradley (john.bradley@sunman.chinalake.navy.mil)
Date: Mon Aug 26 1996 - 18:41:08 CDT


Thanx fellow managers:

Brion Leary bleary@state.ma.us
Jim Craven craven@cg.nrcan.gc.ca

Summary:

Used a combination of both replies. Check to see what is using the
console.

ss1% ps -ft console

I found I had some newly installed software that was started in rc2.d
scripts that was using the console.

I killed the process, waited a couple of minutes, then ttymon respawned
it's self and I was able to login.

Thanx again,

jb

Replies:

John,

To see what is running with the console as its controlling
terminal do:
        ps -ft console

This will provide info regarding
        'there may be another session active on this port'

Brion Leary <bleary@state.ma.us>

*************

We had that problem here recently. I simply killed the ttymon process
(# kill 438) and another ttymon automagically appeared. (I belive this
is do to the respawn tag in /etc/inittab). Anyway the respawned ttymon
worked fine.

        Jim

Original:

Managers,

Get the following error when trying to login to SS1000 running Solaris
2.4:

Warning - ttymon cannot allocate controlling tty on "/dev/console",
there may be another session active on this port.

Process output:

[ss1]3% ps -ef | grep tt
    root 438 1 20 00:11:39 ? 0:00 /usr/lib/saf/ttymon -g -h
-p ss1 console login: -T sun -d /dev/console -l cons

I'll summarize.

jb

-- 
*** John Bradley                           ***
*** Sun Admin.                             ***
*** Tel:619.939.5887 fax:619.939.9581      ***
*** email: john.bradley@chinalake.navy.mil ***



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:09 CDT