1755690 Members
3190 Online
108837 Solutions
New Discussion юеВ

Core Dump File

 
Keith custer
Occasional Advisor

Core Dump File

I have a core file that I believe an applicatin created. I only just found that they exist and where to find it. I have no idea what it does or how to analyse it. The server is a H60. Just got it back up and running after replacing the main memory card.
17 REPLIES 17
Steven E. Protter
Exalted Contributor

Re: Core Dump File

Shalom,

core file exists where the application environment decides they should go. They can provide useful information about why an application fails.

strings filename

# can get you some useful information out of the file.

Vendors like Oracle analyze these files to determine the cause of oracle failures.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Avinash20
Honored Contributor

Re: Core Dump File

Please execute the following command to find out which executable did the core

# file

where is the filename of the core.
In your case

# file core

If it show oracle or any application process, I would advice you to log a call with the Application vendor to analyze the core
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Avinash20
Honored Contributor

Re: Core Dump File

You may also install the GDB on your server to get the stack trace from the core which will be useful for the application team

You could download the GDB from

www.hp.com/go/gdb
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Dennis Handly
Acclaimed Contributor

Re: Core Dump File

How old is your core file? If not recent just remove it.

Your core was truncated. About the only useful thing is:
core: core file from 'cmmload' - received SIGSEGV
Kernel: HP-UX sn42036 B.10.20 E 9000/887 ********

>SEP: strings filename
> can get you some useful information out of the file.

This is typically not that useful. At the end I see lots of:
/disk3/cmmData/P95270.812

>Avinash: You may also install the GDB on your server

I'm not sure gdb is still available for 10.20.
Robert-Jan Goossens
Honored Contributor

Re: Core Dump File

GDB is still available for 10.20.

http://mirrors.develooper.com/hpux/downloads.html

Regards,
Robert-Jan
Dennis Handly
Acclaimed Contributor

Re: Core Dump File

>Robert-Jan: GDB is still available for 10.20.

This isn't HP's WDB.
Keith custer
Occasional Advisor

Re: Core Dump File

So I got around to downloading the GDB file and got it uploaded to the server through ftp using the put command. I tried to run it as root using tar jxvf and it didn't work cause it doesn't recognize the *j* option. How do I get the GDB software installed? Do I have to install another package that will allow me to extract the GDB .tbz file?

Also all these P95270.812 files are locate in the "/disk3/cmmData" directory. They are files from another PC that get uploaded to the directory and a cron job starts the C program and compiles them into another file format and uploads those to a Database.
T G Manikandan
Honored Contributor

Re: Core Dump File

tbz2 requires bzip2 to uncompress.

http://hpux.connect.org.uk/hppd/hpux/Misc/bzip2-1.0.5/

Alternatively you can download gdb at

http://hpux.connect.org.uk/hppd/hpux/Gnu/gdb-5.3/
Keith custer
Occasional Advisor

Re: Core Dump File

I got the tar version of GDB but this H60 doesn't have much of anything on it for extracting these files. Where can I get gzip or bunzip2 so I can extract and install this app. The H60 is running HP-UX 10.20.