tls_prune dying on startup

Nic Bernstein nic at
Thu May 21 17:14:46 EDT 2015

I'm seeing a problem on 2.5.2 with creation of the tls_sessions.db file: 
"cyrus/tls_prune[31096]: DBERROR: opening /run/cyrus/tls_sessions.db: 
cyrusdb error"

It appears that tls_prune(8) can't create the file if it doesn't exist, 
and by exiting with an error, can cause master to die.  Since this file 
is supposed to be able to live (and die) on non-permanent storage, 
shouldn't tls_prune be able to cope with its absence?

To be clear, I have a tls_prune in START in cyrus.conf.

    START {
         recover        cmd="/usr/sbin/cyrus ctl_cyrusdb -r"
         delprune    cmd="/usr/sbin/cyrus expire -E 3"
         tlsprune    cmd="/usr/sbin/cyrus tls_prune"


Nic Bernstein                             nic at
Onlight, Inc.                   
1442 N Farwell Ave., Suite 600            v. 414.272.4477
Milwaukee, Wisconsin  53202

-------------- next part --------------
An HTML attachment was scrubbed...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nic.vcf
Type: text/x-vcard
Size: 271 bytes
Desc: not available
Url : 

More information about the Cyrus-devel mailing list