Problema con cyrus2.2 y db Berkeley 4.2
Aldrin Gonzalo Martoq Ahumada
amartoq en dcc.uchile.cl
Mar Mar 13 03:38:27 CLT 2007
On 3/9/07, Simon Iribarren <simon.iribarren en gmail.com> wrote:
>
> Estimados Listeros,
>
> Estoy tratando de montar un servidor de correo con postfix y cyrus2.2
> sobre debian testing casi sagradamente al dia excluyendo un par de cosas.
>
> cyrus 2.2
> cyrus-admin-2.2_2.2.13-10
> cyrus-clients-2.2_2.2.13-10
> cyrus-common-2.2_2.2.13-10
> cyrus-doc-2.2_2.2.13-10
> cyrus-imapd-2.2_2.2.13-10
> libcyrus-imap-perl22_2.2.13-10
>
> Al arrancar cyrus2.2 me sale el siguiente error
>
> /var/lib/cyrus/db# /etc/init.d/cyrus2.2 start
> /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.
> /etc/init.d/cyrus2.2: Cyrmaster not started.
>
> Revisando un diff me agrega esto :
>
> --- cyrus-db-types.active 2007-02-13 04:28:29.000000000 -0300
> +++ cyrus-db-types.txt 2006-12-09 13:07:20.000000000 -0300
> @@ -1,6 +1,9 @@
> -DBENGINE BerkeleyDB3.2
> -DUPLICATE db3_nosync
> +ANNOTATION skiplist
> +DBENGINE BerkeleyDB4.2
> +DUPLICATE berkeley-nosync
> MBOX skiplist
> +PTS berkeley
> +QUOTA quotalegacy
> SEEN skiplist
> SUBS flat
> -TLS db3_nosync
> +TLS berkeley-nosync
>
> Busque las db
>
> var/lib/cyrus/db# locate *.db
> /var/lib/cyrus/db.backup1/mailboxes.db
> /var/lib/cyrus/db.backup2/mailboxes.db
> /var/lib/cyrus/deliver.db
> /var/lib/cyrus/mailboxes.db
> /var/lib/cyrus/tls_sessions.db
>
> Aplique lo que dice
>
> http://lists.alioth.debian.org/pipermail/pkg-cyrus-imapd-debian-devel/2006-May/000988.html
>
> # db4.2_upgrade /var/lib/cyrus/mailboxes.db
> db_upgrade: /var/lib/cyrus/mailboxes.db: unrecognized file type
> db_upgrade: DB->upgrade: /var/lib/cyrus/mailboxes.db: Invalid argument
1. Y que dice el archivo /usr/share/doc/cyrus-common-2.2/README.Debian
mencionado?
2. Que te dice lo siguiente:
var/lib/cyrus/db# file $(locate *.db)
--
Aldrin Martoq
Más información sobre la lista de distribución Linux