Re: Can not start opendkim

From: Christian Rößner <cr_at_sys4.de>
Date: Wed, 9 Jul 2014 13:19:31 +0200

Hi again,

I did further debugging.

Am 08.07.2014 um 20:59 schrieb Murray S. Kucherawy <msk_at_blackops.org>:

> On Tue, 8 Jul 2014, Christian R??ner wrote:
>> opendkim: /etc/opendkim/opendkim.verify.conf: can't initialize reputation subsystem
>
> This is probably caused by opendkim trying to create two temporary on-disk hash tables but failing to do so.
>
> Do you have the TMPDIR environment variable set? It will try to use /var/tmp, or whatever is in TMPDIR if it's set.
>
> You could do an strace/truss to see what I/O error is causing this part of startup to fail.
>
> -MSK

The problem comes with USE_MDB

If compiling only with USE_DB, it works. If also using USE_MDB, it fails. I guess something is going wrong in the reputation.c file; in the #ifdef USE_MDB. There is cache and dups. I did not test, if I could simply add a snprintf inside, but after recompiling without this ldbm support, it seems to be the point of trouble.

Kind regards

-Christian Rößner

--
[*] sys4 AG
http://sys4.de, +49 (89) 30 90 46 64
Franziskanerstraße 15, 81669 München
Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Marc Schiffbauer
Aufsichtsratsvorsitzender: Florian Kirstein



Received on Wed Jul 09 2014 - 11:19:54 PST

This archive was generated by hypermail 2.3.0 : Wed Jul 09 2014 - 11:27:01 PST