Operating System - HP-UX
1836623 Members
2474 Online
110102 Solutions
New Discussion

MP Console not responding

 
SOLVED
Go to solution
Ruan Linehan
Occasional Advisor

MP Console not responding

Hi,

I cannot use the remote console display from the MP. It looks like the session is hung. I believe it is a problem with buffered output being interupted at the console, which is now unresponsive.
I have attempted to recycle the MP, using the XD command but the console is not useable. The MP menu is funtioning fine.

Thanks
Ruan

HP-UX 11.23
rx3600
15 REPLIES 15
Torsten.
Acclaimed Contributor

Re: MP Console not responding

First I would check the setting.

Search the syslog file for an entry like this:

System Console is on the Built-In Serial Interface

Now run a "ps -ef" and look what processes are bound to the console.

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!   
Ruan Linehan
Occasional Advisor

Re: MP Console not responding

Thanks for the reply Torsten. Unfortunately, the server is in a DMZ and only available access is through the MP console (which is hung and unresponsive). So how can i check the system log? or run a 'ps' command?

Ruan
Torsten.
Acclaimed Contributor

Re: MP Console not responding

No other way than using a different telnet or ssh session to check if an application is blocking the console.
I don't know your environment, but is there a way to establish another session?

Maybe you can redraw the screen with ctrl l.

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!   
YAQUB_1
Respected Contributor

Re: MP Console not responding

Hi,

Can U try to physical reset the MP?

I've attached the pdf file; just see the MP VGA (DB-9 pin) upper one of reset button.

BR/
Yaqub
Ruan Linehan
Occasional Advisor

Re: MP Console not responding

I dont think i have any other available method of connecting to the host(other than MP console), as it is inside a DMZ. Tried a ctrl+L for a screen redraw but no response.

Yaqub, i will try a manual reset of the MP and let you know how i get on.

Thanks
Ruan

YAQUB_1
Respected Contributor

Re: MP Console not responding

Hi,

U just pushes reset the button then after 20 to 30 second latter it will automatically up...

BR/
Yaqub
Torsten.
Acclaimed Contributor

Re: MP Console not responding

I don't expect any different results since you did a MP reset from the XD command.

If an application blocks the console, a MP reset will not change anything.

Maybe you find something when reading the console log from the MP.

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!   
Ruan Linehan
Occasional Advisor

Re: MP Console not responding

No, a physical reset did not work. I even unplugged the MP Lan cable.

Looking at the MP console log, I can see that during a display response, a termination signal or interrupt was sent to the console e.g. ctrl+c was pressed. After this the display has not returned.

The console display does not respond to any key strokes. i.e. Tab or return. although i can break out to the MP. screenshot attached.
Torsten.
Acclaimed Contributor

Re: MP Console not responding

Looks like SAM is running. If you are using VT100, CTRL L should refresh the screen.

You may even try TAB to move around.

If you can't open another session you need to bring down the system anyhow.

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!   
Ruan Linehan
Occasional Advisor

Re: MP Console not responding

No, tab does not work, no key stroke appears to respond. and yes, i agree that sam looks like it is still running. A clean exit from SAM was not possible as the display became corrupted whilst in use.

Ruan
Bill Hassell
Honored Contributor
Solution

Re: MP Console not responding

This isn't an MP problem so resetting the MP won't help. What has happened is that someone has run a command through the MP and into the console connection to HP-UX. The command is hung -- possibly due to a trashed session, networking problem, etc. It's possible that someone did a telnet to another system (bad idea, especially on the console). You'll have to access the system through another networking option and kill the hung process(es) using the console.


Bill Hassell, sysadmin
Ruan Linehan
Occasional Advisor

Re: MP Console not responding

Bill, many thanks for the reply.
After seeing your response, I returned to the console and tried a different approach. I entered a ctrl+z and 'backgrounded' the hung process. it worked! I was then returned to a useable command prompt from the console! success.

Now from the console, there are 5 processes running.
1-sh, 2-sam, 3-ps, 4-samx, 5-.

Would I be correct in saying that it was the 'sam/sam gui' process(es) that was giving the console the hung appearance. i.e. the console was fine, the sam app was not.

Also, Is it safe to terminate the two sam related processes and the zombie () process?

Ruan
Bill Hassell
Honored Contributor

Re: MP Console not responding

> After seeing your response, I returned to the console and tried a different approach. I entered a ctrl+z and 'backgrounded' the hung process. it worked! I was then returned to a useable command prompt from the console! success.

Great idea.

> Now from the console, there are 5 processes running.
1-sh, 2-sam, 3-ps, 4-samx, 5-.

Yuk...samx is running. Someone made some big mistakes trying run a GUI on the console.

> Would I be correct in saying that it was the 'sam/sam gui' process(es) that was giving the console the hung appearance. i.e. the console was fine, the sam app was not.

Very likely. The console is too critical a resource to ever run a background process. I ALWAYS make sure that the DISPLAY variable is never set when logging onto the console. It also makes sam run much faster at the start.

> Also, Is it safe to terminate the two sam related processes and the zombie () process?

Yep. Most likely they are all related. The console should be viewed like all Unix consoles: a command line interface with a dumb terminal.


Bill Hassell, sysadmin
Torsten.
Acclaimed Contributor

Re: MP Console not responding

To prevent this behaviour I like to use screens or TSM.

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!   
Ruan Linehan
Occasional Advisor

Re: MP Console not responding

I was able to safely terminate the SAM and defunct processes. Console is now back and fully functional.

Thanks to Torsten and Bill for the help!