Operating System - HP-UX
1832870 Members
5103 Online
110048 Solutions
New Discussion

unable to get console through MP

 
mintoo
Occasional Advisor

unable to get console through MP

hi i'm unable to get console through MP.

Though i am able to telnet to the system but when i type co at MP prompt it gets stuck.
following is the out put i get.

MP MAIN MENU:

CO: Console
VFP: Virtual Front Panel
CM: Command Menu
CL: Console Log
SL: Show Event Logs
HE: Main Help Menu
X: Exit Connection

[hppi008rc] MP> co



(Use Ctrl-B to return to MP main menu.)



- - - - - - - - - - Prior Console Output - - - - - - - - - -











- - - - - - - - - - - - Live Console - - - - - - - - - - - -


7 REPLIES 7
Rita C Workman
Honored Contributor

Re: unable to get console through MP

Sounds maybe like there is an existing Admin session already out there. So when you login, it is not giving you control.

If you can go into CM there is an option to display all admin users. You could confirm this is the case.

You may be able to find and go and close that earlier session manually.
There was a way to kill the earlier session, but I can't recall the syntax on that right now. Maybe someone else remembers it.

Rita

mintoo
Occasional Advisor

Re: unable to get console through MP

when i issue WHO on CM it is showing me only as a user. So no other user is there.
Steven E. Protter
Exalted Contributor

Re: unable to get console through MP

Shalom,

Try an OS reset.

http://forums11.itrc.hp.com/service/forums/questionanswer.do;HP-FORUMS-S-WPA-IDX=H4RGcFbTtKytmY51D1WXqsgmwDY11yh1JTbR5Tt1brtTNnBd0T1n!846790842!-916765232?threadId=1158493

It could however be a hardware problem.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Rita C Workman
Honored Contributor

Re: unable to get console through MP

If the OS reset doesn't work, you may want to contact Support and see if resetting the MP port (option RU) would help or doing a reboot on the MP port (option XD) would help.

Just a thought,
Rita
Matti_Kurkela
Honored Contributor

Re: unable to get console through MP

Press Enter a couple of times, then wait a while. As the console is rarely used, the console getty process might be paged out. If the system is under a serious load, it might take a few moments to get it back in from the swap.

If you can access the system in some other way (e.g. logging on the system using telnet over the regular network interface, *not* using the MP) you could run "ps -ft console" to see if the console getty is running or not. You should get something like this:

ps -ft console
UID PID PPID C STIME TTY TIME COMMAND
root 3779 1 0 Sep 17 console 0:00 /usr/sbin/getty console console

If you see processes other than getty, someone is already logged on at the console.
You could use "kill -HUP" to remove those processes; the init process should then re-start the console getty process automatically.

If "ps -ft" displays no processes at all, your console getty may be disabled for some reason. Check your /etc/inittab for errors. Run "init q" and watch the /var/adm/syslog/syslog.log file: if there are any errors in the inittab file, the init process should output an error message to the syslog.

If there is a hardware problem ("screaming tty"), init might restart the getty after "init q" but it will immediately die because of invalid input. In this case, init will keep restarting the getty process for a while, but eventually it will put it on hold. Run the "ps -ft console" command repeatedly to see this: if the PID number of the getty process keeps changing, it indicates getty dies and is restarted. If so, init may eventually disable it to avoid spending CPU time to a process that just keeps dying.

MK
MK
Torsten.
Acclaimed Contributor

Re: unable to get console through MP

3 possible reasons for this:

1) it never worked before: the console setting is wrong, if you have an Integrity server

2) it worked before and your MP is hung, but you will not be able to work with MP... (reset MP)

3) your console session is busy or hang ... see above.

post "model" output to be sure about the hardware.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Tim Nelson
Honored Contributor

Re: unable to get console through MP

try resetting the getty process that runs on the console.

ps -ef|grep getty
kill that pid

getty will restart as it is listed as respawn in the inittab.