Re: [Exim] Exim fails to get write lock on db files

Pàgina inicial
Delete this message
Reply to this message
Autor: Jon Armitage
Data:  
A: exim-users
Assumpte: Re: [Exim] Exim fails to get write lock on db files
----- Original Message -----
From: "Philip Hazel" <ph10@???>
To: "Jon Armitage" <jon.armitage@???>
Cc: <Exim-users@???>
Sent: Wednesday, April 14, 2004 10:38 AM
Subject: Re: [Exim] Exim fails to get write lock on db files


> On Wed, 14 Apr 2004, Jon Armitage wrote:
>
> > Sorry, I should have said more clearly that I have kept the two builds
> > entirely separate. I still get the complaints if I shut down the

production
> > version and run the new one as a daemon.
>
> FAQ055 has something similar, but not identical:
>
>
> Q0055: What does the error Failed to open wait-remote_smtp database:

Invalid argument mean?
>
> A0055: This is something that happens if you have existing DBM hints

files when you install a new version of Exim that is compiled to use a
different or upgraded DBM library. The simplest thing to try is
>
>    rm /var/spool/exim/db/*

>
> This removes all the hints files. Exim will start afresh and build new

ones. If the symptom recurs, it suggests there is some problem with your DBM
library.
>
>
> --
> Philip Hazel            University of Cambridge Computing Service,
> ph10@???      Cambridge, England. Phone: +44 1223 334714.
> Get the Exim 4 book:    http://www.uit.co.uk/exim-book

>

Thanks to everyone for the suggestions.

I deleted both sets of hint files, but the problem was still there. I feared
from the start it would be db related.

I have tried a clean install on RedHat 9, and that works as expected, so I
expect we shall swap the machines over instead of upgrading.

If I do find a reason/solution I will let you know.

Jon Armitage