الجمعة، 28 مايو 2010

Berkeley DB error

When tailing the exim log file, /var/log/exim_mainlog or when executing the script, /scripts/exim_tidydb you may get the error:

You can enter code or bash commands like this
2007-08-02 16:12:23 1IGOxi-0002jn-0u Berkeley DB error: page 96: illegal page type or format
2007-08-02 16:12:23 1IGOxi-0002jn-0u Berkeley DB error: PANIC: Invalid argument
2007-08-02 16:12:23 1IGOxi-0002jn-0u Berkeley DB error: fatal region error detected; run recovery


This can be fixed by the following steps:
Take the back up of
* /etc/exim.conf
* /var/spool/exim/db


Then
/etc/rc.d/init.d/exim stop
rm -Rfv /var/spool/exim/db/*
/scripts/eximup --force


The issue will be fixed.

ليست هناك تعليقات:

إرسال تعليق