XFER when changing database formats

David Mayo D.J.Mayo at bath.ac.uk
Wed Oct 28 09:43:31 EDT 2009


Earlier this year we introduced a Cyrus 2.2 IMAP proxy server in front 
of our Cyrus 2.2 back-end server. This was the first part of the process 
to move our users' mailboxes to a Cyrus 2.3 back-end server.

I am now looking at transferring our users to the new back-end server. 
The XFER command seems to do the job perfectly, except for the seen and 
subscription databases because we are changing formats from flat to skplist.

Looking at the telemetry, it appears the XFER command just dumps 
everything raw and the other end slurps it in without interpretation. We 
get lots of errors in the logs[1] and unfortunately the sync client 
doesn't take too kindly to this either, and bails out!

Our users won't accept losing their seen state. I can convert the seen 
state before/after the XFER with a bit of work, however does anyone knew 
of a cleaner solution that saves me having to run two different processes?

We're running Solaris 10. Our old back-end server is 2.2.12. The new 
back-end server is running 2.3.13. Our front-end server is 2.2.13.

Regards,


Dave.

David Mayo
Networks/Systems Administrator
University of Bath Computing Services, UK

[1]
Oct 28 13:17:05 sauber.bath.ac.uk imap[7925]: [ID 639319 mail.error] 
skiplist: invalid magic header: /opt/etc/imapd/user/b/bucsuser.seen.7925
Oct 28 13:17:05 sauber.bath.ac.uk imap[7925]: [ID 558109 mail.error] 
skiplist: closed while still locked
Oct 28 13:17:06 sauber.bath.ac.uk sync_client[7931]: [ID 284028 
mail.error] USER received NO response: IMAP_MAILBOX_NONEXISTENT Failed 
to access inbox for bucsuser: Mailbox does not exist
Oct 28 13:17:06 sauber.bath.ac.uk sync_client[7931]: [ID 639319 
mail.error] skiplist: invalid magic header: 
/opt/etc/imapd/user/b/bucsuser.sub
Oct 28 13:17:06 sauber.bath.ac.uk sync_client[7931]: [ID 558109 
mail.error] skiplist: closed while still locked
Oct 28 13:17:06 sauber.bath.ac.uk sync_client[7931]: [ID 404664 
mail.error] IOERROR: System I/O error
Oct 28 13:17:08 sauber.bath.ac.uk sync_client[7931]: [ID 639319 
mail.error] skiplist: invalid magic header: 
/opt/etc/imapd/user/b/bucsuser.sub
Oct 28 13:17:08 sauber.bath.ac.uk sync_client[7931]: [ID 558109 
mail.error] skiplist: closed while still locked
Oct 28 13:17:08 sauber.bath.ac.uk sync_client[7931]: [ID 404664 
mail.error] IOERROR: System I/O error
Oct 28 13:17:12 sauber.bath.ac.uk sync_client[7931]: [ID 639319 
mail.error] skiplist: invalid magic header: 
/opt/etc/imapd/user/b/bucsuser.sub
Oct 28 13:17:12 sauber.bath.ac.uk sync_client[7931]: [ID 558109 
mail.error] skiplist: closed while still locked
Oct 28 13:17:12 sauber.bath.ac.uk sync_client[7931]: [ID 404664 
mail.error] IOERROR: System I/O error
Oct 28 13:17:12 sauber.bath.ac.uk sync_client[7931]: [ID 912450 
mail.error] Error in do_sync(): bailing out!



More information about the Info-cyrus mailing list