Date: Thu, 4 Oct 2018 11:12:13 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> To: flo@FreeBSD.org, FreeBSD Ports <ports@freebsd.org> Subject: amavisd-new failed to start after upgrade to FreeBSD 11.2 Message-ID: <26c1950d-fe76-4164-7bc5-3f625bb42921@quip.cz>
next in thread | raw e-mail | index | archive | help
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. 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. Oct 4 10:21:17 roxy amavis[89210]: (!)_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. Oct 4 10:21:17 roxy amavis[89208]: (!!)TROUBLE in child_init_hook: register_proc: BDB N c_get: BDB0060 PANIC: fatal region error detected; run recovery, . at (eval 93) line 222. Oct 4 10:21:17 roxy amavis[89208]: (!)_DIE: Suicide in child_init_hook: register_proc: BDB N c_get: BDB0060 PANIC: fatal region error detected; run recovery, . at (eval 93) line 222. Oct 4 10:21:17 roxy amavis[89208]: (!)Amavis::END: DB unregistering failed: Oct 4 10:21:17 roxy amavis[89211]: (!!)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. Oct 4 10:21:17 roxy amavis[89211]: (!)_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. Oct 4 10:21:17 roxy amavis[89212]: (!!)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 tried to create empty /var/amavis/db with right permissions but it doesn't help. 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) https://lists.amavis.org/pipermail/amavis-users/2018-January/005182.html https://lists.amavis.org/pipermail/amavis-users/2018-April/005338.html 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 Are there somebody with working setup of Amavisd-new on FreeBSD 11.2 with enable_db=1? Kind regards Miroslav Lachman
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?26c1950d-fe76-4164-7bc5-3f625bb42921>