amavisd-new failed to start after upgrade to FreeBSD 11.2
Miroslav Lachman
000.fbsd at quip.cz
Thu Oct 4 09:32:28 UTC 2018
Miroslav Lachman wrote on 2018/10/04 11:12:
> I upgraded mailserver from 10.4 to 11.2 (it is amd64 with GENERIC kernel).
> All packages were reinstalled from repository built in our poudriere for
> 11.2. Everything works except amavisd-new.
for the records - 8 hours after upgrad and the same error happens on
another mailserver. Amavisd is spamming log with errors about "BDB
can't connect db env" and does not pass any e-mail messages.
> I have maillog full of errors:
>
> Oct 4 10:21:17 roxy amavis[89209]: (!!)TROUBLE in child_init_hook: BDB
> can't connect db env. at /var/amavis/db: BDB0087 DB_RUNRECOVERY: Fatal
> error, run database recovery, No such process. at (eval 93) line 338.
> Oct 4 10:21:17 roxy amavis[89209]: (!)_DIE: Suicide in child_init_hook:
> BDB can't connect db env. at /var/amavis/db: BDB0087 DB_RUNRECOVERY:
> Fatal error, run database recovery, No such process. at (eval 93) line 338.
> Oct 4 10:21:17 roxy amavis[89210]: (!!)TROUBLE in child_init_hook: BDB
> can''t connect db env. at /var/amavis/db: BDB0087 DB_RUNRECOVERY: Fatal
> error, run database recovery, No such file or directory. at (eval 93)
> line 338.
[...]
> I found the same reports on the internet but no solution how to fix
> this. (enable_db=0 is temporary workaround but it disables some functions)
[...]
> Are there somebody with working setup of Amavisd-new on FreeBSD 11.2
> with enable_db=1?
More information about the freebsd-ports
mailing list