On Mon, Mar 31, 2014 at 12:45:57PM -0400, Deeztek Support wrote:

> >What Postfix service (daemon) logged this message?  Was it after
> >a Postfix reload, restart, or some other time?
> 
> No it happens seemingly at random.

You need to examine your logs more carefully.  The tlsmgr(8) process
only opens the cache databases on startup, in before chroot
initialization (which happens whether chroot is used or not).

Therefore, the errors you report can only happen when tlsmgr(8) is
restarted.  On a system with a steady stream of email, tlsmgr(8)
never exits unless you reload or restart Postfix.

So you would only expect cache database open events after a reload
or restart, or on systems that process only a trickle of email,
where tlsmgr(8) might exit because it is idle.

Regardless, when the database is opened, it is automatically
truncated, which should never fail.  However the particular
fatal log message you report "open database: ..." only occurs
in one place in Postfix:

    dict_sdbm.c:    msg_fatal("open database %s: %m", dbm_path);

You must be one of the folks who never got the memo about not using
"sdbm". :-)  Switch to Berkeley DB "btree" for your scache databases.

-- 
        Viktor.

Reply via email to