PDA

View Full Version : Berkeley DB error


wato
07-25-2006, 08:05 AM
hello,

my OS is debian with Exim 4.54, i have a lot of error like that in /var/log/exim/mainlog :

2006-07-25 03:34:13 1FfdXz-0003Qi-3x Berkeley DB error: /var/spool/exim/db/retry: hash version 5 requires a version upgrade

how to proceed to make this upgrade?

chatwizrd
07-25-2006, 08:30 AM
Upgrade your exim they are on version 4.62 now.

wato
07-25-2006, 10:30 AM
ok, thanks...but how to updade for DEBIAN ?

wato
07-31-2006, 03:26 AM
hello,

I've update exim like that :

wget http://files.directadmin.com/services/debian_3.1/da_exim-4.62.deb
dpkg -r --force-all exim
dpkg -P exim
dpkg -i da_exim-4.62.deb
/etc/init.d/exim restart


it's ok...but i've always the same error in mainlog :

Im Berkeley DB error: /var/spool/exim/db/retry: hash version 5 requires a version upgrade

i've others errors in mainlog :

Im failed to open database lock file /var/spool/exim/db/retry.lockfile: Permission denied (euid=8 egid=8)

# ls -l /var/spool/exim/db/retry.lockfile

-rw-r----- 1 root root 0 Nov 22 2004 /var/spool/exim/db/retry.lockfile

somebody can help me?

wato
08-10-2006, 06:41 AM
hello,

i found these in http://devel.reinikainen.net/docs/how-to/Exim/

--------------------
Sometimes you might get errors like these:

failed to open DB file /var/spool/exim/db/retry: File exists
failed to open DB file /var/spool/exim/db/wait-remote_smtp: File exists
Berkeley DB error: /var/spool/exim/db/retry: hash version 5 requires a version upgrade

in your main Exim log. This is apparently some sort of incompatibility between the Debian packaged Exim, and the compiled Exim. Simply delete these files and Exim will re-create them as needed.
--------------

i've deleted all files in /var/spool/exim/db and now it's ok :)