Re: Replication problem do_folders(): failed to rename

2015-12-14 Thread Marcus Schopen via Info-cyrus
Am Montag, den 14.12.2015, 07:31 -0400 schrieb Patrick Boutilier via
Info-cyrus:
> On 12/14/2015 06:25 AM, Marcus Schopen via Info-cyrus wrote:
> > Am Freitag, den 11.12.2015, 19:10 +0100 schrieb Marcus Schopen via
> > Info-cyrus:
> >> Hi,
> >>
> >> I have a problem with a single mailbox. The user's Outlook crashed and
> >> since then the sync_client is running wild on this user account and
> >> produces high load on the master. I stopped sync_client on master side
> >> for the moment.
> >>
> >> When I try to sync the user by hand
> >>
> >> /bin/su - cyrus -c "/usr/lib/cyrus/bin/sync_client -S replicaserver -v
> >> -u testuser
> >>
> >> I do get the following error.
> >>
> >> Dec 11 17:54:48 master cyrus/sync_client[22727]: RENAME received NO
> >> response: Operation is not supported on mailbox
> >> Dec 11 17:54:48 master cyrus/sync_client[22727]: do_folders(): failed to
> >> rename: user.elsa-secgen -> user.testuser.Archives.Gesch
> >> 2014-15.25-Jahr-Feier
> >> Dec 11 17:54:48 master cyrus/sync_client[22727]: IOERROR: The remote
> >> Server(s) denied the operation
> >> Dec 11 17:54:48 master cyrus/sync_client[22727]: Error in
> >> do_user(testuser): bailing out!
> >>
> >> Comparing master and slave on filesystem I do see the subfolder
> >> "25-Jahr-Feier" in "user.testuser.Archives.Gesch 2014-15.",
> >> but only on master but not on slave side. And why does sync_client want
> >> to rename and where does it get this order from?
> >>
> >> I can login into the users' mailbox on master side and new message are
> >> shown in the INBOX.
> >>
> >> How can I fix it?
> >>
> >> Should I try a "reconstruct -r user.testuser" on master and slave or
> >> just on slave? (do I have to shutdown cyrus for a reconstruct -r on a
> >> user box?)
> >>
> >> Or can I delete the complete mailbox on slave side start an "sync_client
> >> -S replicaserver -v -u testuser"?
> >>
> >> Thanks for helping
> >> Marcus
> >
> > I did a reconstruct on the replica whichs runs through on the 12 GB
> > mailbox ot the user within a second (too fast?).
> >
> > /bin/su - cyrus -c "/usr/lib/cyrus/bin/reconstruct -r user.testuser"
> >
> > A following sync ended up with the same error:
> >
> > /bin/su - cyrus -c "/usr/lib/cyrus/bin/sync_client -S replicaserver -v
> > -u testuser
> >
> > Any ideas?
> 
> No, but this seems weird. Was this user ever renamed?
> 
> user.testuser -> user.testuser.Archives.Gesch

No, sorry, forgot to hide the real user name ;)

Ciao!


Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus


Re: Replication problem do_folders(): failed to rename

2015-12-14 Thread Michael Menge via Info-cyrus

Hi,


Quoting Patrick Boutilier via Info-cyrus :


On 12/14/2015 06:25 AM, Marcus Schopen via Info-cyrus wrote:

Am Freitag, den 11.12.2015, 19:10 +0100 schrieb Marcus Schopen via
Info-cyrus:

Hi,

I have a problem with a single mailbox. The user's Outlook crashed and
since then the sync_client is running wild on this user account and
produces high load on the master. I stopped sync_client on master side
for the moment.

When I try to sync the user by hand

/bin/su - cyrus -c "/usr/lib/cyrus/bin/sync_client -S replicaserver -v
-u testuser

I do get the following error.

