Error Log File In Aix
Contents |
errreporter script. Download the sample errreporter.conf configuration file. The AIX Error Logging Facility Sandor W. Sklar The primary goal of every UNIX systems administrator is to ensure that the systems that they are responsible for are functioning aix errpt log file smoothly and with the best performance possible, 100% of the time. File systems running out
Aix Log File Location
of space, applications dumping core, and Ethernet adapter failures are just a sample of the types of things that can trip up aix system log file a system, impacting that goal. Therefore, it is critical that the people responsible for a system are aware of anything that might have an impact on attaining that 100% system availability. One of the things that
Unix System Log File
makes AIX my favorite flavor of UNIX is that, besides all the standard tools, daemons, and configuration files that are present in all flavors of UNIX, IBM has provided a number of enhancements that make the monitoring, reliability, and administration of RS/6000 systems second to none. This article will focus on one of those tools: the error logging facility. I'll show you how the AIX error logging facility works, then I'll present solaris system log file a program I wrote that checks the log for error messages, filters out any error messages you wish to ignore, and sends an email to the systems administrator. The Error Logging Subsystem On most UNIX systems, information and errors from system events and processes are managed by the syslog daemon (syslogd); depending on settings in the configuration file /etc/syslog.conf, messages are passed from the operating system, daemons, and applications to the console, to log files, or to nowhere at all. AIX includes the syslog daemon, and it is used in the same way that other UNIX-based operating systems use it. In addition to syslog, though, AIX also contains another facility for the management of hardware, operating system, and application messages and errors. This facility, while simple in its operation, provides unique and valuable insight into the health and happiness of an RS/6000 system. The AIX error logging facility components are part of the bos.rte and the bos.sysmgt.serv_aid packages, both of which are automatically placed on the system as part of the base operating system installation. Some of these components are shown in Table 1. Unlike the syslog daemon, which performs no logging at all in its default configuration as shipped, the error logging facility requires no configuration before it can provide useful information about the system.
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 - http://aix4admins.blogspot.com/2011/08/error-logging-usrliberrdemon-restarts.html Authentication User - Group User - Login User - Password HMC ASMI DPO HMC Basics/Console HMC CLI http://web.stanford.edu/~ssklar/errreporter/article.html HMC/P7 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 log file - Virtualization 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 system log file - VG, NFS 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 dae
errreporter script. Download the sample errreporter.conf configuration file. The AIX Error Logging Facility Sandor W. Sklar The primary goal of every UNIX systems administrator is to ensure that the systems that they are responsible for are functioning smoothly and with the best performance possible, 100% of the time. File systems running out of space, applications dumping core, and Ethernet adapter failures are just a sample of the types of things that can trip up a system, impacting that goal. Therefore, it is critical that the people responsible for a system are aware of anything that might have an impact on attaining that 100% system availability. One of the things that makes AIX my favorite flavor of UNIX is that, besides all the standard tools, daemons, and configuration files that are present in all flavors of UNIX, IBM has provided a number of enhancements that make the monitoring, reliability, and administration of RS/6000 systems second to none. This article will focus on one of those tools: the error logging facility. I'll show you how the AIX error logging facility works, then I'll present a program I wrote that checks the log for error messages, filters out any error messages you wish to ignore, and sends an email to the systems administrator. The Error Logging Subsystem On most UNIX systems, information and errors from system events and processes are managed by the syslog daemon (syslogd); depending on settings in the configuration file /etc/syslog.conf, messages are passed from the operating system, daemons, and applications to the console, to log files, or to nowhere at all. AIX includes the syslog daemon, and it is used in the same way that other UNIX-based operating systems use it. In addition to syslog, though, AIX also contains another facility for the management of hardware, operating system, and application messages and errors. This facility, while simpl