DBERROR: critical database situation

2017-01-04 Thread absolutely_free--- via Info-cyrus
Hi,I am using cyrus-imapd23-2.3.19_2 on FreeBSD.After BSD upgrade (from 10 to 11) I get problems with cyrus.I get this kind of errors on: Jan 4 09:27:31 mail imaps[65141]: DBERROR db5: pthread suspend failed: Invalid argumentJan 4 09:27:31 mail imaps[65141]: DBERROR db5: BDB0061 PANIC: Invalid

R: Re: R: Re: R: Re: DBERROR: critical database situation

2017-01-04 Thread absolutely_free--- via Info-cyrus
I followed those steps: 1) shutdown imap daemon 2) rm /var/imap/db/* 3) rm /var/imap/tls_session.db and /var/imap/deliver.db 4) reconstruct -f (as cyrus user) 5) changed /usr/local/etc/imapd.conf in this manner: #tlscache_db: berkeley-nosync tlscache_db: skiplist #ptscache_db: berkeley

Re: DBERROR: critical database situation

2017-01-04 Thread Bron Gondwana via Info-cyrus
2.4 was releasted in 2010, it's 2017. We advise not to run Berkeley DB (even on 2.3.19), because it doesn't upgrade very nicely. I would advise that you get some version 10 binaries and use cvt_cyrusdb to convert all your berkeley databases to skiplist. Skiplist in 2.3.19 is rock solid.

Re: DBERROR: critical database situation

2017-01-04 Thread Niels Dettenbach via Info-cyrus
Am Mittwoch, 4. Januar 2017, 09:45:47 CET schrieb absolutely_free--- via Info- cyrus: > Hi, > I am using cyrus-imapd23-2.3.19_2 on FreeBSD. > After BSD upgrade (from 10 to 11) I get problems with cyrus. > I get this kind of errors on: > > Jan 4 09:27:31 mail imaps[65141]: DBERROR db5: pthread

R: Re: DBERROR: critical database situation

2017-01-04 Thread absolutely_free--- via Info-cyrus
Hi Niels, thank you for your reply. I am using cyrus from sources (ports). root@mail:/var/imap# find . -name "*.db" -exec file '{}' \; ./mailboxes.db: Cyrus skiplist DB ./annotations.db: Cyrus skiplist DB ./db.backup1/annotations.db: Cyrus skiplist DB ./db.backup1/mailboxes.db: Cyrus skiplist DB

Re: R: Re: DBERROR: critical database situation

2017-01-04 Thread Niels Dettenbach via Info-cyrus
Am Mittwoch, 4. Januar 2017, 11:18:42 CET schrieb absolutely_free--- via Info- cyrus: > ./tls_sessions.db: Berkeley DB (Btree, version 9, little-endian) > ./deliver.db: Berkeley DB (Btree, version 9, little-endian) > > So, I can convert tls_sessions and deliver db to skiplist format, right? > How

Re: R: Re: DBERROR: critical database situation

2017-01-04 Thread Bron Gondwana via Info-cyrus
Indeed, with all the right libraries. You can't upgrade libdb without everything going to shit, which is why we have ditched BDB - the upgrade path is bogus. Bron. On Wed, 4 Jan 2017, at 21:20, absolutely_free--- via Info-cyrus wrote: > > Hi Bron, > thank you for you reply. > What do

Re: R: Re: R: Re: DBERROR: critical database situation

2017-01-04 Thread Niels Dettenbach via Info-cyrus
Am Mittwoch, 4. Januar 2017, 12:08:55 CET schrieb absolutely_free--- via Info- cyrus: > After deleting /var/imap/db/*, /var/imap/mailboxes.db and > /var/imap/deliver.db, it rans fine for about 20 minutes, and after: tls_sessions and deliver.db are not important (afaik) . Files within ./db ARE

R: Re: DBERROR: critical database situation

2017-01-04 Thread absolutely_free--- via Info-cyrus
Hi Bron,thank you for you reply.What do you mean with "get some version 10 binaries"?Do you mean "binaries from FreeBSD 10"? Thank you Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe:

R: Re: R: Re: DBERROR: critical database situation

2017-01-04 Thread absolutely_free--- via Info-cyrus
After deleting /var/imap/db/*, /var/imap/mailboxes.db and /var/imap/deliver.db, it rans fine for about 20 minutes, and after: Jan 4 11:58:41 mail lmtpunix[60214]: DBERROR db5: pthread suspend failed: Invalid argument Jan 4 11:58:41 mail lmtpunix[60214]: DBERROR db5: BDB0061 PANIC: Invalid

Re: R: Re: DBERROR: critical database situation

2017-01-04 Thread Bron Gondwana via Info-cyrus
Oh good, you can just delete those two BDB files with Cyrus shut down (and change them to skiplist while you're at it!) Once you've done that you can delete everything in the $confdir/db folder too. (delete might mean take a copy somewhere else until you're happy everything is working of

Re: R: Re: R: Re: DBERROR: critical database situation

2017-01-04 Thread Bron Gondwana via Info-cyrus
Just removing the config options that say berkeley for those two databases in imapd.conf should do the trick (followed by nuking them again, and while Cyrus is shut down) Bron. On Wed, 4 Jan 2017, at 22:08, absolutely_free--- via Info-cyrus wrote: > After deleting /var/imap/db/*,