Dec 11 17:54:48 master cyrus/sync_client[22727]: RENAME received NO
response: Operation is not supported on mailbox
Dec 11 17:54:48 master cyrus/sync_client[22727]: do_folders(): failed to
rename: user.elsa-secgen -> user.testuser.Archives.Gesch
2014-15.25-Jahr-Feier
Dec 11 17:54:48 master cyrus/sync_client[22727]: IOERROR: The remote
Server(s) denied the operation
Dec 11 17:54:48 master cyrus/sync_client[22727]: Error in
do_user(testuser): bailing out!

Comparing master and slave on filesystem I do see the subfolder
"25-Jahr-Feier" in "user.testuser.Archives.Gesch 2014-15.",
but only on master but not on slave side. And why does sync_client want
to rename and where does it get this order from?

I can login into the users' mailbox on master side and new message are
shown in the INBOX.

How can I fix it?

Should I try a "reconstruct -r user.testuser" on master and slave or
just on slave? (do I have to shutdown cyrus for a reconstruct -r on a
user box?)

Or can I delete the complete mailbox on slave side start an "sync_client
-S replicaserver -v -u testuser"?

Thanks for helping
Marcus


I did a reconstruct on the replica whichs runs through on the 12 GB
mailbox ot the user within a second (too fast?).

/bin/su - cyrus -c "/usr/lib/cyrus/bin/reconstruct -r user.testuser"

A following sync ended up with the same error:

/bin/su - cyrus -c "/usr/lib/cyrus/bin/sync_client -S replicaserver -v
-u testuser

Any ideas?


No, but this seems weird. Was this user ever renamed?

user.elsa-secgen -> user.testuser.Archives.Gesch



Cyrus uses the folder "Unique ID" for syncronisation. If this "Unique  
ID" is NOT unique

it will confuse syncronisation.





Ciao
Marcus



Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus






M.MengeTel.: (49) 7071/29-70316
Universität Tübingen   Fax.: (49) 7071/29-5912
Zentrum für Datenverarbeitung  mail:  
michael.me...@zdv.uni-tuebingen.de

Wächterstraße 76
72074 Tübingen


Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus

Re: Replication problem do_folders(): failed to rename

2015-12-14 Thread Marcus Schopen via Info-cyrus
Hi,

Am Montag, den 14.12.2015, 12:53 +0100 schrieb Michael Menge via
Info-cyrus:
> Hi,
> 
> 
> Quoting Patrick Boutilier via Info-cyrus :
> 
> > On 12/14/2015 06:25 AM, Marcus Schopen via Info-cyrus wrote:
> >> Am Freitag, den 11.12.2015, 19:10 +0100 schrieb Marcus Schopen via
> >> Info-cyrus:
> >>> Hi,
> >>>
> >>> I have a problem with a single mailbox. The user's Outlook crashed and
> >>> since then the sync_client is running wild on this user account and
> >>> produces high load on the master. I stopped sync_client on master side
> >>> for the moment.
> >>>
> >>> When I try to sync the user by hand
> >>>
> >>> /bin/su - cyrus -c "/usr/lib/cyrus/bin/sync_client -S replicaserver -v
> >>> -u testuser
> >>>
> >>> I do get the following error.
> >>>
> >>> Dec 11 17:54:48 master cyrus/sync_client[22727]: RENAME received NO
> >>> response: Operation is not supported on mailbox
> >>> Dec 11 17:54:48 master cyrus/sync_client[22727]: do_folders(): failed to
> >>> rename: user.elsa-secgen -> user.testuser.Archives.Gesch
> >>> 2014-15.25-Jahr-Feier
> >>> Dec 11 17:54:48 master cyrus/sync_client[22727]: IOERROR: The remote
> >>> Server(s) denied the operation
> >>> Dec 11 17:54:48 master cyrus/sync_client[22727]: Error in
> >>> do_user(testuser): bailing out!
> >>>
> >>> Comparing master and slave on filesystem I do see the subfolder
> >>> "25-Jahr-Feier" in "user.testuser.Archives.Gesch 2014-15.",
> >>> but only on master but not on slave side. And why does sync_client want
> >>> to rename and where does it get this order from?
> >>>
> >>> I can login into the users' mailbox on master side and new message are
> >>> shown in the INBOX.
> >>>
> >>> How can I fix it?
> >>>
> >>> Should I try a "reconstruct -r user.testuser" on master and slave or
> >>> just on slave? (do I have to shutdown cyrus for a reconstruct -r on a
> >>> user box?)
> >>>
> >>> Or can I delete the complete mailbox on slave side start an "sync_client
> >>> -S replicaserver -v -u testuser"?
> >>>
> >>> Thanks for helping
> >>> Marcus
> >>
> >> I did a reconstruct on the replica whichs runs through on the 12 GB
> >> mailbox ot the user within a second (too fast?).
> >>
> >> /bin/su - cyrus -c "/usr/lib/cyrus/bin/reconstruct -r user.testuser"
> >>
> >> A following sync ended up with the same error:
> >>
> >> /bin/su - cyrus -c "/usr/lib/cyrus/bin/sync_client -S replicaserver -v
> >> -u testuser
> >>
> >> Any ideas?
> >
> > No, but this seems weird. Was this user ever renamed?
> >
> > user.testuser -> user.testuser.Archives.Gesch
> >
> 
> Cyrus uses the folder "Unique ID" for syncronisation. If this "Unique  
> ID" is NOT unique
> it will confuse syncronisation.


