Hello, I've just upgraded a mail gateway from FreeBSD 10.x to FreeBSD 11.x, and reinstalled every pkg/ports. Everything worked fine on 10.x but now I'm experiencing crashes from Amavisd-new children:
Apr 18 13:03:08 hostname amavis[77030]: (!!)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. Apr 18 13:03:08 hostname amavis[77030]: (!)_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 file or directory. at (eval 93) line 338. When it happens I have to stop amavisd, kill remaining children, remote content of /var/amavis/db, start amavisd. It's a very high traffic server (with mailing lists too), so I'll probably have to keep the setting "$enable_db = 1;" Other users are facing the same problem: https://forum.iredmail.org/topic12321-iredmail-support-amavisd-crashes-almost-daily-on-freebsd-11.html https://forum.iredmail.org/topic12034-iredmail-support-amavisd-suicide-in-childinithook-bdb-cant-connect-db-env-at-var.html Any idea how to solve this (urgent) problem? Thanks, Patrick -- related pkg installed: db48-4.8.30.0_2 db5-5.3.28_6 amavisd-new-2.11.0_2,1 clamav-0.100.0_1 spamassassin-3.4.1_11 perl5-5.26.1 p5-BerkeleyDB-0.55_1
