1833062 Members
2926 Online
110049 Solutions
New Discussion

Memory fault (coredump)

 
SOLVED
Go to solution
GILBERT RAEL
New Member

Memory fault (coredump)

I am receiving memory fault coredump message when executing the last command. How can this issue be resolved.
1 REPLY 1
James R. Ferguson
Acclaimed Contributor
Solution

Re: Memory fault (coredump)

Hi:

You may have a corrupted /var/adm/wtmp file. Clearing (or repairing) it may resolve the problem:

# cat /dev/null > /var/adm/wtmp

If, on the other hand, you want to try and preserve the contents of 'wtmp', do this:

# /usr/sbin/acct/fwtmp < /var/adm/wtmp > /tmp/wtmp

At this point, you may edit the /tmp/wtmp file, since it is a ASCII file.

# /usr/sbin/acct/fwtmp -ic < /tmp/wtmp > /var/adm/wtmp

...JRF...