I connected with an imap client to the mailbox and removed all folders
on the master to which sync_client was bailing out. After that
sync_client was runnig through without problems. Strange ...

Ciao!





Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus


Re: Replication problem do_folders(): failed to rename

2015-12-14 Thread Patrick Boutilier via Info-cyrus

On 12/14/2015 06:25 AM, Marcus Schopen via Info-cyrus wrote:

Am Freitag, den 11.12.2015, 19:10 +0100 schrieb Marcus Schopen via
Info-cyrus:

Hi,

I have a problem with a single mailbox. The user's Outlook crashed and
since then the sync_client is running wild on this user account and
produces high load on the master. I stopped sync_client on master side
for the moment.

When I try to sync the user by hand

/bin/su - cyrus -c "/usr/lib/cyrus/bin/sync_client -S replicaserver -v
-u testuser

I do get the following error.

Dec 11 17:54:48 master cyrus/sync_client[22727]: RENAME received NO
response: Operation is not supported on mailbox
Dec 11 17:54:48 master cyrus/sync_client[22727]: do_folders(): failed to
rename: user.elsa-secgen -> user.testuser.Archives.Gesch
2014-15.25-Jahr-Feier
Dec 11 17:54:48 master cyrus/sync_client[22727]: IOERROR: The remote
Server(s) denied the operation
Dec 11 17:54:48 master cyrus/sync_client[22727]: Error in
do_user(testuser): bailing out!

Comparing master and slave on filesystem I do see the subfolder
"25-Jahr-Feier" in "user.testuser.Archives.Gesch 2014-15.",
but only on master but not on slave side. And why does sync_client want
to rename and where does it get this order from?

I can login into the users' mailbox on master side and new message are
shown in the INBOX.

How can I fix it?

Should I try a "reconstruct -r user.testuser" on master and slave or
just on slave? (do I have to shutdown cyrus for a reconstruct -r on a
user box?)

Or can I delete the complete mailbox on slave side start an "sync_client
-S replicaserver -v -u testuser"?

Thanks for helping
Marcus


I did a reconstruct on the replica whichs runs through on the 12 GB
mailbox ot the user within a second (too fast?).

/bin/su - cyrus -c "/usr/lib/cyrus/bin/reconstruct -r user.testuser"

A following sync ended up with the same error:

/bin/su - cyrus -c "/usr/lib/cyrus/bin/sync_client -S replicaserver -v
-u testuser

Any ideas?


No, but this seems weird. Was this user ever renamed?

user.elsa-secgen -> user.testuser.Archives.Gesch




Ciao
Marcus



Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus



<>
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus

Re: Replication problem do_folders(): failed to rename

