cvt_cyrusdb_all

Simon Matter simon.matter at ch.sauter-bc.com
Wed Aug 6 01:33:42 EDT 2003


> Hi,
>
> After installing cyrus-imapd, 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?

Hi,

You don't tell us much about your configuration, which distribution?

Since you installed a mandrake rpm, I guess you're running Linux Mandrake,
right. Now, the Mandrake rpms are derived from my RedHat rpms and AFAIK
maintained by Luca Olivetti. It looks to me like you installed an old
version of cyrus-imapd on a new Mandrake release, which doesn't work.
Check for current cyrus-imapd packages on Luca's webpage.

Simon

>
> Regards,
> Norman
>
> [root at mail root]# rpm -Uvh cyrus-imapd-2.1.13-1mdk.i586.rpm
> Preparing...    ###########################################[100%]
> 1:cyrus-imapd   ###########################################[100%]
>
> This is the first time that this package is being installed
> but there's an existing /var/lib/imap/mailboxes.db file so
> it's not possible to know if the current configuration of the
> various cyrus databases corresponds to the compiled in options.
> Please BACK UP your configuration and spool directory and run
> the /usr/lib/cyrus-imapd/cvt_cyrusdb_all utility.
> Remember to assign a password to user cyrus in order
> to administer the server.
>
> [root at mail root]# /usr/lib/cyrus-imapd/cvt_cyrusdb_all
> chmod: changing permissions of `/var/lib/imap/tmp': Operation not
> permitted
> -bash: line 1: cd: /root: Permission denied
> file: Using regular magic file `/usr/share/cyrus-imapd/rpm/magic'
> Converting from /var/lib/imap/mailboxes.db (db3) to
> /var/lib/imap/mailboxes.db.flat (flat)
> fatal error: can't initialize old database
> ERROR: unable to convert /var/lib/imap/mailboxes.db from db3 to flat
> file: Using regular magic file `/usr/share/cyrus-imapd/rpm/magic'
>
>





More information about the Info-cyrus mailing list