Re: exim trouble with DB file... SOLVED
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.
much better now. that was all i needed. thanks!
--
I use Debian/GNU Linux version 3.0;
Linux server 2.4.20-k6 #1 Mon Jan 13 23:49:14 EST 2003 i586 unknown
DEBIAN NEWBIE TIP #56 from Vineet Kumar <debian-user@virtual.doorstop.net>
:
Troubled by DOS-FORMAT OR MAC-FORMAT TEXT FILES? Here's another
way to deal with those troublesome ^M characters: a simple
tr -d '\015' < dos.file > reg.file
should do the trick. While we're on the subject, a Mac file
can be converted with
tr '\015' '\012' < mac.file > reg.file
You can do all your CR/LF translations with tr as long as you
can remember that macs use CRs, *nices use LFs, and DOS uses
CR+LF.
Also see http://newbieDoc.sourceForge.net/ ...
Reply to: