Re: cvt_cyrusdb and berkeley log files

2004-03-08 Thread Andreas
On Tue, Mar 02, 2004 at 01:24:24PM -0500, Ken Murchison wrote: > If the checkpoint doesn't work, then we need to find out the correct way > to remove a database from a BDB environment. I got a response from the berkeley folks. See the thread "How to remove a database from the environment?" at ht

Re: cvt_cyrusdb and berkeley log files

2004-03-02 Thread Andreas
On Tue, Mar 02, 2004 at 01:24:24PM -0500, Ken Murchison wrote: > >Thanks, I'll try this. One catch is that cyrus has to be running so that > >a checkpoint can be made. > > Why? I don't believe it has to be running. In fact, I just > successfully checkpointed a stopped server. Right, I tested

Re: cvt_cyrusdb and berkeley log files

2004-03-02 Thread Ken Murchison
Andreas wrote: 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 m

Re: cvt_cyrusdb and berkeley log files

2004-03-02 Thread Andreas
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 mailb

Re: cvt_cyrusdb and berkeley log files

2004-03-02 Thread Ken Murchison
Andreas wrote: While playing with the cvt_cyrusdb utility (and Simon's excellent cvt_cyrusdb_all script) I came across this problem when converting a database *from* berkeley *to* skiplist. Let's say I have /var/lib/imap/mailboxes.db in berkeley format. I also have berkeley transaction log files i

Re: cvt_cyrusdb and berkeley log files

2004-03-02 Thread Andreas
On Tue, Mar 02, 2004 at 10:14:50AM -0500, Rob Siemborski wrote: > Its likely -- but did you remember to reconfigure cyrus to use skiplist to > read the mailbox list? Yes. Here is a full sequence of commands (some lines may wrap, sorry): (cyrus-imapd is stopped at this point) pandora [/var/lib/im

Re: cvt_cyrusdb and berkeley log files

2004-03-02 Thread Rob Siemborski
On Tue, 2 Mar 2004, Andreas wrote: > Now I restart cyrus. And get this in the logs: > ctl_cyrusdb[30046]: DBERROR db4: /var/lib/imap/mailboxes.db: unexpected file type or > format > ctl_cyrusdb[30046]: DBERROR db4: Recovery function for LSN 1 4471396 failed > ctl_cyrusdb[30046]: DBERROR db4: PANI

cvt_cyrusdb and berkeley log files

2004-03-02 Thread Andreas
While playing with the cvt_cyrusdb utility (and Simon's excellent cvt_cyrusdb_all script) I came across this problem when converting a database *from* berkeley *to* skiplist. Let's say I have /var/lib/imap/mailboxes.db in berkeley format. I also have berkeley transaction log files in /var/lib/imap