[Exim] failed to open DB file

Top Page
Delete this message
Reply to this message
Author: Bart van Dommelen
Date:  
To: 'exim-users@exim.org'
Subject: [Exim] failed to open DB file
Hi,

I upgraded a debian 2.2r2 Linux Mailserver from 3.12 to 3.22. Everything works
fine, but in the mainlog I get
"failed to open DB file /var/spool/exim/db/wait-remote_smtp". I used exim_dump
with this result:

gw:/var/spool/exim/db# exim_dumpdb /var/spool/exim wait-remote_smtp
failed to open DB file /var/spool/exim/db/wait-remote_smtp: Invalid argument

I compiled exim 3.22 using

ii  libdb2             2.4.14-2.7.7.1.c   The Berkeley database routines 
(run-time files).
ii  libdb2-dev         2.4.14-2.7.7.1.c   The Berkeley database routines 
(development files).


In the Makefile I declared:

USE_DB = yes
INCLUDE=-I/usr/inlude/db2
DMBLIB=-ldb2

When I start a debug session, this version of DBM is shown: Berkeley DB:
Sleepycat Software: DB 2.4.14: (6/2/98)

I hope someone has a suggestion, I suspect the DBM is out of date and needs to
be upgraded. . In version 3.12 this message did not appear.

Regards,

Bart van Dommelen.