RE: Various errors from cyrus maintenance processes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I don't think I have TLS enabled.  The only uncommented options for SSL/TLS are 
tls_ca_path: /etc/ssl/certs
tls_session_timeout: 1440
tls_cipher_list: TLSv1+HIGH:!aNULL:@STRENGTH.

Given that, I'm not sure why it's trying to access the file, but the error does seem harnless, right?

Oh, probably I should just comment the tlsprune job out.

There is, in fact, no /var/lib/cyrus/tls_sessions.db.

This is kind of a throw-away server; I'm just using it to hold a copy of my mail from a server that's going away.

Ross

P.S. Sorry for the top-posting; I'm stuck with Outlook over the web for now, and it doesn't seem designed for anything else.
________________________________________
From: Andrew Morgan [morgan@xxxxxxxx]
Sent: Wednesday, October 29, 2014 2:30 PM
To: Boylan, Ross
Cc: info-cyrus@xxxxxxxxxxxxxxxxxxxx
Subject: RE: Various errors from cyrus maintenance processes

On Wed, 29 Oct 2014, Boylan, Ross wrote:

> I've found at least a partial explanation: I forgot to mount the
> partition with /var/spool/cyrus.  I had installed cyrus onto the file
> system beneath the mount, but the mount was in effect when I created
> user.ross.* So it wasn't there to open.
>
> Does that explain the errors under /var/lib/cyrus as well (DBERROR:
> opening /var/lib/cyrus/tls_sessions.db: cyrusdb error)?  There was no
> mount on top of it.

tls_sessions.db may be created on demand, I forget.  I don't know if you
have SSL/TLS enabled on your host, but you could try making an SSL/TLS
connection.

> Both before an after the mount all files at and under /var/lib/cyrus and
> /var/spool/cyrus are owned by cyrus.
>
> Is there a way I can retrigger the jobs that caused the errors shown in the log?  Do I run them as root or cyrus?
> cryus.conf has
>      # this is only necessary if using duplicate delivery suppression
>        delprune        cmd="/usr/sbin/cyrus expire -E 3" at=0401
>
>        # this is only necessary if caching TLS sessions
>        tlsprune        cmd="/usr/sbin/cyrus tls_prune" at=0401
> I'm guessing I run the commands in quotes.

Sure, just make sure you run them as user cyrus.  You could also see if
any errors are reported when you start Cyrus or when you make an IMAP
connection.

        Andy
----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus




[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux