Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Oct 2018 11:32:24 +0200
From:      Miroslav Lachman <000.fbsd@quip.cz>
To:        flo@FreeBSD.org, FreeBSD Ports <ports@freebsd.org>
Subject:   Re: amavisd-new failed to start after upgrade to FreeBSD 11.2
Message-ID:  <cff8b75e-f716-e33c-1c95-d14a5db6b612@quip.cz>
In-Reply-To: <26c1950d-fe76-4164-7bc5-3f625bb42921@quip.cz>
References:  <26c1950d-fe76-4164-7bc5-3f625bb42921@quip.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
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?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cff8b75e-f716-e33c-1c95-d14a5db6b612>