AIX errpt


 
Thread Tools Search this Thread
Operating Systems AIX AIX errpt
# 1  
Old 11-28-2014
Question AIX errpt

Hi,

just a short question:

Is a error label always equal to a error identifier?
So it does not matter if i search for an specific identifier (errpt -j) or a specific label (errpt -J)?

Regards
Ron
# 2  
Old 11-29-2014
I am not sure if i understand what you mean. Maybe this link will help you.

I hope this helps.

bakunin

Last edited by bakunin; 11-29-2014 at 08:25 PM..
This User Gave Thanks to bakunin For This Post:
# 3  
Old 12-01-2014
Hi bakunin,

thank you for response. My question seems to be "lost in translation" Smilie

Next try: I wanted to know if the relationship between a errpt identifier and a errpt label is unique (1:1).
I guess it is but i am not sure.

Regards
Ron

PS

I found this page but it does not seem to work properly:
AIX and pSeries Information Center
This User Gave Thanks to -=XrAy=- For This Post:
# 4  
Old 12-01-2014
You asked about the difference between using the -j versus -J option...there can be a difference. The key is the system error template database. The following command will list the fields of the system error template database:
Code:
errpt -t    #summary
or
errpt -at  #full

Do these commands to see how many unique identifiers are in your template. I demonstrate by example.
Code:
[josephgr@freezer2 ras] errpt -t | head -1
Id       Label               Type CL Description
[josephgr@freezer2 ras] errpt -t | awk '{print $1}' | wc -l          
     454
[josephgr@freezer2 ras] errpt -t | awk '{print $1}' | sort -u | wc -l
     454

So I have 454 unique error identifiers because when I sort for uniqueness I get the same number without sorting for uniqueness.
Now lets do the same thing for error labels..
Code:
josephgr@freezer2 ras] errpt -t | head -1
Id       Label               Type CL Description]
[josephgr@freezer2 ras] errpt -t | awk '{print $2}' | wc -l
     454
[josephgr@freezer2 ras] errpt -t | awk '{print $2}' | sort -u | wc -l
     450

So some labels map to different identifiers since I only have 450 unique labels.
In my case I did this to find the labels that match to different identifiers...
Code:
[josephgr@freezer2 ras] errpt -t | egrep CPU_FAIL_CAP_REDUCT\|ECH_CANNOT_FAILOVER
080FC4F9 ECH_CANNOT_FAILOVER INFO H  ETHERCHANNEL CANNOT FAIL OVER
0BD8A97C CPU_FAIL_CAP_REDUCT PEND S  SPLPAR: CPU Failure - Capacity Reduction
12E7B75C CPU_FAIL_CAP_REDUCT INFO S  SPLPAR: CPU Failure - Capacity Reduction
41007351 CPU_FAIL_CAP_REDUCT INFO S  SPLPAR: CPU Failure - Capacity Reduction
6E913FBE ECH_CANNOT_FAILOVER INFO H  ETHERCHANNEL CANNOT FAIL OVER
70BDA755 ECH_CANNOT_FAILOVER INFO H  ETHERCHANNEL CANNOT FAIL OVER

Q.E.D.
However, note that they are not really the same message since there differ in type and classification for the most part, but not always.
These 2 Users Gave Thanks to blackrageous For This Post:
# 5  
Old 12-01-2014
Very interesting, blackrageous! I am impressed. A few seemingly unconnected parts now make perfect sense.

bakunin
# 6  
Old 12-02-2014
Thank You very much blackrageous!

Regards,
Ron
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

AIX errpt : ( E7A89C7D Local adapter disabled after unstable singleton for long time )

Medel : 9117-MMC OS: AIX 6.1 Patch level : 6100-07-04-1216 Hacmp version : HACMP v 6.1.0.8 Oracle : 11.2.0.3 RAC Node : 2 node Dear, my one node server has been restarted early this morning, So, i tried to start HA and Oracle database. after that, the follow error appears at the node... (1 Reply)
Discussion started by: tomato00
1 Replies

2. AIX

Production Issue in AIX Oracle RAC [errpt output : DUPLICATE IP ADDRESS DETECTED IN THE NET]

1)We have 2 node cluster RAC on AIX: ->test1 ->test3 2) After rebooting server both the node sequentailly, we are getting below error from errpt command : # errpt |more IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION FE2DEE00 0901223914 P S SYSXAIXIF DUPLICATE IP ADDRESS... (2 Replies)
Discussion started by: manjusharma128
2 Replies

3. Emergency UNIX and Linux Support

errpt in AIX

The below is my code in general according to AIX books To display a detailed report of all errors logged in the past 24 hours, enter: errpt -a -s mmddhhmmyy where the mmddhhmmyy string equals the current month, day, hour, minute, and year, minus 24 hours. I have tried the... (2 Replies)
Discussion started by: Sounddappan
2 Replies

4. AIX

errpt message

Hello I have this message from errpt command IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION BFE4C025 0803155809 P H sysplanar0 UNDETERMINED ERROR BFE4C025 0802155509 P H sysplanar0 UNDETERMINED ERROR BFE4C025 0801155209 P H sysplanar0 UNDETERMINED ERROR BFE4C025 ... (6 Replies)
Discussion started by: lo-lp-kl
6 Replies

5. AIX

Help required in analyzing errpt in aix 5.3

I have received errpt like this.Any help will be highly appreciated.Recently my application has been migrated to aix 5.3 and working fine in aix 5.2 with out crashes. LABEL: CORE_DUMP IDENTIFIER: C69F5C9B Date/Time: Thu Apr 23 09:41:29 EDT 2009 Sequence Number: 948... (3 Replies)
Discussion started by: kittu1979
3 Replies

6. Shell Programming and Scripting

errpt script

I am looking for a script out there that can email me when my AIX server throws and error that is picked up by errpt -a Thanks SeaCros (6 Replies)
Discussion started by: seacros
6 Replies

7. AIX

AIX 5.3 errpt full of message: DISK OPERATION ERROR

Hi All, Can anyone explain me the meanning of the following errors: LABEL: SC_DISK_ERR2 IDENTIFIER: B6267342 Description DISK OPERATION ERROR Probable Causes DASD DEVICE Failure Causes DISK DRIVE DISK DRIVE ELECTRONICS Recommended Actions PERFORM PROBLEM DETERMINATION... (1 Reply)
Discussion started by: gianlu
1 Replies

8. SuSE

ERRPT in aix , replacement in suse linux?

Errpt- Generates an error report from entries in the log. Errpt is a AIX command. we want equivallent suse linux command. If there is no exact replace ment pls give us alternative way. we want to log each n evry system error and generate an error report (2 Replies)
Discussion started by: vrguha
2 Replies

9. UNIX for Dummies Questions & Answers

errpt

Hello World, When I issue the errpt command 1581762B 0826133303 T H hdisk1 DISK OPERATION ERROR C14C511C 0826133303 T H scsi0 ADAPTER ERROR I found these two unusual errors, wat exactly do these mean ? Im on an aix box. Thanks (3 Replies)
Discussion started by: cubicle^dweller
3 Replies

10. UNIX for Dummies Questions & Answers

errpt on aix entry.

hi, i have an entry in errpt on aix... any help? --------------------------------------------------------------------------- LABEL: AMQFFST3 IDENTIFIER: 8FED25B9 Date/Time: Fri Nov 15 07:20:05 Sequence Number: 2715 Machine Id: 000694DF4C00 Node Id: ... (1 Reply)
Discussion started by: yls177
1 Replies
Login or Register to Ask a Question