lost errlog

Hi, i have a problem with mi Aix system, the errlog file is initialized to 0, and i can't write in it, when i run the errpt teh error

0315-180 logread: UNEXPECTED EOF
0315-171 Unable to process the error log file /var/adm/ras/errlog.
0315-132 The supplied error log is not valid: /var/adm/ras/errlog.

can anyone help me with this, how can I restore the file?

thanks in advance

use errdemon -l to see what your useing for errlog.

# /usr/lib/errdemon -l
Error Log Attributes
--------------------------------------------
Log File                /var/adm/ras/errlog
Log Size                1048576 bytes
Memory Buffer Size      8192 bytes


# ls -l /var/adm/ras/errlog
-rw-r--r--   1 root     system    172318 Apr 12 12:00 /var/adm/ras/errlog

i have 0 errors in my log so i am assumeing that the errordemon is automaticly takeing that space.

try moveing the errlog and restarting the errdemon.

if that does not work try recreateing the errlog w/ the errdemon command.

Thanks, the errlog is back