[exim] Re: Problem with exim_tidydb after upgrading to 4.96

Top Page
Delete this message
Reply to this message
Author: Mike Clarke
Date:  
To: exim-users
Subject: [exim] Re: Problem with exim_tidydb after upgrading to 4.96
On Friday, 8 September 2023 20:49:26 BST Jeremy Harris via Exim-users wrote:

> On 08/09/2023 20:27, Mike Clarke via Exim-users wrote:
> > So it's looking for wait-remote_smtp.db instead of wait-remote_smtp.
> >
> > With these symlinks exim_tidydb now works without errors. I was wondering
> > if this is a bug with 4.96 or if the new version now require the
> > database files to have a .db suffix so I fired up a new virtual system
> > with exim 4.96 which created database files with the ,db suffix. So for
> > my current system should I just rename the database files, or even just
> > delete them and let exim create new ones?
>
> Delete them.
>
> Either the library used for these hints DBs has changed
> the names of files it uses, or a different library is being used.
> Starting over is always safe so long as all "old" exim processes
> have terminated. You lose any long-term history (but for this
> specific use, we don't even care about that).


Thanks. Before resorting to deleting the old files I tried with just renaming them with a
'.db' suffix (after stopping the exim service) and things have been running fine for the last
few days.

However it does appear that there is a minor bug in need of fixing. Tracing exim_tidydb /
var/spool/exim wait-remote_smtp when the correctly named database file doesn't exist
shows that it tries to open remote_auth_smtp.db but refers to remote_auth_smtp (without
the .db suffix) in the error message

open("/var/spool/exim/db/wait-remote_smtp.db",O_RDWR|O_CLOEXEC,00) ERR#2 'No 
such file or directory'
fstatat(AT_FDCWD,"/usr/share/nls/C/libc.cat",0x820551010,0x0) ERR#2 'No such file or 
directory'
fstatat(AT_FDCWD,"/usr/share/nls/libc/C",0x820551010,0x0) ERR#2 'No such file or 
directory'
fstatat(AT_FDCWD,"/usr/local/share/nls/C/libc.cat",0x820551010,0x0) ERR#2 'No such file 
or directory'
fstatat(AT_FDCWD,"/usr/local/share/nls/libc/C",0x820551010,0x0) ERR#2 'No such file or 
directory'
** Failed to open DBM file /var/spool/exim/db/wait-remote_smtp for writing:
write(1,"** Failed to open DBM file /var/"...,76) = 76 (0x4c)
   No such file or directory
write(1,"   No such file or directory\n",29)     = 29 (0x1d)


--
Mike Clarke

--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-users-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/