x32 to x64 convertion, Cyrus issue with annotations
ABBAS Alain
alain.abbas at libertech.fr
Mon Mar 19 20:06:03 CET 2012
Hello Jeroen
We made some more test on a kolab 2.3.4 x32 tried to migrate on a Kolab 2.3.4 x64 to be sure to not have version problems
on the Kolab 2.3.4 x32 :
export of mailboxes : ctl_mboxlist -d > /home/mboxlist.txt
export of annotations : db_dump /kolab/var/imapd/annotations.db >/home/annotations.db.txt
export of annotations another way : cvt_cyrusdb /kolab/var/imapd/annotations.db berkeley /home/annotations.db.flat flat
the Kolab was shutdown ,
Copy of the free files on the x64 machine
on the Kolab 2.3.4 x64
openpkg rc all stop
rm /kolab/var/imapd/db/*
rm /kolab/var/imapd/db.backup1/*
rm /kolab/var/imapd/db.backup2/*
rm /kolab/var/imapd/*.db
cd /kolab/var/imapd
ctl_mboxlist -u < /home/mboxlist.txt
First try with db_load
db_load -f /home/annotations.db.txt /kolab/var/imapd/annotations.db
chown kolab-r:kolab-r annotations.db
chmod 600 annotations.db
ctl_cyrusdb -r
tls_prune
ctl_cyrusdb -c
with this method the 4 characters are lost at the beginning of the annotations
when we check with cyradm event.default becomes t.default and so on
Second test with cvt_cyrusdb :
cvt_cyrusdb /home/marc/annotations.db.flat flat /kolab/var/imapd/annotations.db berkeley
Converting from /home/marc/annotations.db.flat (flat) to /kolab/var/imapd/annotations.db (berkeley)
Warning: apparently empty database converted.
and the annotations are empty when we check with cyradm
We made the test by conversion in skiplist too but same effect the 4 first characters are lost
i can send you the annotations exported on the x32 system too
I think there are a big bug there i dont see what we made wrong.
Alain
Regards
-----Message original-----
De: "Jeroen van Meeuwen (Kolab Systems)" <vanmeeuwen at kolabsys.com>
Envoyé: 18 mars 2012 19:05:34 UTC
Pour: "ABBAS Alain" <alain.abbas at libertech.fr>
Cc: kolab-users at kolab.org
Sujet : Re: x32 to x64 convertion, Cyrus issue with annotations
On 2012-03-16 18:48, ABBAS Alain wrote:
> Hello tried that but doesn t work too say
>
> root at debian64:/kolab/var/imapd# cvt_cyrusdb /home/annotations.db.txt
> flat /kolab/var/imapd/annotations.db berkeley
> Converting from /home/annotations.db.txt (flat) to
> /kolab/var/imapd/annotations.db (berkeley)
> Warning: apparently empty database converted.
>
> and doesn t work
>
> the annotation.db.txt is not empty but apprently can t be converted
>
Can you verify the contents of annotations.db.txt as exported is
correct?
Kind regards,
Jeroen van Meeuwen
--
Systems Architect, Kolab Systems AG
e: vanmeeuwen at kolabsys.com
m: +44 74 2516 3817
w: http://www.kolabsys.com
pgp: 9342 BF08
_______________________________________________
Kolab-users mailing list
Kolab-users at kolab.org
https://www.intevation.de/mailman/listinfo/kolab-users
More information about the users
mailing list