DISCLAIMER : Please note that blog owner takes no responsibility of any kind for any type of data loss or damage by trying any of the command/method mentioned in this blog. You may use the commands/method/scripts on your own responsibility.If you find something useful, a comment would be appreciated to let other viewers also know that the solution/method work(ed) for you.


Stopping and restarting the errdemon in AIX


Here are the commands related to error demon in AIX

 To stop logging run the below command
          #/usr/lib/errstop

 To get rid of that log.
     # rm /var/adm/ras/errlog 

 To restart the daemon, thus creating a new error log
    # /usr/lib/errdemon

To determine the path to your system's error log file, run the following command:
   # /usr/lib/errdemon -l
 output :
        # /usr/lib/errdemon -l
 Error Log Attributes
---------------------------------------------
Log File                /var/adm/ras/errlog
Log Size                1048576 bytes
Memory Buffer Size      32768 bytes
Duplicate Removal       true
Duplicate Interval      10000 milliseconds
Duplicate Error Maximum 1000

   # errpt -a------------To display a detailed report of all the errors

   #errclear--- Deletes entries from the error log.
   #errinstall--- Installs messages in the error logging message sets.
   #errupdate ------Updates the Error Record Template repository.

  /usr/adm/ras/errlog
#errpt -A -j identifier - to check the error log with a specific identifier
#errclear 0  - clears the error log
# /usr/lib/errstop  - stops the error deamon
# /usr/lib/errdemon  - starts error deamon

Do you like this story?

No comments:

Post a Comment