- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How do I know if these core files I found are ...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2000 09:24 AM
11-24-2000 09:24 AM
I just happened to be doing a search on 3 of my HP-UX systems today for core files and I came across the below information. One of the systems is production and the other 2 are Test & Development. How do I know if these were produced do to a serious error? The systems themselves seem to be doing fine. The notion of core files however seem to scare me. Is there anything to worry about? These files were found under /.
C1 ( Test System )
# file core
core: core file from 'midaemon' - received SIGSEGV
C2 ( Development System )
# file core
core: core file from 'midaemon' - received SIGSEGV
C3 ( Production System )
file core
core: core file from 'midaemon' - received SIGBUS
Any help or suggestions about this would be greatly appreciated...
Thanks,
S Aldrich
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2000 10:00 AM
11-24-2000 10:00 AM
Re: How do I know if these core files I found are serious???
The presence of occasional core files is not a great concern. If a particular process (application) frequently faults, then that is significant. Perhaps it's the fault of the application itself (poorly coded) or perhaps the termination is indicative of insufficient swap or stack space.
The use of the 'file' command against the core file provides the quick, descriptive reason for the failure. It's a good idea to do an 'ls' on the core file to make sure it is truly from the current failure. A 'what' of the core file will show you the revision of the shared libraries at the time the core file was generated.
Further analysis of the core file requires debugger tools (gdb, xdb, or dde) and the actual source code for the process(es) in question.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2000 10:13 AM
11-24-2000 10:13 AM
Re: How do I know if these core files I found are serious???
Check the online manual for signal 5(man 5 signal).
The severity of the core files are explained.
I advise that you send the core file to HP engineers to diagnose this file properly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2000 11:26 AM
11-24-2000 11:26 AM
Re: How do I know if these core files I found are serious???
I am still attempting to assign points to Chris as I am having alot of problems in the Forums today. Anytime I click on assign points beside Chris 's name I get either of the below to messages:
Error processing SSI file '/cm/QuestionAnswerContent/1,1154,LoggedIn!0x52fea14d9abcd4118fef0090279cd0f9!0!2,00.html'
404 Object Not Found
I will not forget about you.
Below is the output from the what command on core -
what core
core:
midaemon A.10.20.01 06/25/96 HPUX/MI-A =*=
ic12_r10dav_gs libc.a_ID@@/main/r10dav/libc_dav/bvd_dav/1
/ux/libc/libs/libc/archive_pa1/libc.a_ID
May 1 1996 11:43:41
9245XB HP-UX (B.10.20) #1: Sun Jun 9 06:31:19 PDT 1996
What exactly does this output mean?
Chris:
Where is the manual you are referring to that I could look up these codes?
Thanks,
S Aldrich
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2000 11:55 AM
11-24-2000 11:55 AM
Re: How do I know if these core files I found are serious???
There are many reasons for core files some serious and some not so.
I would look closly at core files in the root directory.
The time date and ownership are important.
Your core files are produced by the midaemon:-
midaemon - HP-UX Performance Measurement Interface daemon.
Try :-
File core
What core
Strings core
To extract as much information as possible and of course investigate the midaemon .
(search the forum for midaemon)
Siglist for your info:-
SIGABRT Process abort signal.
SIGALRM Alarm clock.
SIGFPE Erroneous arithmetic operation.
SIGHUP Hangup.
SIGILL Illegal instruction.
SIGINT Terminal interrupt signal.
SIGKILL Kill (cannot be caught or ignored).
SIGPIPE Write on a pipe with no one to read it.
SIGQUIT Terminal quit signal.
SIGSEGV Invalid memory reference.
SIGTERM Termination signal.
SIGUSR1 User-defined signal 1.
SIGUSR2 User-defined signal 2.
SIGCHLD Child process terminated or stopped.
SIGCONT Continue executing, if stopped.
SIGSTOP Stop executing (cannot be caught or ignored).
SIGTSTP Terminal stop signal.
SIGTTIN Background process attempting read.
SIGTTOU Background process attempting write.
SIGBUS Bus error.
SIGPOLL Pollable event.
SIGPROF Profiling timer expired.
SIGSYS Bad system call.
SIGTRAP Trace/breakpoint trap.
SIGURG High bandwidth data is available at a socket.
SIGVTALRM Virtual timer expired.
SIGXCPU CPU time limit exceeded.
SIGXFSZ File size limit exceeded.
SIGRTMIN First realtime signal.
SIGRTMAX Last realtime signal.
HTH
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2000 02:32 PM
11-24-2000 02:32 PM
SolutionThe manual to which Chris refers are the "man" pages, in this case, section-5. Look at the man(ual) pages for 'kill' and 'what' [section-1], 'core' [section-4] and 'signal' in section-5. Note that the 'volume' in which the various sections occur is different in 11.x than in 10.x -- five volumes comprise 11.x whereas only four make up 10.x. For 'signal (5)' is section-5 in volume-4 for 10.x but volume-5 for 11.x.
# man 1 kill
# man 1 what
# man 4 core
# man 5 signal
If these core files from the midaemon are being produced with regularity, then as Chris suggested, send them on to HP for analysis.
You might also see if you have the man pages for 'midaemon' on your server:
# man 1 midaemon
Check, for errors too, in: /usr/perf/log/
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2000 01:24 AM
11-25-2000 01:24 AM
Re: How do I know if these core files I found are serious???
I would add, if you have cores on different machines with the SAME timestamp then you should investigate, a quick one would be to:
strings core
You could find out (like me, I had the case...) someone is looking for exploits...
Best regards
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2000 09:12 AM
11-25-2000 09:12 AM
Re: How do I know if these core files I found are serious???
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2000 02:25 AM
11-27-2000 02:25 AM
Re: How do I know if these core files I found are serious???
because the app is trying to allocate
more memory than the kernal default tolerance.
I believe the exact parameter is maxdsiz
but that'll depend on 10.20 and 11.
I read a relatively good doc that described
hpux tuning on hp-partners.com but lost
the link..
Good luck anyway,
Bill