PDA

View Full Version : Many of "failed to open DB file /var/spool/exim/db/retry"



fernandoc83
09-07-2009, 08:57 AM
Hello,

I'm new in the forum but i have using DA for at least 4 years.
In one of my servers I see many of "failed to open DB file /var/spool/exim/db/retry: Connection timed out" and "failed to open DB file /var/spool/exim/db/wait-remote_smtp: Connection refused" lines and I not sure what is the meaning of this "error", you can see a little extract of my exim mainlog:

2009-09-07 09:10:35 1MPL7i-0001j0-QO == email@account.com R=lookuphost defer (-1): host lookup did not complete
2009-09-07 09:10:35 1MPL7i-0001j0-QO failed to open DB file /var/spool/exim/db/retry: Connection timed out
2009-09-07 09:10:38 1MMJD0-0008IY-Ms hoitmail.com [208.73.210.27] Connection refused
2009-09-07 09:10:38 1MMJD0-0008IY-Ms failed to open DB file /var/spool/exim/db/wait-remote_smtp: Connection refused
2009-09-07 09:10:38 1MMJD0-0008IY-Ms == email@account.com R=lookuphost T=remote_smtp defer (111): Connection refused
2009-09-07 09:10:38 1MMJD0-0008IY-Ms failed to open DB file /var/spool/exim/db/retry: Success
2009-09-07 09:11:27 1MGfze-0006H5-5C netizen.com [82.98.86.173] Connection timed out
2009-09-07 09:11:27 1MGfze-0006H5-5C failed to open DB file /var/spool/exim/db/wait-remote_smtp: Connection timed out
2009-09-07 09:11:27 1MGfze-0006H5-5C == email@account.com R=lookuphost T=remote_smtp defer (110): Connection timed out
2009-09-07 09:11:27 1MGfze-0006H5-5C failed to open DB file /var/spool/exim/db/retry: Success
2009-09-07 09:11:28 1MWXEF-0000KE-4S Remote host antispam21.skyonline.net [200.49.96.89] closed connection in response to RCPT TO:<email@account.com>
2009-09-07 09:11:28 1MWXEF-0000KE-4S failed to open DB file /var/spool/exim/db/wait-remote_smtp: Success

In the log I have many of "failed to open DB file" and this is that I cant understand why, thanks in advance!

Fernando

nobaloney
09-07-2009, 10:47 AM
Check to see if file exists. Check to see if you've got space left on the partition.

Jeff

fernandoc83
09-07-2009, 11:16 AM
Thanks for your response Jeff,

The disk space its ok, and the files exists but with .lockfile in the end of the name:

[root@server db]# pwd
/var/spool/exim/db
[root@server db]# ls -la
total 24
drwxr-x--- 2 mail mail 4096 2009-09-07 08:40 .
drwxr-xr-x 5 mail mail 4096 2009-05-26 14:50 ..
-rw-r----- 1 mail mail 0 2009-05-26 14:50 retry.lockfile
-rw-r----- 1 mail mail 0 2009-05-26 14:50 wait-remote_smtp.lockfile
[root@server db]#

I compare it with other server and name is with .lockfile too, Thanks!

Fernando

nobaloney
09-07-2009, 12:07 PM
Those are locks. Remove the files ending in lockfile.

Jeff

fernandoc83
09-08-2009, 09:22 AM
I remove the files but when I reboot exim it appear again and I conties seeing the same error in the log, Thanks Jeff

Fernando

nobaloney
09-09-2009, 10:20 AM
I don't know why exim is locking those files. Perhaps you can ask on the exim-users mailing list.

Jeff