Gentoo Archives: gentoo-user

From: Alexander Reitzel <loel@×××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] cyrus-imapd: DBERROR db4: Database handles still open at env
Date: Wed, 10 Oct 2007 10:24:20
Message-Id: 200710101208.45658.loel@gmx.de
In Reply to: [gentoo-user] cyrus-imapd: DBERROR db4: Database handles still open at env by Arnau Bria
1 did you also update your db version?
2
3 Am Mittwoch, 10. Oktober 2007 11:52:25 schrieb Arnau Bria:
4 > Hi,
5 >
6 > I've posted my question in forums and cyrus list, but I still have no
7 > reply... so, I decided to post here too.
8 >
9 >
10 > I've updated my cyrus-imapd
11 > and now I'm not able to make it work again. Every time I try to fetch
12 > my mail (using pop3) I get an error in my MUA:
13 >
14 > Error occurred while processing mail:
15 > -ERR [SYS/PERM] Error initializing TLS
16 >
17 >
18 > and I see this in log files:
19 >
20 > Oct 5 18:22:21 afrodita pop3[14410]: DBERROR db4: Database handles
21 > still open at environment close Oct 5 18:22:21 afrodita pop3[14410]:
22 > DBERROR db4: Open database handle: /var/imap/tls_sessions.db
23 >
24 >
25 > This is my imapd.conf:
26 >
27 >
28 > # grep . /etc/imapd.conf|grep -v "^#"
29 > configdirectory: /var/imap
30 > defaultpartition: default
31 > partition-default: /var/spool/imap
32 > partition-news: /var/spool/cyrus/news
33 > newsspool: /var/spool/news
34 > altnamespace: no
35 > unixhierarchysep: no
36 > lmtp_downcase_rcpt: yes
37 > sievedir: /var/imap/sieve
38 > tls_ca_path: /etc/ssl/postfix
39 > tls_cert_file: /etc/ssl/postfix/newcert.pem
40 > tls_key_file: /etc/ssl/postfix/newkey.pem
41 > tls_ca_file: /etc/ssl/postfix/cacert.pem
42 > admins: cyrus
43 > hashimapspool: yes
44 > allowanonymouslogin: no
45 > allowplaintext: yes
46 > popminpoll: 1
47 > autocreatequota: 0
48 > umask: 027
49 > sasl_mech_list: PLAIN
50 > sasl_minimum_layer: 0
51 > sasl_pwcheck_method: saslauthd
52 > sasl_auxprop_plugin: sasldb
53 > sasl_auto_transition: no
54 > tls_session_timeout: 1440
55 > tls_cipher_list: TLSv1:SSLv3:SSLv2:!NULL:!EXPORT:!DES:!LOW:@STRENGTH
56 >
57 >
58 > Notice I'm using postfix certs, cause I used:
59 >
60 >
61 > #tls_cert_file: /etc/ssl/cyrus/newcert.pem
62 > #tls_key_file: /etc/ssl/cyrus/newkey.pem
63 > #tls_ca_file: /etc/ssl/certs/cyrus-imapd-ca.pem
64 >
65 >
66 > and now /etc/ssl/certs/cyrus-imapd-ca.pem does not exist, but I'm not
67 > sure if this is really important, we're talking about self-generated
68 > self-signed certs... I can generate new ones, but old were fine...
69 >
70 > And those are cyrus use:
71 >
72 >
73 > [ebuild R ] net-mail/cyrus-imapd-2.2.13-r1 USE="ssl tcpd -afs
74 > -drac -idled -kerberos -pam -snmp -unsupported_8bit"
75 >
76 >
77 >
78 > TIA,
79 > --
80 > Arnau Bria
81 > http://blog.emergetux.net
82 > Bombing for peace is like fucking for virginity
83
84
85 --
86 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] cyrus-imapd: DBERROR db4: Database handles still open at env Arnau Bria <arnau@×××××××××.net>