2015-12-14 Thread Marcus Schopen via Info-cyrus
Am Freitag, den 11.12.2015, 19:10 +0100 schrieb Marcus Schopen via
Info-cyrus:
> Hi,
> 
> I have a problem with a single mailbox. The user's Outlook crashed and
> since then the sync_client is running wild on this user account and
> produces high load on the master. I stopped sync_client on master side
> for the moment.
> 
> When I try to sync the user by hand 
> 
> /bin/su - cyrus -c "/usr/lib/cyrus/bin/sync_client -S replicaserver -v
> -u testuser
> 
> I do get the following error.
> 
> Dec 11 17:54:48 master cyrus/sync_client[22727]: RENAME received NO
> response: Operation is not supported on mailbox
> Dec 11 17:54:48 master cyrus/sync_client[22727]: do_folders(): failed to
> rename: user.elsa-secgen -> user.testuser.Archives.Gesch
> 2014-15.25-Jahr-Feier 
> Dec 11 17:54:48 master cyrus/sync_client[22727]: IOERROR: The remote
> Server(s) denied the operation
> Dec 11 17:54:48 master cyrus/sync_client[22727]: Error in
> do_user(testuser): bailing out!
> 
> Comparing master and slave on filesystem I do see the subfolder
> "25-Jahr-Feier" in "user.testuser.Archives.Gesch 2014-15.",
> but only on master but not on slave side. And why does sync_client want
> to rename and where does it get this order from?
> 
> I can login into the users' mailbox on master side and new message are
> shown in the INBOX.
> 
> How can I fix it? 
> 
> Should I try a "reconstruct -r user.testuser" on master and slave or
> just on slave? (do I have to shutdown cyrus for a reconstruct -r on a
> user box?)
> 
> Or can I delete the complete mailbox on slave side start an "sync_client
> -S replicaserver -v -u testuser"?
> 
> Thanks for helping
> Marcus

I did a reconstruct on the replica whichs runs through on the 12 GB
mailbox ot the user within a second (too fast?).

/bin/su - cyrus -c "/usr/lib/cyrus/bin/reconstruct -r user.testuser"

A following sync ended up with the same error:

/bin/su - cyrus -c "/usr/lib/cyrus/bin/sync_client -S replicaserver -v
-u testuser

Any ideas?

Ciao
Marcus



Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus


Re: Replication problem do_folders(): failed to rename

2015-12-11 Thread Marcus Schopen via Info-cyrus
Hi,

forgot the cyrus version: 2.4.12 on Ubuntu 12.04 LTS

Ciao!



Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus


Replication problem do_folders(): failed to rename

2015-12-11 Thread Marcus Schopen via Info-cyrus
Hi,

I have a problem with a single mailbox. The user's Outlook crashed and
since then the sync_client is running wild on this user account and
produces high load on the master. I stopped sync_client on master side
for the moment.

When I try to sync the user by hand 

/bin/su - cyrus -c "/usr/lib/cyrus/bin/sync_client -S replicaserver -v
-u testuser

I do get the following error.

Dec 11 17:54:48 master cyrus/sync_client[22727]: RENAME received NO
response: Operation is not supported on mailbox
Dec 11 17:54:48 master cyrus/sync_client[22727]: do_folders(): failed to
rename: user.elsa-secgen -> user.testuser.Archives.Gesch
2014-15.25-Jahr-Feier 
Dec 11 17:54:48 master cyrus/sync_client[22727]: IOERROR: The remote
Server(s) denied the operation
Dec 11 17:54:48 master cyrus/sync_client[22727]: Error in
do_user(testuser): bailing out!

Comparing master and slave on filesystem I do see the subfolder
"25-Jahr-Feier" in "user.testuser.Archives.Gesch 2014-15.",
but only on master but not on slave side. And why does sync_client want
to rename and where does it get this order from?

I can login into the users' mailbox on master side and new message are
shown in the INBOX.

How can I fix it? 

Should I try a "reconstruct -r user.testuser" on master and slave or
just on slave? (do I have to shutdown cyrus for a reconstruct -r on a
user box?)

Or can I delete the complete mailbox on slave side start an "sync_client
-S replicaserver -v -u testuser"?

Thanks for helping
Marcus



Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus