1829347 Members
5023 Online
109991 Solutions
New Discussion

server hang

 
K.C. Chan
Trusted Contributor

server hang

running rh7.2 with kernel 2.4.26. Server hang. Server has blank screen of death. Is there a way to log event into a log file? Thanks.
Reputation of a thousand years can be determined by the conduct of an hour
6 REPLIES 6
Chris Saunderson
Frequent Advisor

Re: server hang

If you have serial console support in your kernel, you could always use that to try and log any messages that are written to the console and not captured in logfiles.
Ted Nugent called. He wants his shirt back.
K.C. Chan
Trusted Contributor

Re: server hang

Yes I have serial console, any idea how to set this up?
Reputation of a thousand years can be determined by the conduct of an hour
Chris Saunderson
Frequent Advisor

Re: server hang

http://www.tldp.org/HOWTO/Remote-Serial-Console-HOWTO/ has all you need.
Ted Nugent called. He wants his shirt back.
Tom Ward_1
Honored Contributor

Re: server hang

Hello K.C.

You say that you already have a serial console configured. Whatever you use for a terminal would determine how you can log console. I typically use TeraTerm Pro
http://hp.vector.co.jp/authors/VA002416/teraterm.html
under Windows and minicom
http://alioth.debian.org/projects/minicom/
under linux. Both have the ablity to log a session to a file.

You could even run minicom under GNU screen so that you can detach the session and check it once in a while. If you do be aware that both screen and minicom use ctrl-A for a hot key.

Hope this helps,
Tom
K.C. Chan
Trusted Contributor

Re: server hang

Since both uses hot key ctr+A, then how do I send a ctrl sequence for screen and minicom? I tried ctrl+A z but that puts me into background , it's not what I wanted. I want to access ctr+A,L for logging in minicom. Any idea to distinguish between the two?
Reputation of a thousand years can be determined by the conduct of an hour
K.C. Chan
Trusted Contributor

Re: server hang

all, ignore previous post. I figured how to change meta character "Ctrl A" for minicom to something else. Thanks.
Reputation of a thousand years can be determined by the conduct of an hour