Aix Error Logger
Contents |
Backup Commands CPU - Processes Crontab - At Date - Time Devices Dump - Core Errpt - Alog Firmware IO - AIO, DIO, CIO Memory - Pag. Space ODM Printing SRC Startup - Shutdown Syslogd System - Kernel Tunables User - Authentication http://aix4admins.blogspot.com/2011/08/error-logging-usrliberrdemon-restarts.html User - Group User - Login User - Password HMC ASMI DPO HMC Basics/Console HMC CLI HMC/P7 http://www.unixmantra.com/2013/08/aix-error-logging.html Install HMC Upd./Upgr. ISD Basics RMC NETWORKS Basics - Dev., Route Basics - Prot., Subnet Basics - VLAN Commands DSH - PSSH Eth. Chan. Ethernet Adapter IVE - HEA Netcd NFS RSH - RCP Sendmail SSH - SCP SSH - X11 Telnet - FTP NIM Basics - Commands Bootpd - Tftpd Client (Install) Client (Machines) LPP Source MKSYSB Nimadm SPOT PERFORMANCE Basics CPU - General CPU - Virtualization error log I/O - LVM I/O - iostat, fcstat Netw. - General Netw. - SEA, Virt. Eth. RAM - General RAM - svmon RAM - VMM Tools - topas, nmon Tools - vmstat STORAGE - BACKUP Adapter Basics - SAN Basics - Settings EMC Hitachi HP EVA - SSA MPIO SDD SDDPCM Tape Devices UPD. - INSTALL Basics Commands IFIX POWERHA Appl. Monitor Basics Build - Configure CAA Clverify Commands - Cases Config too long DARE - Snapshot Disk Heartbeat Network - Topology Storage - VG, NFS aix error log POWERVM Basics Commands AME - AMS CDROM - DVDROM LPM NIB - LA NPIV SEA Shared Storage Pool SR-IOV - vNIC VIOS update/upgrade Virt. Eth. Adapter Virt. Proc. - Ent. Cap. VSCSI VSCSI - Stor. Pool EXTRA +others alt_disk awk - sed bash citrix java kdb ksh linux - install locale multibos perl profiles rbac Rsh samba screen script sudo syslog-ng vi Errpt - Diag - Alog ERROR LOGGING: The errdemon is started during system initialization and continuously monitors the special file /dev/error for new entries sent by either the kernel or by applications. The label of each new entry is checked against the contents of the Error Record Template Repository, and if a match is found, additional information about the system environment or hardware status is added. A memory buffer is set by the errdemon process, and newly arrived entries are put into the buffer before they are written to the log to minimize the possibility of a lost entry. The errlog file is a circular log, storing as many entries as can fit within its defined size, the default is /var/adm/ras/errlog and it is in binary format The name and size of the error log file and the size of the memory buffer may be viewed with the errdemon command: # /usr/lib/errdemon -l Log File /var/adm/ras/errlog Log Size 1048576 bytes Memory Buffer Size 32768 bytes ------------------------------ /usr/lib/errdemon restarts the errdemon program /usr/lib/errstop stops the error logging daemon initiated by the errdemon program /usr/lib
steps that are required to check the AIX error log. After the terminal window is open, simply type errpt |pg(pgpermits you to display one page at a time) The columns that you need to review are: TIMESTAMP (Column #2) Provides a shortcut version of the date and time. Example:0827041513 0827= August 27th 0415= 4:15 AM OR 04:15 hours 13 = the year, 2013 T(Column #3) Displays the type code for the error: I= Informational P= Permanent T= Temporary Warning: If a type code ofP (Permanent)appears, contact the appropriate AIX Support. C(Column #4) Displays a descriptor of the environment in which the error has occurred. The codes are: H= Hardware S= Software O= Operating Environment Few Example Command To display a complete summary report, enter: errpt To display a complete detailed report, enter: errpt -a To display a detailed report of all errors logged for the error identifier E19E094F, enter: errpt -a -j E19E094F To list error-record templates for which logging is turned off for any error-log entries, enter: errpt -t -F log=0 To view all entries from the alternate error-log file /var/adm/ras/errlog.alternate, enter: errpt -i /var/adm/ras/errlog.alternate To view all hardware entries from the error-log file enter: errpt -d H To view all software entries from the error-log file enter: errpt -d S To display a detailed report of all errors logged for the error label ERRLOG_ON, enter: errpt -a -J ERRLOG_ON To display a detailed report of all errors and group duplicate errors, enter: errpt -aD To display the error-record template repository, enter: errpt -t To disable the reporting of the ERRLOG_OFF event (error ID 192AC071), type the following: errupdate