From owner-freebsd-ports@freebsd.org Thu Oct 4 09:12:25 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CE49A10C57F8 for ; Thu, 4 Oct 2018 09:12:25 +0000 (UTC) (envelope-from SRS0=nuDJ=MQ=quip.cz=000.fbsd@elsa.codelab.cz) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 55B2C8B9FB for ; Thu, 4 Oct 2018 09:12:25 +0000 (UTC) (envelope-from SRS0=nuDJ=MQ=quip.cz=000.fbsd@elsa.codelab.cz) Received: by mailman.ysv.freebsd.org (Postfix) id 1A42E10C57F7; Thu, 4 Oct 2018 09:12:25 +0000 (UTC) Delivered-To: ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D2F5410C57F6 for ; Thu, 4 Oct 2018 09:12:24 +0000 (UTC) (envelope-from SRS0=nuDJ=MQ=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 732738B9F7; Thu, 4 Oct 2018 09:12:24 +0000 (UTC) (envelope-from SRS0=nuDJ=MQ=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 7E13328426; Thu, 4 Oct 2018 11:12:15 +0200 (CEST) Received: from illbsd.quip.test (ip-86-49-16-209.net.upcbroadband.cz [86.49.16.209]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id A057C28411; Thu, 4 Oct 2018 11:12:13 +0200 (CEST) To: flo@FreeBSD.org, FreeBSD Ports Subject: amavisd-new failed to start after upgrade to FreeBSD 11.2 From: Miroslav Lachman <000.fbsd@quip.cz> Message-ID: <26c1950d-fe76-4164-7bc5-3f625bb42921@quip.cz> Date: Thu, 4 Oct 2018 11:12:13 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Oct 2018 09:12:26 -0000 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