README.Debian.database.gz

Henrique de Moraes Holschuh hmh at debian.org
Fri May 12 18:13:52 UTC 2006


Matyi,

I am redirecting your email to the Debian cyrus package maintenance
mailinglist, as the other co-maintainers are more versed on this upgrade
procedure than I am.

On Fri, 12 May 2006, Matyi Gábor wrote:
> I'm upgrading my cyrus 2.1 to 2.2. I removed the old packages and compilled 
> and installed the new ones. 
> 
> Database backends have changed!
> 
> I got this warning.
> 
> Comparation between /usr/lib/cyrus/cyrus-db-types.txt 
> and /usr/lib/cyrus/cyrus-db-types.active shows that database backends for 
> Cyrus IMAPd
> have been changed.
> 
> This means that those databases for which the database backends changed 
> might need to be converted manually to the new format, using the
> cvt_cyrusdb(8) utility.
> 
> Please refer to /usr/share/doc/cyrus-common-2.2/README.Debian.database for 
> more information.  Do not start cyrmaster until you have
> converted the databases to the new format.
> 
> /etc/init.d/cyrus2.2: Database backends mismatch! You must manually
> /etc/init.d/cyrus2.2: verify and update the Cyrus databases to the
> /etc/init.d/cyrus2.2: new backends.
> /etc/init.d/cyrus2.2: Please refer 
> to /usr/share/doc/cyrus-common-2.2/README.Debian
> /etc/init.d/cyrus2.2: for instructions.
> 
> 
> I tried to make this migrating, but It is not managed. I have trouble with 
> the documentation README.Debian.database.gz. It is absolutely unclear from 
> this documentation what I have to do exactly. Please help me and probably 
> a little bit extend your document. 
> 
> 
> mygep:/usr/share/doc/cyrus-doc-2.2# 
> diff -u /usr/lib/cyrus/cyrus-db-types.active /usr/lib/cyrus/cyrus-db-types.txt
> --- /usr/lib/cyrus/cyrus-db-types.active        2006-03-16 
> 19:06:05.000000000 +0100
> +++ /usr/lib/cyrus/cyrus-db-types.txt   2006-05-12 09:38:24.000000000 +0200
> @@ -1,6 +1 @@
> -DBENGINE BerkeleyDB3.2
> -DUPLICATE db3_nosync
> -MBOX skiplist
> -SEEN skiplist
> -SUBS flat
> -TLS db3_nosync
> +DBENGINE BerkeleyDB4.2
> 
> According this I tried to convert just the db databases. I installed the 
> package libdb3-util that having db_upgrade. But it doesn't have man page 

You need the db_upgrade utility for the *target* libdb version, i.e. you
need the one from Berkeley DB 4.2.  It is in the package db4.2-util and it
is called db4.2_upgrade.

I will leave your other questions and suggestions on improvement for the
other co-maintainers to address.

> what I could read. Next problem that I don't know that in this case which 
> files I have to convert and where. Within /var/lib/cyrus there are many 
> files. 
> 
> I think adding just few rows to this document would help for many peoples .
> 
> Thanks.
> 
> Gabor Matyi

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh



More information about the Pkg-Cyrus-imapd-Debian-devel mailing list