Norman Zhang wrote:
Hi,

After installing cyrus-imapd from the contrib, I was prompted to convert the
/var/lib/imap/mailboxes.db. But I get the following error not being able
convert db3 to flat. Would someone please tell me how can I fix this?

Why was /var/lib/imap/mailboxes.db there?
Did you have a previous version of cyrus-imapd manually installed (i.e not via rpm)?
If there's no useful data there, I suggest you remove the rpm, rm -rf /var/lib/imap, rm -rf /var/spool/imap and reinstall the rpm.
Otherwise, if you have previuosly compiled cyrus-imapd yourself *and* the data there is useful, it's possible that the database format for mailboxes.db is incompatible with the one used by the rpm. Use your previous binary install to dump it to a flat file (ctl_mboxlist -d), install the rpm and then recover it (ctl_mboxlist -u). You'll probably have to use the previous binary install to convert other files (cvt_cyrusdb) away from berkeley db.
It's also possible that simply running a db_upgrade (from the package db4-utils) on the affected file will solve the problem.


Bye -- Que les importa a las viudas, a los hu�rfanos, a los desvalidos si las masacres se hacen en nombre del totalitarismo o en el sagrado nombre de la libertad y la democracia. Mahatma Gandhi (1869 - 1948)

Attachment: pgp00000.pgp
Description: PGP signature



Reply via email to