Your Ad Here

IBM AIX/UNIX system storage administration ksh/perl scripting

Wednesday, March 18, 2009

Problem: 0315-132 The supplied error log is not valid: /var/adm/ras/errlog

When I tried to check errpt on an AIX 5.2 server, I got the following error.

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

# ls -l /var/adm/ras/errlog
-rw-rw-r-- 1 root system 0 Mar 09 13:40 /var/adm/ras/errlog
Solution:

1. Stop errdaemon

# /usr/lib/errstop
2. Remove /var/adm/ras/errlog
#  ls -l  /var/adm/ras/errlog
-rw-rw-r-- 1 root system 0 Mar 09 13:40 /var/adm/ras/errlog
# rm /var/adm/ras/errlog
3. Restart errdaemon
# /usr/lib/errdemon
4. Now errpt is normal.
# errpt
IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION
9DBCFDEE 0318135809 T O errdemon ERROR LOGGING TURNED ON

2 comments:

Unknown said...

Thanks a lot for great blog.I got stuck in starting error daemon, Very good steps.

akukuat said...

Thank you. very helpful. even on 2017.

Labels

Blog Archive

BlogCatalog