ttymon error and console login


 
Thread Tools Search this Thread
Special Forums IP Networking ttymon error and console login
# 1  
Old 12-11-2003
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
# 2  
Old 12-11-2003
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 ?
# 3  
Old 12-11-2003
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
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 !
# 5  
Old 12-11-2003
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
# 6  
Old 12-12-2003
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...
# 7  
Old 12-12-2003
Hi,

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

Thanks
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Not able to login AIX server but able to login thru console.

Hi, i am able to login to AX server thru console but not able to login directly thru server. also the server is not ping-able with other server. filesystem is fine. and OS version is AIX 5.3. please let me know if you need any specific log. thx in advance. Scriptor (2 Replies)
Discussion started by: scriptor
2 Replies

2. UNIX for Dummies Questions & Answers

Console Login and Telnet

Hopefully my question makes sense, but I was wondering if the telnet service has anything to do with console logins or if they are completely unrelated. So for example, does the /etc/default/login file in UNIX have anything to do with Telnet? So if I want to verify that the root user can't login... (8 Replies)
Discussion started by: ixauditor
8 Replies

3. Solaris

Console Login Failed..

Dear Unix Team, This is sudhansu once again. I need some tips on below issue. Sometimes we got calls from customer that their console got hangged means they are not able to access the server through console ip. in that case "resetsc -y" will resolve the issue. 2. But couple of days... (2 Replies)
Discussion started by: sudhansu
2 Replies

4. Red Hat

Cannot log from console login

Hello All, I'm facing the following problem: On a specific server I have installed Red Hat ES 4.5 and everything seems ok. But after a specific reboot, when the login prompt on the console, I put the root password and I can´t log on. It is strange for me due to if y try to log on using SSH I... (1 Reply)
Discussion started by: mig28mx
1 Replies

5. HP-UX

Cannot able to login on console

Hi I can neither able to login on console with my user ID nor with root user on HP-UX 9000/800 v11.11. I am putting the correct Password.While my colleague can login as his user on console. What is the reason that I can't login to console? Pl. help & thanks in advance. Mike (5 Replies)
Discussion started by: Mike1234
5 Replies

6. Solaris

Help me with console login problem

Hi, I have solaris 10 installed on my computer and when try to login in console mode, it would give output something like this. login:root Password: Last login: Thu May 29 10:00:55 on console -sh: syntax error: `(' unexpected -sh: grep: not found -sh: uname: not found -sh: test:... (1 Reply)
Discussion started by: eamani_sun
1 Replies

7. HP-UX

Unable to login at console and telnet

Hi friend, I'm facing a problem to access the console and telnet to the HP ux 11 server due to the system file is full. How to access this server via single mode and how to mount the folder / and folder /var? thanks. vestro (1 Reply)
Discussion started by: vestro
1 Replies

8. SCO

login problem at console

I am running sco 5.06 open server We have encountered the problem while login into the live Online server. After putting the usr as root, the system is taking time(20 Sec) to show me ‘Password:'. Sometimes the system shows login time out. Again sometimes the system is showing password:, after... (3 Replies)
Discussion started by: rahmanm
3 Replies

9. UNIX for Dummies Questions & Answers

Login Console

Hi All, I am very new to Unix and already have a problem... My predecessor didn't note down the username and password to login to the console of an HP D Class 9000 enterprise server we have. I was wondering whether there is any way to bypass this console login screen in Unix... If not is there... (1 Reply)
Discussion started by: RMadjitey
1 Replies

10. UNIX for Dummies Questions & Answers

Disable Root Console login

After Configuring a brand new netraT1, It appears, the only way you can log in as root is throught the Serial Port (console). I believe there is a file in /etc which can be edited to allow root to access login via other methods eg: telnet, ssh, etc. My Question: Which file contains... (2 Replies)
Discussion started by: SmartJuniorUnix
2 Replies
Login or Register to Ask a Question