Re: [Exim] problems compiling exim 4.12 on freebsd 4,7

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Nico Erfurth
CC: Philipp Gaschuetz, exim-users@exim.org
Subject: Re: [Exim] problems compiling exim 4.12 on freebsd 4,7
On Tue, 31 Dec 2002, Nico Erfurth wrote:

> > "failed to open DB file /var/spool/exim/db/retry: Inappropriate file type or
> > format"


The most common cause of this is a change of DB library. The files were
written with the old library, and the new library doesn't like them.
This can happen sneakily if you recompile Exim after your OS has been
updated and (unnoticed by you) the OS upgrade has changed versions of
Berkeley DB. (It is annoying that they keep changing DB formats, and
even the API, with different BDB releases.)

> Have you tried to delete the files in /var/spool/exim/db?


That's the best thing to do. Exim will then rebuild them over time,
using the current DB library.

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.