HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
cancel
Showing results for 
Search instead for 
Did you mean: 

Memory fault(coredump)

 
masood bt
Regular Advisor

Memory fault(coredump)

I think I am going to mention 3 issues here

Server underwent a planned reboot on 21 Apr

crontab -l has this

0 0 * * 0,3                     /var/opt/ignite/create_recovery_image.sh

 

This script failed on Apr 22. It didnt get triggerred.

 

To investigate the reason - I was browsing this 11.23 HPUX server and then I was trying to see /var/mail/root

I want to see what happened on 22 Apr

# ls -lrt /var/mail/root
-rw-rw---- 1 root mail 89551281 Apr 23 19:00 /var/mail/root
#

As you can see it is a large file.

I was not sure how to grep for that 22 Apr date

I didnt want to do this but I did a vi /var/mail/root

server was knackered I felt for a second. I pressed ctrl C

I get this message "

Memory fault(coredump)

and then I got the prompt back

Server is alright

1. why did the script fail

2. how do I grep for an event in a very large file (not very important for me at the moment)

3. should I worry about memory fault (core dump)

Many thanks

Behind every Great fortune, there is a crime
1 REPLY

Re: Memory fault(coredump)

 > 89551281 Apr 23 19:00 /var/mail/root
> I was not sure how to grep for that 22 Apr date

You can of course use mailx to read root's mail.  The messages should be sorted by date received.

You can use "h $" to go to the end.  And "z-" to go back a page.  Or binary search with "h message-number".
>1. why did the script fail

You need to check the mail or cron logs.

> 2. how do I grep for an event in a very large file

You need to find the pattern and just grep for it. grep doesn't care how large it is.  :-)

>3. should I worry about memory fault (core dump)

No, use "file core" and if from vi, just remove it.