Re: cannot unlink .... mboxkey: No such file or directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Am Dienstag, den 08.11.2016, 23:56 +1100 schrieb Bron Gondwana via
Info-cyrus:
> If you're running rolling replication, it SHOULD have logged both the old mailbox name and the DELETED mailbox name, and calculate the move when syncing.
> 
> If you're running sync_client -m on just the mailbox, sure - it will get deleted, because sync_client can't tell what name it was renamed to (there are plans afoot to make rename detection more clever with some mailboxes.db changes, but that's still a while away as part of a fully unified murder environment)
> 
> Anyway, you didn't say which Cyrus version you're using there.  If it's pre 2.4 all bets are off!  Pretty sure this was solid in 2.4.0 and above though, with rolling replication.
> 
> On Tue, 8 Nov 2016, at 23:36, Marcus Schopen via Info-cyrus wrote:
> > Hi,
> > 
> > I'm running cyrus in master and slave. When deleting a user's mailbox I
> > see the following error on master and slave log:
> > 
> > Nov  8 12:00:44 master cyrus/imap[26104]: cannot
> > unlink /var/lib/cyrus/user/t/test20161108.mboxkey: No such file or
> > directory
> > 
> > Another strange thing is, that the deleted mailbox is completely removed
> > and not moved to DELETED on slave side whereas on master it's moved to
> > DELETED directory.
> > 
> > delete_mode and expunge_mode on both sides:
> > 
> >   delete_mode: delayed
> >   expunge_mode: delayed


Some more logs. This is what I see on master and slave when deleting an
account. Mailboxes are deleted successfully and moved to DELETED on both
sides. Anything to be worried about "cannot unlink ..." or "Inbox
missing on master for ..."?

master:
------------------
Nov  9 16:43:53 master cyrus/imap[21385]: Deleted mailbox
user.example-net-02
Nov  9 16:43:53 master cyrus/imap[21385]: Remove of supposedly empty
directory /var/spool/cyrus/mail/s/user/example-net-02 failed: Directory
not empty
Nov  9 16:43:53 master cyrus/imap[21385]: Deleted mailbox
user.example-net-02.Drafts
Nov  9 16:43:53 master cyrus/imap[21385]: Remove of supposedly empty
directory /var/spool/cyrus/mail/s/user/example-net-02 failed: Directory
not empty
Nov  9 16:43:53 master cyrus/imap[21385]: Deleted mailbox
user.example-net-02.Sent
Nov  9 16:43:53 master cyrus/imap[21385]: Remove of supposedly empty
directory /var/spool/cyrus/mail/s/user/example-net-02 failed: Directory
not empty
Nov  9 16:43:54 master cyrus/imap[21385]: Deleted mailbox
user.example-net-02.Trash
Nov  9 16:43:54 master cyrus/imap[21385]: cannot
unlink /var/lib/cyrus/user/s/example-net-02.mboxkey: No such file or
directory
Nov  9 16:43:55 master cyrus/sync_client[5078]: Inbox missing on master
for example-net-02
------------------

slave:
------------------
Nov  9 16:43:54 slave cyrus/syncserver[14647]: Deleted mailbox
user.example-net-02
Nov  9 16:43:54 slave cyrus/syncserver[14647]: Remove of supposedly
empty directory /var/spool/cyrus/mail/s/user/example-net-02 failed:
Directory not empty
Nov  9 16:43:55 slave cyrus/syncserver[14647]: Deleted mailbox
user.example-net-02.Drafts
Nov  9 16:43:55 slave cyrus/syncserver[14647]: Remove of supposedly
empty directory /var/spool/cyrus/mail/s/user/example-net-02 failed:
Directory not empty
Nov  9 16:43:55 slave cyrus/syncserver[14647]: Deleted mailbox
user.example-net-02.Sent
Nov  9 16:43:55 slave cyrus/syncserver[14647]: Remove of supposedly
empty directory /var/spool/cyrus/mail/s/user/example-net-02 failed:
Directory not empty
Nov  9 16:43:55 slave cyrus/syncserver[14647]: Deleted mailbox
user.example-net-02.Trash
Nov  9 16:43:55 slave cyrus/syncserver[14647]: cannot
unlink /var/lib/cyrus/user/s/example-net-02.mboxkey: No such file or
directory
------------------

Cheers!
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



[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux