cvt_cyrusdb and berkeley log files

Andreas andreas at conectiva.com.br
Tue Mar 2 12:52:12 EST 2004


On Tue, Mar 02, 2004 at 12:30:16PM -0500, Ken Murchison wrote:
> >The only way to remedy this situation is to remove the relevant log files.
> >Anybody care to comment?
> 
> That's what I have done in the past.  The problem is that the log files 
> still have references to the now nonexistent mailboxes.db.  What needs 

Yes, but those transactions have already been commited, right? At least in
my case db_archive shows no log files in use.

> to happen is that the mailbox in question needs to be removed from the 
> BDB environment so we don't try to recover it.  Its possible that doing 
> a checkpoint (ctl_cyrusdb -c) before the conversion may solve the 
> problem, but I have never tried it.

Thanks, I'll try this. One catch is that cyrus has to be running so that
a checkpoint can be made. 

Which brings me to the next question, when cyrus is cleanly shut down, does it
perform a checkpoint? If not, then perhaps this should be added to the shutdown
scripts.

If I run "db_archive" in the DB environment, I get no log files listed, which 
seems to indicate that all transactions have already been commited. Perhaps 
just a coincidence in my very low traffic environment?


---
Home Page: http://asg.web.cmu.edu/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