x32 to x64 convertion, Cyrus issue with annotations

ABBAS Alain alain.abbas at libertech.fr
Fri Mar 16 19:48:37 CET 2012


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 


-----Message original-----
De: "Jeroen van Meeuwen (Kolab Systems)" <vanmeeuwen at kolabsys.com>
Envoyé: 12 mars 2012 08:20:49 UTC
Pour: kolab-users at kolab.org
Cc: 
Sujet : Re: x32 to x64 convertion, Cyrus issue with annotations

On 2012-03-11 17:39, ABBAS Alain wrote:
> Hello

Hi Alain,

> on the x32 bit system (tried with 2.2.2 2.2.4 2.3.4 ?)
> we export annotation.db
> db_dump /kolab/var/imapd/annotations.db > annotations.db.txt
>
> and on th x64 system we import the annotations (after all steps done)
>
> by :
> db_load -f annotations.db.txt annotations.db
> chown kolab-r:kolab-r annotations.db
> chmod 600 annotations.db
>
> All seems ok but when you display the annotation with cyradm or IMAP 
> command
> the 4 firsts characters f the annotations are missing
> event.default becomes t.default.
>
> Tried many time and all the time the 4 first charaters are missing ,
> i had to make a script with cyradm to restore
> them the first time.
>
> Any ideas, somebody experienced that ?
>

Could you try and use the Cyrus native export tool?

On the 32-bit system:

  $ /usr/lib/cyrus-imapd/cvt_cyrusdb /path/to/annotations.db berkeley 
/path/to/annotations.txt flat

On the 64-bit system (copy the annotations.txt file to it of course):

  $ /usr/lib/cyrus-imapd/cvt_cyrusdb /path/to/annotations.txt flat 
/path/to/annotations.db berkeley

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