I was just thinking : Couldn't it be that ctl_mboxlist -u already
created the new mailboxes.db as skiplist ?
I mean, as far as I have understood it, ctl_mboxlist -u creates the
mailboxes.db using the backend defined in /etc/imapd.conf, that is
skiplist if you did not state anything, berkeley if you added a line like :
mboxlist_db: berkeley
Maybe the problem lies there
Hope this helps
By the way, does anyone know if there are other databases to upgrade
when moving from BDB 3 to BDB 4 ? I am not quite sure about some stuff
that's in /var/imap, such as /var/imap/db. Do I have to upgrade it ? or
is it not very important, in which case I can delete it and start from
scratch.
Thank you very much
Pascal
Sandra wrote:
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
--
Pascal Mouret
DSII - Direction du Système d'Information et de l'Informatique
Université de Provence - 3, place Victor Hugo - 13331 Marseille cedex 3
Tél: 04 91 10 64 02 E-mail: [EMAIL PROTECTED]
Fax: 04 91 08 35 00 ou [EMAIL PROTECTED]
(Ligne d'assistance (interne) : 04 91 10 85 55 / 04 42 95 34 54)
---
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