[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kolab-users
Subject:    Re: x32 to x64 convertion, Cyrus issue with annotations
From:       "ABBAS Alain" <alain.abbas () libertech ! fr>
Date:       2012-03-16 18:48:37
Message-ID: 20120316184837.20291zsjvjpvhlok () kolab ! libertech ! fr
[Download RAW message or body]

Hello tried that but doesn t work too say 

root@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@kolabsys.com>
Envoyé: 12 mars 2012 08:20:49 UTC
Pour: kolab-users@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@kolab.org
https://www.intevation.de/mailman/listinfo/kolab-users

_______________________________________________
Kolab-users mailing list
Kolab-users@kolab.org
https://www.intevation.de/mailman/listinfo/kolab-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic