1745797 Members
3686 Online
108722 Solutions
New Discussion юеВ

core files

 
S.S.
Super Advisor

core files

Dear All,

Yesterday, a core file was generated at 18:47 under /opt filesystem.
-rw------- 6467788 /opt/Hewlett-Packard/RSMHostSW/RSMHA/core

Also, yesterday the /opt and /tmp filesystem were filled up to 100% due to the following files generated:

/opt:

-rw-r--r-- 1 root root 136847736 Mar 7 10:39 halogs-100307-103658.tar.gz

-rw-r--r-- 1 root root 266588833 Mar 7 12:42 halogs-100307-123919.tar.gz

-rw-r--r-- 1 root root 2521876480 Mar 7 14:45 halogs-100307-144210.tar

---------- 1 root root 393756672 Mar 7 16:48 halogs-100307-164446.tar

-rw-r--r-- 1 root root 0 Mar 7 18:47 halogs-100307-184703.tar


/tmp:

-rw-r--r-- 1 root root 2564046848 Mar 7 16:47 halogs-100307-164446.tar

May i know how can i debug this core file.

Also suggest me if core files generate what are the steps to do.

My OS version is 11.11

Thanks!



16 REPLIES 16
Johnson Punniyalingam
Honored Contributor

Re: core files

>>May i know how can i debug this core file.

Also suggest me if core files generate what are the steps to do<<

if your server under HP Maintenance Support, better advice to approach them :)


Also Check below Thread, for Core file Analysis

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1412710
Problems are common to all, but attitude makes the difference
Kapil Jha
Honored Contributor

Re: core files

are you running veritas cluster on the server.

# what /opt/Hewlett-Packard/RSMHostSW/RSMHA/core

show this output.

Tar files does not look like core can u untar on of the file and run
#what file

BR,
Kapil+
I am in this small bowl, I wane see the real world......
Dennis Handly
Acclaimed Contributor

Re: core files

>May I know how can I debug this core file.

Do you have gdb installed?
gdb executable core
(gdb) bt
(gdb) q

>suggest me if core files generate what are the steps to do.

You need to contact the Response Center to see if there are any fixes.

If you don't want that core file, you can do a "mkdir core" there.

>Johnson: Check below thread, for Core file Analysis

Not hardly. kwdb and q4 are for crash dumps, not application core files. You can download wdb/gdb and core file debugging from:
http://www.hp.com/go/wdb
Debugging core files using HP WDB
file .../core will tell you the signal and the basename of the executable.
S.S.
Super Advisor

Re: core files

Hi,

The output is:

# what /opt/Hewlett-Packard/RSMHostSW/RSMHA/core
/opt/Hewlett-Packard/RSMHostSW/RSMHA/core:
$Revision: B.11.11$
libfcd.a HP Fibre Channel ISP 23xx & 24xx Driver B.11.11.10 /ux/kern/kisu/FCD/src/common/wsio/fcd_init.c:Sep 14 2006,17:45:41
HP SNIA HBA API Vendor-fcd Library: libhbaapifcd.sl Sep 14 2006
$Revision: B.11.11$
HP SNIA HBA API Vendor Library: libhbaapihp.sl Sep 4 2006 12:17:27
$ PATCH_11.11/PHCO_28605 Jul 31 2003 03:09:31 $
libfcd.a HP Fibre Channel ISP 23xx & 24xx Driver B.11.11.10 /ux/kern/kisu/FCD/src/common/wsio/fcd_init.c:Sep 14 2006,17:45:41
$ B.11.11_LR Oct 26 2000 23:10:23 $
Pthread Interfaces
$Revision: libpthread.1: @(#) depot-32pa R11.11_BL2003_1209_2 PATCH_11.11 PHCO_29960 Tue Dec 9 01:51:37 PST 2003 $
HP-UX libm shared PA1.1 C Math Library 20000331 (201031) UX11.01
HP-UX libisamstub.sl 19991217 (135120) B3907DB/B3909DB B.11.01.11
HP Port of Compaq Convert RTL V0.0.00
HP Fortran of Alpha RT V0.0.00
Intel Fortran RTL V1.1-929 1+ 1-Aug-2003
fs_amod.s $Revision: 1.9.1.1 $
libcl.sl version B.11.XX.21 - Jun 22 2005
$ PATCH_11.11/PHCO_38279 Jul 3 2009 04:56:42 $
SMART_BIND
92453-07 dld dld dld.sl B.11.68 090608



Also,

the gdb is installed on my machine.

thanks!
S.S.
Super Advisor

Re: core files

I have invoked the wdb and i have received the following error message:

# /opt/langtools/bin/wdb
Error: Can't open display:
Error: Couldn't find per display information


Thanks!
Dennis Handly
Acclaimed Contributor

Re: core files

>I have invoked wdb ... Error: Can't open display:

Stick with the simpler gdb.
S.S.
Super Advisor

Re: core files

Hi Dennis,

For gdb it has been invoked.

Now, can you suggest me what steps should i execute under gdb.

# gdb
HP gdb 5.4.0 for PA-RISC 1.1 or 2.0 (narrow), HP-UX 11.00
and target hppa1.1-hp-hpux11.00.
Copyright 1986 - 2001 Free Software Foundation, Inc.
Hewlett-Packard Wildebeest 5.4.0 (based on GDB) is covered by the
GNU General Public License. Type "show copying" to see the conditions to
change it and/or distribute copies. Type "show warranty" for warranty/support.

(gdb)

Thank you.
Johnson Punniyalingam
Honored Contributor

Re: core files

Check Below thread,

Hope this Helps

http://h21007.www2.hp.com/portal/site/dspp/menuitem.863c3e4cbcdc3f3515b49c108973a801?ciid=f6ccb52bdb779110VgnVCM100000275d6e10RCRD#gdb_debug

Rgds,
Johnson
Problems are common to all, but attitude makes the difference
Dennis Handly
Acclaimed Contributor

Re: core files

>can you suggest me what steps should I execute under gdb.

As I mentioned above:
gdb path-to-executable path-to-core
(gdb) bt
(gdb) info reg
(gdb) q

>HP gdb 5.4.0

You might want to download a newer version.

>Johnson: Hope this helps

Not sure why you would want to know about Aries debugging on a PA 11.11 system?