[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: exim trouble with DB file...



On Fri, Feb 21, 2003 at 01:49:42PM -0500, Derrick 'dman' Hudson wrote:
> On Fri, Feb 21, 2003 at 12:17:04AM -0600, Will Trillich wrote:
> | since late december, exim has had trouble with "retry" and
> | "wait-remote_smtp" files in /var/spool/exim/db.
> | 
> | i get this daily in my cron reports--and i'm not sure where to
> | fix it (or if it needs fixing):
> | 
> | 	/etc/cron.daily/exim:
> | 	failed to open DB file /var/spool/exim/db/retry: Invalid argument
> | 	failed to open DB file /var/spool/exim/db/wait-remote_smtp: Invalid argument
> | 	run-parts: /etc/cron.daily/exim exited with return code 1
> | 
> | where do i figure out where the invalid argument is coming from?
> 
> I'm not sure why you're getting Invalid Argument, but try removing all
> of the db files and the corresponding lockfiles.  They are just hints
> that exim stores for more efficient handling of future deliveries and
> aren't essential for correct operation.  It's possible that you
> changed the exim binary in late december, and that binary is linked
> against a different libdb than the previous one was and as a result
> exim can't read the db file.  If that's the case, then removing them
> will fix the problem.

You could try running exim under ltrace and/or strace and see where/what
is getting confused with the db files.

-- 
Rob Weir <rweir@ertius.org>				http://ertius.org/

Attachment: pgpUXxUHizAs2.pgp
Description: PGP signature


Reply to: