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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Prevent reporting a false error to error log

Status
Not open for further replies.

EvlMcgyver

Technical User
Apr 28, 2004
6
US
Greetings!!
I've done this once before, but have long forgotten how to do it since I only did it once and it was several years ago. I'm logging an error that is not a real error - just a false problem being reported. I want the error log to stop reporting errors for it, and I've forgotten how to do it. I could set up a cron job to delete it, of course, but I know there is a simple way to tell the error reporting action to stop writing this to the log. I'd appreciate any help on this as I've already wasted too much time googling it and weeding through the trash. I can give you the exact error, but all it will tell when you look it up is that it is an erroneous error =) Exact syntax would be appreciated (and saved for future reference =)

"If I had nine of my fingers missing,
I wouldn't type any slower!"
-- Mitch Hedberg
 
No... that isn't it...
I need more of an "err-Don't-notify" :)
Unless there's a way to use it that I haven't seen yet, that won't quite work for me. Thanks for the input though!!

"If I had nine of my fingers missing,
I wouldn't type any slower!"
-- Mitch Hedberg
 
Here is the error. It is a false error and a known bug - just not widely known, apparently. Most sites that show the error mention it in an Asian language.
---------------------------------------------------------------------------
LABEL: FCP_ARRAY_ERR25
IDENTIFIER: C8375BE4

Date/Time: Sat Jan 10 19:58:45 CST 2009
Sequence Number: 30959
Machine Id: 00C166DF4C00
Node Id: etnm0db03
Class: O
Type: INFO
Resource Name: hdisk132

Description
"CACHED DATA WILL BE LOST IF CONTROLLER FAILS"

Probable Causes
"USER DISABLED CACHE MIRRORING FOR THIS LUN"

User Causes
"CACHE MIRRORING DISABLED"

Recommended Actions
"ENABLE CACHE MIRRORING"
=============================================================
Here is what IBM says:

AIX host system event log error message:

"FCP_ARRAY_ERR25 CACHED DATA WILL BE LOST IF CONTROLLER FAILS"
This message indicates that caching is disabled on the DS4000. The message is erroneous. The caching is indeed enabled and the DS4000 subsystem log will indicate that caching is enabled. No action by the customer is required.
===========================================================
That being said, I just want to quit reporting and logging it to the error log.

Thanks for the help!!


"If I had nine of my fingers missing,
I wouldn't type any slower!"
-- Mitch Hedberg
 
Found in the Infocenter, Managing Error Logging (
Enabling and Disabling Logging for an Event
You can disable logging or reporting of a particular event by modifying the Log or the Report field of the error template for the event. You can use the errupdate command to change the current settings for an event.

Showing Events for Which Logging is Disabled
To list all events for which logging is currently disabled, type:

errpt -t -F Log=0 Events for which logging is disabled are not saved in the error log file.

Showing Events for Which Reporting is Disabled
To list all events for which reporting is currently disabled, type:

errpt -t -F Report=0 Events for which reporting is disabled are saved in the error log file when they occur, but they are not displayed by the errpt command.

Changing the Current Setting for an Event
To change the current settings for an event, you can use the errupdate command The necessary input to the errupdate command can be in a file or from standard input.

The following example uses standard input. To disable the reporting of the ERRLOG_OFF event (error ID 192AC071), type the following to run the errupdate command:

errupdate <Enter>
=192AC071: <Enter>
Report=False <Enter>
<Ctrl-D>
<Ctrl-D>
 
That was IT!
errupdate <Enter>
=192AC071: <Enter>
Report=False <Enter>
<Ctrl-D>
<Ctrl-D>

did the trick - took me a while to figure out all the stupid human tricks I was doing to prevent it from working, but finally got it figured out and it works. Thanks a ton!!
[thumbsup2]

"If I had nine of my fingers missing,
I wouldn't type any slower!"
-- Mitch Hedberg
 
EvlMcgyver,

I think MoreFeo deserve a Star! Don't you think so? :)

Regards,
Khalid
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top