1

Topic: Amavisd Suicide in child_init_hook: BDB can't connect db env. at /var/

==== Required information ====
- iRedMail version: 0.9.5-1
- Linux/BSD distribution name and version: FreeBSD 11-p3
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MariaDB
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro?
- Related log if you're reporting an issue:
====

iRedMail installed in Jail.

I migrated the vmail folder from an older installation, but didn't touch anything else. Amavis does not start with following error message:

Nov 25 20:33:15 mail amavis[95395]: (!!)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.
Nov 25 20:33:15 mail amavis[95395]: (!)_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.

2 (edited by madmaxx 2016-11-26 20:01:13)

Re: Amavisd Suicide in child_init_hook: BDB can't connect db env. at /var/

This was solved with

touch /var/spool/amavis/db/env.db

and stopping/starting the jail.

However, now I get this

Nov 25 21:22:13 mail amavis[97176]: (!)DENIED ACCESS from IP 192.168.0.1, policy bank 'ORIGINATING'

192.168.0.1 being the address of the jail. I added the address to inet_acl, but it didnt help.

//EDIT//
Nevermind, same error still persists.

3

Re: Amavisd Suicide in child_init_hook: BDB can't connect db env. at /var/

I gave up an reinstalled on ubuntu, so I cannout try out any troubleshooting.

4

Re: Amavisd Suicide in child_init_hook: BDB can't connect db env. at /var/

Is this issue solved now?

----

Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee