Re: Errors while doing Replication

2006-06-19 Thread David Carter

On Tue, 13 Jun 2006, David Korpiewski wrote:

I'm just about to do some major testing with cyrus and I've been having 
a terrible time with replication throwing up these types of errors 
randomly.  I don't understand what this promoting and DELETE are 
trying to do.  I definitely don't want to delete the user.cyrus under 
any condition, so why is it trying to delete it?!  How can I fix these 
errors oh great gurus of replication?


The reason that the user.cyrus is even showing is that in postfix, I 
tell it to always_bcc the cyrus user.  This way I have a running queue 
of all of the messages that I have received on this server.  This is so 
if we failover and I have to use the replica, I can bounce the email 
that may not have been processed by the sync process when I bring the 
master back up.


Jun 13 16:33:02 lmc1 sync_client[16188]: SEEN davidk user.davidk
Jun 13 16:33:02 lmc1 sync_client[16188]: MAILBOX user.cyrus
Jun 13 16:33:02 lmc1 sync_client[16188]: DELETE received NO response:


This suggests that the Mailbox UniqueID on the replica does not match the 
mailbox UniqueID on the master. The replication system wants to delete the 
old version so that it can update the new mailbox.


Check the cyrus.header files.


Failed to delete user.cyrus: Operation is not supported on mailbox


Looking at mboxlist_deletemailbox() there is a specific test to stop the 
currently logged in user from deleting their own inbox. I infer that you 
are running replication as user cyrus. I would suggest that you 
always_bcc to some other mailbox, preferably not an admin user.


Jun 13 16:33:02 lmc1 sync_client[16188]:  Promoting: MAILBOX user.cyrus 
- USER cyrus


This is just a consequence of the delete operation failing. The 
replication engine retries before giving up completely.


--
David Carter Email: [EMAIL PROTECTED]
University Computing Service,Phone: (01223) 334502
New Museums Site, Pembroke Street,   Fax:   (01223) 334679
Cambridge UK. CB2 3QH.

Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Errors while doing Replication

2006-06-13 Thread David Korpiewski
I'm just about to do some major testing with cyrus and I've been having 
a terrible time with replication throwing up these types of errors 
randomly.  I don't understand what this promoting and DELETE are 
trying to do.  I definitely don't want to delete the user.cyrus under 
any condition, so why is it trying to delete it?!  How can I fix these 
errors oh great gurus of replication?


The reason that the user.cyrus is even showing is that in postfix, I 
tell it to always_bcc the cyrus user.   This way I have a running 
queue of all of the messages that I have received on this server.  This 
is so if we failover and I have to use the replica, I can bounce the 
email that may not have been processed by the sync process when I bring 
the master back up.



Jun 13 16:33:02 lmc1 sync_client[16188]: SEEN davidk user.davidk
Jun 13 16:33:02 lmc1 sync_client[16188]: MAILBOX user.cyrus
Jun 13 16:33:02 lmc1 sync_client[16188]: DELETE received NO response: 
Failed to delete user.cyrus: Operation is not supported on mailbox
Jun 13 16:33:02 lmc1 sync_client[16188]:   Promoting: MAILBOX user.cyrus 
- USER cyrus

Jun 13 16:33:02 lmc1 sync_client[16188]: USER cyrus
Jun 13 16:33:02 lmc1 sync_client[16188]: RESET received NO response: 
Failed to reset account cyrus: Operation is not supported on mailbox

Jun 13 16:33:04 lmc1 sync_client[16188]: USER cyrus
Jun 13 16:33:04 lmc1 sync_client[16188]: RESET received NO response: 
Failed to reset account cyrus: Operation is not supported on mailbox

Jun 13 16:33:08 lmc1 sync_client[16188]: USER cyrus
Jun 13 16:33:08 lmc1 sync_client[16188]: RESET received NO response: 
Failed to reset account cyrus: Operation is not supported on mailbox

Jun 13 16:33:08 lmc1 sync_client[16188]: Error in do_sync(): bailing out!

I've tried deleting and recreating the cyrus mailbox, but it didn't help.

Thanks
David



--

David Korpiewski Phone: 413-545-4319
Software Specialist IFax:   413-577-2285
Department of Computer Science   ICQ:   7565766
University of Massachusetts Amherst



Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html