core dump analyze

core dump analyze

Post by Randy Yan » Tue, 21 Jan 2003 18:01:41



Hi,
   One of my servers on Internet crashed last week. All files lost,except
some empty directory under root. I find one core dump was created. I use
command "file coredumpfile" and find "ELF 32-bit MSB core file SPARC Version
1, from 'nscd'", How can I find out the root cause of this crash. Thanks!
 
 
 

core dump analyze

Post by aryzh » Wed, 22 Jan 2003 21:04:42



> Hi,
>    One of my servers on Internet crashed last week. All files lost,except
> some empty directory under root. I find one core dump was created. I use
> command "file coredumpfile" and find "ELF 32-bit MSB core file SPARC Version
> 1, from 'nscd'", How can I find out the root cause of this crash. Thanks!

Look carefully at the "panic" message in /var/adm/messages - this may
already give you some ideas.

Download the "iscda" utility from Sun web site and run it
against the coredump

 
 
 

core dump analyze

Post by aryzh » Fri, 24 Jan 2003 02:57:01




> > Hi,
> >    One of my servers on Internet crashed last week. All files lost,except
> > some empty directory under root. I find one core dump was created. I use
> > command "file coredumpfile" and find "ELF 32-bit MSB core file SPARC Version
> > 1, from 'nscd'", How can I find out the root cause of this crash. Thanks!

> Look carefully at the "panic" message in /var/adm/messages - this may
> already give you some ideas.

> Download the "iscda" utility from Sun web site and run it
> against the coredump

Oh, sorry I just discovered that core file was not from the kernel,
so runing iscda against it makes no sense.
It's quite unlikely that nscd would cause the kernel crash,
so the reason may be something different.

Is there anything in /var/crash/*/ ?

If not, /var/adm/messages is your only source of information.

You can enable savecore by uncommenting a corresponding line in
/etc/init.d/savecore, and then wait for the next crash.