Advertisements

AIX errpt error message: 0315-180 logread: UNEXPECTED EOF

If you see this error message

root@aix:/ # errpt -a
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.

And the log file is zeroed

root@aix:/ # ls -l /var/adm/ras/errlog
-rw-rw-r– 1 root system 0 Mar 14 09:38 /var/adm/ras/errlog

root@aix:/ # errclear 0
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.

Stop the error logging, remove the file and then restart it again

root@aix:/ # /usr/lib/errstop
root@aix:/ # rm /var/adm/ras/errlog
root@aix:/ # /usr/lib/errdemon

root@aix:/ # ls -l /var/adm/ras/errlog
-rw-rw-r– 1 root system 123404 Jul 11 14:33 /var/adm/ras/errlog

Advertisements
%d bloggers like this: