Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Erase Error File

Status
Not open for further replies.

farl

Technical User
Jan 5, 2002
19
AU
How are the items that come up in
# errpt -t -F Report=O
cleaned out ?

#errclean 0
#errclear -d S 0
#errclear -d H 0
do not clear them out.

The errors on this AIX 6.1 system are
184D77EF FWADUMP_SUSPEND INFO S Firmware-assisted system dump temporaril
1850F542 MINIDUMP INFO INFO 0 NVRAM WAS RE-INITIALIZED
33EED8El FWADUMP RESTART INFO S Firmware-assisted system dump restarted
45E4EO66 DUPCHECK OFF TEMP 0 Duplicate checking turned off
86DCO701 DUPCHECK-ON TEMP 0 Duplicate checking turned on
BO787FO2 NVRAM ERRDATA UNKN U CORRUPT DATA DETECTED .
DF9BDB86 FWADuMP_LOWMEM PERM S Firmware-assisted system dump initializa

which are undated so I want to erase them to see if they reoccur. I think they go back a long time as the unit seems to be working okay.

Thanks

 
Take a look in

/var/adm/ras and see if your using an alternate errlog

clear using

errclear -i /var/adm/ras/errlog.alternate 0

Mike

"Whenever I dwell for any length of time on my own shortcomings, they gradually begin to seem mild, harmless, rather engaging little things, not at all like the staring defects in other people's characters."
 
Mike
Thanks for reply.
Did not have /var/adm/ras/errlog.alternate
Only had /var/adm/ras/errlog
so ran
#errclear -i /var/adm/ras/errlog 0
and that did not clear the errors.
As some of the errors were firmware and nvram, thought of error log in SMS but that was empty.

Any more ideas ?

Thanks

 
Try stopping / restarting the err daemon

/usr/lib/errstop

cd /var/adm/ras

rm /var/adm/ras/errlog

Start the error-logging daemon

/usr/lib/errdemon

maybe someone did a >errlog or it's corrupted some other way.

Mike

"Whenever I dwell for any length of time on my own shortcomings, they gradually begin to seem mild, harmless, rather engaging little things, not at all like the staring defects in other people's characters."
 
Mike
Carried out your exact instructions and no luck. Did a ls on /var/adm/ras/ and errlog had been recreated with todays date and current time stamp. Also did a #shutdown -Fr.

The entries coming from running #errpt -t -F Report=O must be coming from another file.
Did #find / -name errlog -print and only got
/var/adm/ras/errlog plus that other annoying error that comes up in AIX 6.1 on every search.
find: 0652-023 Cannot open file /proc/28686

I am not an expert on unix syntax but would the search I use above bring up any file with errlog in its name like
errlog.alternate or errlog-alternate or errlog_alternate or alternate-errlog.
Been trawling back through all my systems right back to AIX 1.3 to try and catch other names the file may have been called over the years.

Your assistance is appreciated.
 
Hi farl, you would need to use '*errlog*' (inclusing the single quotes) in the -name for the find in order to find any file with errlog in the filename.

The internet - allowing those who don't know what they're talking about to have their say.
 
Ken
Thanks for that find tip.

Duke
Thanks for that reference about the error template. Found an article in Chapter 10 of the AIX 4.3 Problem Solving Guide and Reference which explained it all.

Regards
farl
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top