Re: problem upgrading mailboxes.db with cvt_cyrusdb : can't open old database / DBERROR db4: Program version 4.4 doesn't match environment version 0.5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Simon Matter wrote:


I think you have the BerkeleyDB problem which has been discussed on this
list again and again. Looks like your new box uses another BDB version and
your db files are in the wrong format. You have to somehow convert those
files to the version you need, there are tools to do that in the BDB
distribution I think. Otherwise try to convert to skiplist on the old
server, skiplist does not have the "BerkeleyDB" problem.

Simon



Thnx. I did a lot of additional googling and looking up mailarchives, but this berkeley-stuff always gave me a headache and I did not manage to find a proper documentation or do it on my own.

But I found another solution to export the mailboxes-file on the old machine and importing it on the new installation with the ctl_mboxfile-tool.

  * ctl_mboxfile -d  on the old installation
  * empty config/db on the new installation (or just dont copy it from the old one)
  * create an empty mailboxes.db-file on the new installation
  * ctl_mboxfile -u on the new installation

This will create a skipfile-style mailboxes.db - file for me. Closely monitoring syslog will help to detect problems. I put a documentation of my migration-process online at http://www.goldfisch.at/knowwiki/migrate_cyrus


best,
peter

--
mag. peter pilsl - goldfisch.at
IT-Consulting
Tel: +43-650-3574035
Tel: +43-1-8900602
Fax: +43-1-8900602-15
skype: peter.pilsl
pilsl@xxxxxxxxxxxx
www.goldfisch.at
----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux