Operating System - HP-UX
1820140 Members
3357 Online
109619 Solutions
New Discussion юеВ

Re: what to do when the console hangs

 
SOLVED
Go to solution
twtandigi.com.my
Frequent Advisor

what to do when the console hangs

hi, i have encoutered a perticular problem about HP-UX 11.00, i am currently using this version on an A class server as well as a L class server. but so far the only issuer that i am having that is constantly showing up is.
the console seems to be in a hanging. you cannot input anything on the server via console. I can only access via telnet to the machine through other servers in the same segment. i would like to find out about if this is a common problem and what is needed to be done when such a problem arraises. beside that what can i do to reduce or or actually stop the console from getting into such a state.

regards,
calvin
8 REPLIES 8
Naveej.K.A
Honored Contributor

Re: what to do when the console hangs

hi calvin,

I too do have a L class server running 11i. The scenario you are facing is not normal. YOu probably have hardware which is giving intermittent problem.
You have to check the cable, console.

are you able to login to GSP??
ctrl+B

How do you bring it back to functioning?
you can kill the process running on the console by fuser -ku /dev/console

with best wishes
Naveej
practice makes a man perfect!!!
twtandigi.com.my
Frequent Advisor

Re: what to do when the console hangs

but would there be any side impact with the server if i do that.
(i.e. can i get to log into the system )
how do i enable back the console?
Shaikh Imran
Honored Contributor

Re: what to do when the console hangs

Hi,
Console is nothing but one of the medium to get into the server.
If you have not started any backgroung or foreground process from the console you can easily disconnect it for repairs,maintainence,etc..,
Once rectified you can connect it back this will not at all disturb the server.
Be careful while removing the console cable from the server as there may be other SCSI,Fiber or Lan Cables which might get disturbed while removing it,that's all.

In your case,probably your console hardware maybe malfunctioning,which needs to be looked into.
You can ask you vendor to give a replacement and check.

Regards
I'll sleep when i am dead.
Naveej.K.A
Honored Contributor
Solution

Re: what to do when the console hangs

hi calvin,

when you press ctrl+B you are prompted for the login of GSP or guardian service processor. There is no damage to the working server when you login to GSP. If you are getting a login means, your OS' getty process running for the console has got killed or hung and that your terminal configuration on both the server and the console side are fine.
to come out of GSP. type co.

fuser will kill the process which was running or gut hung from the console and there is no problem to the working server.

Also don't forget to check the log files for any errors related with this.

with best wishes
naveej
practice makes a man perfect!!!
Joseph Loo
Honored Contributor

Re: what to do when the console hangs

hi,

have you trying holding down CTRL+D while powering on and off the console switch and releasing CTRL+D after 10 seconds?

regards.
what you do not see does not mean you should not believe
Ravinder Kaul
Advisor

Re: what to do when the console hangs

Check the console settings. You may hv to press a combination of keys depending on the console type to enetr the setting mode.Check data bits is 8 parity none stop bits one and set terminal type vt 100 if it is a generic terminal
Also in L class there is a LAn console port which you can configure through GSP and u can access console through your pc by doing telnet
Navid Hussain_1
Advisor

Re: what to do when the console hangs

Hi Calwin,

To reset the hung console, execute following commands

#stty +resetGSP
you can use in production environment as well.

Cheers ..

NAVID

Navid Hussain_1
Advisor

Re: what to do when the console hangs

Hi
Alternate solution,

Power off the console
2. Hold down the 'D' key for 10 seconds while powering on the console.
3. Press the 'Enter' key

OR

Telnet to the system and kill the current console PID.
1. ps -ef|grep console
2. kill

If it is continously hanging, then try earlier solution.

Regards

NAVID