1838097 Members
3444 Online
110124 Solutions
New Discussion

Enabling CRASH dumps

 
SOLVED
Go to solution
Amiel Tutolo
Frequent Advisor

Enabling CRASH dumps

Where is this done? Our system crashed over the weekend and there was nothing in /var/adm/crash/*. Do I need to turn something on or create a file somewhere? I am running HPUX 11.11 on a RP5430.
Live, love and laugh
5 REPLIES 5
Pete Randall
Outstanding Contributor
Solution

Re: Enabling CRASH dumps

Check /etc/rc.config.d/crashconf to make sure that CRASHCONF_ENABLED=1 is set.


Pete

Pete
Amiel Tutolo
Frequent Advisor

Re: Enabling CRASH dumps

My CRASHCONF_ENABLED is = 1. Should it be 0. Do I need to start and stop anything?
Live, love and laugh
Franky_1
Respected Contributor

Re: Enabling CRASH dumps

Hi Amiel,

as Pete already pointed out you'll have to set CRASHCONF_ENABLED=1 in /etc/rc.config.d/crashconf and in the same directory in the file savecrash you can set additional parameters like crash directory, compression rate and so on ...

Regards

Franky
Don't worry be happy
Geoff Wild
Honored Contributor

Re: Enabling CRASH dumps

On top of setting CRASHCONF_ENABLED=1 in /etc/rc.config.d/crashconf, I would also make /var/adm/crash it's own filesystem.

I make mine 512 MB larger then installed ram.

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Bill Hassell
Honored Contributor

Re: Enabling CRASH dumps

Also check /etc/rc.log for messages in the crashconf and savecrash sections (search for those keywords).


Bill Hassell, sysadmin