1756569 Members
2671 Online
108848 Solutions
New Discussion юеВ

console hung

 
kevin batter_1
Occasional Advisor

console hung

A quick ? I hope !!
A console atttached to the GSP port has become hung after someone did a ctrl-c to break out of a tail -f.We cannot bring the console to life but we can do ctrl-b to get into GSP.
Any ideas on how we can get the console back up and running other than having to reboot ( not an option until the weekend!!)
14 REPLIES 14
Bill McNAMARA_1
Honored Contributor

Re: console hung

try q
!
Bill
It works for me (tm)
Bill McNAMARA_1
Honored Contributor

Re: console hung

If you can telnet into the system normally, kill the shell
who -R
who am i -R
look for sh of the console
ps -ef | grep
kill -9

Then relog in.

Normally though, just recalling the escape sequence will return you. for example if you ctrl B'd from a vi session :q! would escape you, similarly in a more/tail q will quit etc...

Bill

It works for me (tm)
kevin batter_1
Occasional Advisor

Re: console hung

Thanks for the reply Bill

I have tried all the escape sequences I know and it still does not come back to a prompt.I cannot telnet to the server as it is running a product called SEOS which locks the server down.
I have been told that doing a ctrl-c on the console is a known problem just wondering if anyone has the cure.
Bill McNAMARA_1
Honored Contributor

Re: console hung

what's the server and console? terminal, web based?

you might try resetting the GSP:
On an N4k open the backdoor of the server and look at GSP board,bottom right side of the CPU itself.

On an A there is en external reset on the GSP. or try XD from the GSP prompt.

Bill
It works for me (tm)
kevin batter_1
Occasional Advisor

Re: console hung

Server is an L class running hpux 11 and the console is a terminal
Bill Thorsteinson
Honored Contributor

Re: console hung

Just a long shot but try a ctrl-q. They may have tried
a ctlr-s to stop the output before they killed the
process. I have seen some programs process the
ctrl-s but still sent their output.

Killing the processes running on the port should
result in the port being reset when the getty task
gets started.
Michael Tully
Honored Contributor

Re: console hung

hi,

TRY THIS

# ps -ef |grep console

get the PID number
# kill -5 PID

failing that turn the console off, then on whilst holding the 'd' key until the terminal beeps.

HTH
-Michael
Anyone for a Mutiny ?
kevin batter_1
Occasional Advisor

Re: console hung

All

Thanks for your suggestions - none have worked so far the console just sits there with its cursor flashing mocking me.
The main problem is that I am unable to log on to the server by conventional means so cannot find out PIDs to enable me to kill this session off.
Any further ideas much appreciated.
Ulf Lipski
Advisor

Re: console hung

Hi,

have you tried the RESET-Key?
Then try SHIFT + RESET -Key (press them together)?

Which terminal do you use and what kind of
type ist the consolen port?

BTW: It's a good idea to configure a second terminal port to plug the console it you got in trouble. Maybe use the ups port.

By
Optimization is the root of all evil.