Re: Cyrus failure after full disk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 18 Oct 2012, Tom Plancon wrote:

> Hi all,
>
> I'm running a mail server with cyrus imap and postfix. I've had a bit of a 
> disaster where a runaway process, not related to email, filled my root 
> directory. I've take care of that and got most of the space back but now I'm 
> not receiving email and maillog is reporting this:
>
> Oct 18 14:55:53 pelican lmtpunix[32764]: DBERROR db4: Commonly caused by 
> moving a database from one database environment
> Oct 18 14:55:53 pelican lmtpunix[32764]: DBERROR db4: to another without 
> clearing the database LSNs, or by removing all of
> Oct 18 14:55:53 pelican lmtpunix[32764]: DBERROR db4: the log files from a 
> database environment
> Oct 18 14:55:53 pelican lmtpunix[32764]: DBERROR db4: 
> /var/lib/imap/deliver.db: unexpected file type or format
> Oct 18 14:55:53 pelican lmtpunix[32764]: DBERROR: opening 
> /var/lib/imap/deliver.db: Invalid argument
> Oct 18 14:55:53 pelican lmtpunix[32764]: DBERROR: opening 
> /var/lib/imap/deliver.db: cyrusdb error
> Oct 18 14:55:53 pelican lmtpunix[32764]: FATAL: lmtpd: unable to init 
> duplicate delivery database
> Oct 18 14:55:53 pelican master[3213]: process 32764 exited, status 75
> Oct 18 14:55:53 pelican master[3213]: service lmtpunix pid 32764 in READY 
> state: terminated abnormally
> Oct 18 14:55:53 pelican master[32765]: about to exec 
> /usr/lib/cyrus-imapd/lmtpd
>
> I've had to reconstruct mail boxes before but nothing like this! Any idea 
> how to repair this mess? I'm running CentOS 6.

1. Stop Cyrus
2. Delete /var/lib/imap/deliver.db
3. Delete the contents of /var/lib/imap/db/
4. Start Cyrus

deliver.db contains (mainly) transient data about messages.  If you delete 
it, you may get a repeated message from anyone using a vacation responder, 
but otherwise there are no negative consequences.

 	Andy
----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus


[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux