Re: netra x1 serial console multi user login

From: ML Starkey (martha.starkey_at_sun.com)
Date: 08/05/03


Date: Tue, 05 Aug 2003 09:40:38 -0400


Hoyte Swager wrote:
> it is even more strange
>
> if i remove all port monitoring from /etc/inittab
> (sac and ttymon for console) and then test by running
> /sbin/sulogin < /dev/console on a network login,
> on the serial terminal i get the expected, working,
> single user login behaviour.
>
> if i then do the same with the ttymon
> /usr/lib/saf/ttymon -g -d /dev/console -l console -T vt100
> i get the login prompt, but as soon as i enter the username
> and hit return is says in the serial console:
>
> Warning -- ttymon cannot allocate controlling tty on "/dev/console"
> there may be another session active on this port
>
> i am quite sure there is no other process having a lock on it
> (checked with ps/fuser/ptree and lsof |grep devices.pseudo.cn)

I find the command:

fuser -u /dev/console

helpful in these situations to try to identify the other active session.

>
> strange indeed...
> any help appreciated
> regards
> hoyte swager
>
>



Relevant Pages

  • Re: netra x1 serial console multi user login
    ... (sac and ttymon for console) ... single user login behaviour. ... if i then do the same with the ttymon ... and hit return is says in the serial console: ...
    (comp.unix.solaris)
  • Re: console login problem (ttymon)
    ... Strange enough, the ttymon process is gone by itself and I am able to ... when it's sitting at the login prompt. ... Check to see if the new one has the 'y' flag in fuser output. ...
    (comp.unix.solaris)
  • Re: using two consoles
    ... them as two seperate consoles? ... some applications on one screen (with one keyboard/mouse assigned ... That's a strange thing to do, but then, this is a strange ... some tasks on one console, and some tasks on the other console. ...
    (comp.sys.mac.system)
  • Re: SMS Admin Console closing sporadically
    ... that if I clicked on the 'strange' node, ... > confers no rights. ... >>The refresh was the console closing unexpectedly. ...
    (microsoft.public.sms.admin)
  • RE: Strange behavour of Process
    ... | Dim p as New Process ... | This works (as well as when i run exactly the same command in a console). ... | But I don't want the console window to pop up so therefore I add the ... | this strange by Process? ...
    (microsoft.public.dotnet.framework)