upgrade problem 2.0.16 Berkeley DB 3 to 2.2.12 Berkeley DB 4
Sandra
sandra at ccuec.unicamp.br
Thu Jul 7 10:09:03 EDT 2005
I was trying the same procedure here : upgrade problem 2.0.16 Berkeley
DB 3 to 2.2.12 Berkeley DB 4
I have used the ctl_mboxlist -d to dump the old db3 mailboxes.db file ,
on the old machine . After a copy to the new
machine with 2.2.12 Berkeley DB 4, I did a ctl_mboxlist -u., and a new
mailboxes.db was created.
It was ok, running perfect.
But I would like to convert Berkeley DB do skiplist, and when I did the
following, there was a problem :
./cvt_cyrusdb /cyrus/imap/mailboxes.db berkeley-nosync
/cyrus/imap/mailboxes.db.new skiplist
Converting from /cyrus/imap/mailboxes.db (berkeley-nosync) to
/cyrus/imap/mailboxes.db.new (skiplist)
fatal error: can't open old database <<<<
Could anybody help me? If its working with DB4 why it can't read it?
Thanks - Sandra
which Mika Iisakkila wrote:
> Pascal Mouret wrote:
>
>> Has anybody got an idea ? Where did I go wrong ? Could it be a result of
>> running version 2.2.12 cvt_cyrusdb while 2.0.16 is still up ?
>
>
> Running two different versions (or even having them present on the
> system) of BDB libraries is always somewhat a problem. Save yourself
> a lot of trouble and use Cyrus' utilities to dump the mailbox database
> into a text file (ctl_mboxlist -d) on the old system, then read the
> database back with ctl_mboxlist -u on the new installation.
>
> cvt_cyrusdb is used to convert between two different Cyrus database
> backends, not to upgrade a Berkeley database.
>
> --mika
> ---
> 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