DB4 error?
Craig Ringer
craig at postnewspapers.com.au
Fri Apr 23 06:32:02 EDT 2004
On Wed, 2004-04-21 at 19:38, Noll Janos wrote:
> ------------
> Apr 21 11:07:19 lmtpunix[16815]: DBERROR db4: Logging region out of
> memory; you may need to increase its size
> Apr 21 11:07:19 lmtpunix[16815]: DBERROR: opening /var/imap/deliver.db:
> Cannot allocate memory
> Apr 21 11:07:19 lmtpunix[16815]: DBERROR: opening /var/imap/deliver.db:
> cyrusdb error
> Apr 21 11:07:19 lmtpunix[16815]: FATAL: lmtpd: unable to init duplicate
> delivery database
> ----------
If you can, I'd stop the master and then run db_verify on deliver.db. I
wouldn't be surprised to see it fail.
When I encountered deliver.db corruption, I simply stopped the master,
verified the deliver db (it was corrupt), moved deliver.db and the
contents of the db/ directory out of the way, and started the master
again. At worst, we'd have a few messages not hardlinked in the spool
that should be, and possibly "vacation" messages re-sent (but we don't
use that, so it wasn't an issue).
I'd also take this opportunity to save a plaintext copy of the mailboxes
list with 'ctl_mboxlist -d > /var/imap/mailboxes_`date -I`.txt' (or
similar).
Craig Ringer
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
More information about the Info-cyrus
mailing list