Go Back   The UNIX and Linux Forums > Special Forums > IP Networking
Search Forums:



IP Networking Learn TCP/IP, Internet Protocol, Routing, Routers, Network protocols in this UNIX and Linux forum.

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 12-11-2003
Registered User
 

Join Date: Dec 2003
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
ttymon error and console login

I have a Solaris 8 server and when I try to log into the console, after I enter the username and password, I get the message

"ttymon cannot allocate controlling tty on /dev/console. There may be another session active on this port".

Then when I try to log in again on the console or any of the desktops, it is not taking any keyboard entries. I type and nothing echos back or inputs.

Any ideas?
Christine
Sponsored Links
    #2  
Old 12-11-2003
jsilva's Avatar
Registered User
 

Join Date: Apr 2003
Posts: 169
Thanks: 0
Thanked 2 Times in 1 Post
Hi,

Have you done anything before that problem ( any patch installation, for example ) ?
Can you login remotely ? If you do, do a ps -ef | grep cons .
Are you using dtlogin ?
Sponsored Links
    #3  
Old 12-11-2003
Registered User
 

Join Date: Dec 2003
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
I found out the reason I could type was that the keyboard went bad just as I was trying this. So typing isn't a problem.

My only problem is the error "ttymon cannot allocate controlling tty on /dev/console there may be another session active on this port".

I am able to remotely log in. I only get that message at the console after I enter a username but before the password.

I looked at ps and /usr/lib/saf/ttymon is running and references /dev/console but the time for that seems to change with each login attempt. There have been no new patches installed on this machine.

I'm selecting command-line-login from the screen for the session.

Thanks for any help, its really important.
    #4  
Old 12-11-2003
jsilva's Avatar
Registered User
 

Join Date: Apr 2003
Posts: 169
Thanks: 0
Thanked 2 Times in 1 Post
Hi,

Kill the ttymon process and let init start it again, automatically... after that, try to log in at the console again... see if there are any messages on /var/adm/messages...

Good luck !
Sponsored Links
    #5  
Old 12-11-2003
Registered User
 

Join Date: Dec 2003
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
I killed it and it just started another and I still couldn't get in. Any other suggestions?

I do see 3 /usr/lib/saf/ttymon processes started. 2 started last week and the other this week. What starts them?

THanks
Sponsored Links
    #6  
Old 12-12-2003
jsilva's Avatar
Registered User
 

Join Date: Apr 2003
Posts: 169
Thanks: 0
Thanked 2 Times in 1 Post
You should kill all of them... there're that many processes running because of your failure attempts to logon... so, kill all the ttymon processes, inittab has a line that will respawn a new process if there're none running...
Sponsored Links
    #7  
Old 12-12-2003
Registered User
 

Join Date: Dec 2003
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
Hi,

That didn't do anything. I can't reboot this machine either. Any other suggestions?

Thanks
Sponsored Links
Closed Thread

Tags
solaris

« DNS problem | Ports »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Help me with console login problem eamani_sun Solaris 1 05-29-2008 01:27 PM
HPUX Login Problem on the console hunk HP-UX 1 08-18-2005 01:09 AM
login problem at console rahmanm SCO 3 11-13-2004 09:48 AM
Login Console RMadjitey UNIX for Dummies Questions & Answers 1 12-11-2001 12:36 PM
Disable Root Console login SmartJuniorUnix UNIX for Dummies Questions & Answers 2 09-25-2000 01:08 PM



All times are GMT -4. The time now is 11:31 PM.