To terminate the errdemon daemon, enter:
/usr/lib/errstop
To start the error-logging daemon, enter:
/usr/lib/errdemon
errdemon [ [ -B BufferSize ] [ -i File ] [ -s LogSize ] | -l ]
-i File Uses the error log file specified by the File variable. The specified file
name is saved in the error log configuration database and is immediately
put into use.
There are three files in /var/adm/ras that are part of the errlog process
-rw-r--r-- 1 bin bin 197206 Apr 20 09:33 codepoint.cat
-rw-r--r-- 1 root system 47857 Jun 07 16:43 errlog
-r--r--r-- 1 bin bin 110900 May 21 17:01 errtmplt
sometimes if something is really corrupt you can restore them from a mksysb
and then do an errclear...
You can also run errpt -a >> /myerrorlog
then errclear 0
and the log is empty and you still have a copy of the errpt...
confirmation:
if errlog is missing in /var/adm/ras/, the system will re-create it once re-booted. i am using aix 4.3.3 and tested it.
but, only got/have these files:
errlog
errtmplt
don't have this file and wondering what's this for:
codepoint.cat
thanks again.
p.s.
i wanted i new log coz our system is online and can't be re-booted anytime, so what we did was copied "errlog" from other machine. tedious, eh?
correction from my original query: "errlog" file is in /var/adm/ras, commands are in /usr/lib.
The errinstall command can be used to add messages to the
Codepoint.cat the error log message catalog. It used to be in /var/adm/ras...
Guess it is moved.....
/usr/lib/nls/msg/$LANG/codepoint.cat
Contains the error log message catalog. In
the United States, the value of the $LANG
environment variable is En_US.
I thought it would be automatically recreated. I imagine it would be
recreated if you did a /usr/lib/errstop and then /usr/lib/errdemon
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.