Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ errdemon(1) — AIX/RT 2.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

errpt, errpd

errstop

kill

error

nvram

errdemon

PURPOSE

     Starts the error-logging daemon.

SYNOPSIS
     /usr/lib/errdemon

DESCRIPTION

     The error-logging  demon errdemon collects  error records
     from  the operating  system by  reading the  special file
     /dev/error and places them in one of two error log files.
     errdemon creates the names of the two log files by adding
     a  .0  and .1  to  the  end of  the  file  name found  in
     /etc/rasconf.   If an  error  log file  does not  already
     exist, errdemon creates one.

     The  errdemon command  adds  error records  to the  first
     error  log file  until it  reaches the  maximum allowable
     length  specified   in  /etc/rasconf.   At   that  point,
     errdemon  closes the  first error  log file,  changes the
     file name from filename.0 to  filename.1, and opens a new
     filename.0.  Thus, the newest error records are always in
     filename.0.   When it  is full,  errdemon overwrites  the
     first file.

     You  can stop  the error-logging  demon by  sending it  a
     sigkill  signal (see  "errstop").  Normally,  the /etc/rc
     command file  runs errdemon at  system start up.   Only a
     user  operating   with  superuser  authority   can  start
     errdemon, and only one demon may be active at any time.

     If errdemon  is unable  to log  an error,  it logs  it in
     abbreviated form  in /dev/nvram.   Just one error  can be
     logged in /dev/nvram, so each subsequent error overwrites
     any  previous  entries.   When  the  system  is  started,
     errdemon  searches  for  a previously  written  entry  in
     /dev/nvram and, if  a record is found, records  it in one
     of the error log files and clears /dev/nvram.

FILES

     /dev/error               Source of error records.
     /dev/nvram               Non-volatile read-only memory.
     /etc/rasconf             Configuration file.
     /etc/rc                  System startup file.
     /usr/adm/ras/errfile*    Repository for error records.

RELATED INFORMATION

     The following commands:   "errpt, errpd,"  "errstop," and
     "kill."

     The error and  nvram files in AIX  Operating System Tech-
     nical Reference.

     AIX Operating System Programming Tools and Interfaces.

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026