Am Mittwoch, 6. August 2003 00:31 schrieb Norman Zhang: > 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? > > Regards, > Norman > > [EMAIL PROTECTED] 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. > > [EMAIL PROTECTED] 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'
Maybe you have to run cvt_cyrusdb_all as the cyrus user ? --Christian