1838246 Members
3832 Online
110125 Solutions
New Discussion

Re: shutdown core dump

 
SOLVED
Go to solution
Shivkumar
Super Advisor

shutdown core dump

If hpux 11i is automatically shutdown due to some reason; will it leave core dump ?

Thanks,
Shiv
7 REPLIES 7
saju_2
Respected Contributor
Solution

Re: shutdown core dump

Hi

Look into /var/adm/crash and /var/tomstones directories will have information

regards
CS



Thayanidhi
Honored Contributor

Re: shutdown core dump

Hi,
Also check the /etc/shutdownlog
Reason for reboot is briefed here.

If there was power failure or similar issue (Power supply problem), the system won't do TOC.

Regds
TT
Attitude (not aptitude) determines altitude.
Kurt Beyers.
Honored Contributor

Re: shutdown core dump

Shiv,

A core dump will only occur if an abnormal shutdown of the server would occur.

A clean shutdown (manual or scheduled) won't cause a core dump of course.

best regards,
Kurt

Rajesh SB
Esteemed Contributor

Re: shutdown core dump

Hi,

Following steps are useful for debugging the crash/core dumps.HPUX Panic Analysis

HP-UX has its own to analyze scripts. This is what you need to do to run a panic analysis:

1.) cd /var/adm/crash/core.[n]
2.) zcat /usr/contrib/lib/Q4Lib.tar.Z | tar -xvf -
3.) gunzip vmunix
4.) /usr/contrib/bin/q4pxdb vmunix
5.) cp q4lib/sample.q4rc.pl ~/.q4rc.pl
6.) /usr/contrib/bin/q4 -p .
7.) include analyze.pl
8.) run Analyze AU > crash[n]_rpt.txt
9.) Refer the "crash[n]_rpt.txt" file for crash details.

Regards,
Rajesh
Cem Tugrul
Esteemed Contributor

Re: shutdown core dump

Shiv;
As an addition to other replies;

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=946077

Good Luck,
Our greatest duty in this life is to help others. And please, if you can't
Sreedhar Nathani
Valued Contributor

Re: shutdown core dump

Hello Shiv,

HPUX will create crashdump in the following events
1. either during software panic /hardware panic(HPMC)
2. manual TOC initiated by user
3. Service Guard TOC

But all the above you will see a entry in the /etc/shutdownlog regarding the panic
which caused system reboot.

If you don't have any entry in the /etc/shutdownlog, but system is rebooted, then
only possible reasons are

1. Somebody run a shutdown/reboot using some wrapper scripts, cuasing shutdownlog not
to be updated
2. No shutdownlog in /etc directory

3. Due to some hardware problems(power) system got rebooted. That can be verified
from the hardware GSP logs

Hope this helps

Mahesh Kumar Malik
Honored Contributor

Re: shutdown core dump

Hi Shiv

Core dump will be created when system shutdown happens on account of abnormalities like Software, harware PANICs or Power failure. A graceful shutdown will not create core dump.

/etc/shutdownlog will provide info on type of shutdown

Regards
Mahesh