Subject: DBERROR with cyrus
To: None <tech-pkg@netbsd.org>
From: sigsegv <sigsegv@rambler.ru>
List: tech-pkg
Date: 04/14/2005 00:56:35
Greetings, has anyone experienced problems with the following packages:

db4-4.3.27nb1
cyrus-imapd-2.2.12

There seems to be a problem, as cyrus starts using most CPU time filling up logs with:

Apr 13 22:05:12 u10 master[25572]: about to exec /usr/pkg/cyrus/bin/lmtpd
Apr 13 22:05:12 u10 lmtpunix[25572]: DBERROR: invalid berkeley_cachesize value, using internal default
Apr 13 22:05:12 u10 lmtpunix[25572]: DBERROR : db4
Apr 13 22:05:12 u10 lmtpunix[25572]: DBERROR: critical database situation
Apr 13 22:05:12 u10 master[328]: process 25572 exited, status 75
Apr 13 22:05:12 u10 master[328]: service lmtpunix pid 25572 in READY state: terminated abnormally

I removed /var/imap and /var/spool/imap directories, and ran '/etc/rc.d/cyrus start' which automatically recreated them, but delivering mail produced the same errors.

Searching on Google seems to suggest there could be bugs in db4?? Does anyone know a workaround?