cyrus-imapd: DBERROR db4: Database handles still open at env

Arnau Bria arnau at emergetux.net
Mon Oct 8 04:52:49 EDT 2007


Hi,

I've posted my problem in gentoo forums, but after few days I still
have no response, so I decide to ask here, sorry for the cross-posting.

I've updated my cyrus-imapd and now I'm not able to make it work again.
Every time I try to fetch my mail (using pop3) I get an error in my MUA:

Error occurred while processing mail:
-ERR [SYS/PERM] Error initializing TLS


and I see this in log files:

Oct  5 18:22:21 afrodita pop3[14410]: DBERROR db4: Database handles still open at environment close
Oct  5 18:22:21 afrodita pop3[14410]: DBERROR db4: Open database handle: /var/imap/tls_sessions.db


This is my imapd.conf:


# grep . /etc/imapd.conf|grep -v "^#"
configdirectory:        /var/imap
defaultpartition: default
partition-default:      /var/spool/imap
partition-news: /var/spool/cyrus/news
newsspool: /var/spool/news
altnamespace: no
unixhierarchysep: no
lmtp_downcase_rcpt: yes
sievedir:               /var/imap/sieve
tls_ca_path:            /etc/ssl/postfix
tls_cert_file: /etc/ssl/postfix/newcert.pem
tls_key_file:  /etc/ssl/postfix/newkey.pem
tls_ca_file: /etc/ssl/postfix/cacert.pem
admins:                 cyrus
hashimapspool:          yes
allowanonymouslogin:    no
allowplaintext:         yes
popminpoll: 1
autocreatequota: 0
umask: 027
sasl_mech_list: PLAIN
sasl_minimum_layer: 0
sasl_pwcheck_method: saslauthd
sasl_auxprop_plugin: sasldb
sasl_auto_transition: no
tls_session_timeout: 1440
tls_cipher_list: TLSv1:SSLv3:SSLv2:!NULL:!EXPORT:!DES:!LOW:@STRENGTH


Notice I'm using postfix certs, cause I used:


#tls_cert_file: /etc/ssl/cyrus/newcert.pem
#tls_key_file:  /etc/ssl/cyrus/newkey.pem
#tls_ca_file: /etc/ssl/certs/cyrus-imapd-ca.pem


and now /etc/ssl/certs/cyrus-imapd-ca.pem does not exist, but I'm not sure if this is really important, we're talking about self-generated self-signed certs... I can generate new ones, but old were fine...

And those are cyrus' use flags:

Código:

[ebuild   R   ] net-mail/cyrus-imapd-2.2.13-r1  USE="ssl tcpd -afs -drac -idled -kerberos -pam -snmp -unsupported_8bit"



TIA,
-- 
Arnau Bria
http://blog.emergetux.net
Bombing for peace is like fucking for virginity


More information about the Info-cyrus mailing list