Re: Cyrus failure after full disk

2012-10-18 Thread Tom Plancon

Andy,

That took care of it! Thanks much!

Thomas E. Plancon
CAD/IS Manager

B K A Architects, Inc.
142 Crescent Street
Brockton, MA 02302

tel: 508 . 583 . 5603 ext 313
fax: 508 . 584 . 2914
www.bkaarchitects.com 
On 10/18/2012 4:12 PM, Andrew Morgan wrote:

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

Re: Cyrus failure after full disk

2012-10-18 Thread Andrew Morgan
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


Cyrus failure after full disk

2012-10-18 Thread Tom Plancon

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.


Thanks!
--
Thomas E. Plancon
CAD/IS Manager

B K A Architects, Inc.
142 Crescent Street
Brockton, MA 02302

tel: 508 . 583 . 5603 ext 313
fax: 508 . 584 . 2914
www.bkaarchitects.com 

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