Re: Replication and deleted & really removed folders in Cyrus 2.4.12

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

 



On Thu, Jan 19, 2012 at 11:19:27AM +0200, Janne Peltonen wrote:
> ...sorry, apparently, there is something even more weird going on. The mailbox
> does not exist on the Murder frontend, but some traces of it appear to exist on
> the backend:
> 
> i16.mappi.helsinki.fi> info "DELETED.user.<censored>.BIOMEDICUM.Matkat 2012.06-20.Untitled Folder.4F17D602"
> {DELETED.user.<censored>.BIOMEDICUM.Matkat 2012.06-20.Untitled Folder.4F17D602}:
>   partition: nkpd
> i16.mappi.helsinki.fi> 
> 
> I'll get back on this when I get more info about what is happening here.

..OK, the mailbox no longer exists on disk. And if I try to delete it with
cyradm on the backend:

--clip--
i16.mappi.helsinki.fi> dm "DELETED.user.<censored>.BIOMEDICUM.Matkat 2012.06-20.Untitled Folder.4F17D602"
deletemailbox: System I/O error
--clip--

and the ghost mailbox doesn't go away.

If I run a reconstruct on the backend, I can get the mailbox to more or less
exist on the backend

--clip--
[root@pcn2 Matkat 2012]# ls
06-2012 ESHG
[root@pcn2 Matkat 2012]# sudo -u cyrus /usr/lib/cyrus-imapd/reconstruct -C /etc/imapd.conf.i16.replica -G "DELETED.user.<censored>.BIOMEDICUM.Matkat 2012.06-20.Untitled Folder.4F17D602"
DELETED.user.<censored>.BIOMEDICUM.Matkat 2012.06-20.Untitled Folder.4F17D602: failed to read index header
DELETED.user.<censored>.BIOMEDICUM.Matkat 2012.06-20.Untitled Folder.4F17D602
[root@pcn2 Matkat 2012]# ls
06-20  06-2012 ESHG
--clip--
i16.mappi.helsinki.fi> info "DELETED.user.pahkala.BIOMEDICUM.Matkat 2012.06-20.Untitled Folder.4F17D602"
{DELETED.user.pahkala.BIOMEDICUM.Matkat 2012.06-20.Untitled Folder.4F17D602}:
  duplicatedeliver: false
  lastpop:  
  lastupdate: 19-Jan-2012 11:24:08 +0200
  partition: nkpd
  pop3newuidl: true
  sharedseen: false
  size: 0
i16.mappi.helsinki.fi>
--clip--

However, I cannot remove it, still, since Mupdate Master knows nothing about
it, still.

--clip--
i16.mappi.helsinki.fi> dm "DELETED.user.<censored>.BIOMEDICUM.Matkat 2012.06-20.Untitled Folder.4F17D602"
deletemailbox: the mupdate operation failed
i16.mappi.helsinki.fi> lm "DELETED.user.<censored>.BIOMEDICUM.Matkat 2012.06-20.Untitled Folder.4F17D602"
DELETED.user.<censored>.BIOMEDICUM.Matkat 2012.06-20.Untitled Folder.4F17D602 (\HasNoChildren)
i16.mappi.helsinki.fi>
--clip--

The replication problem did go away, though:

--clip--
[root@pcn2 ~]# sudo -u cyrus /usr/lib/cyrus-imapd/sync_client -vl -C /etc/imapd.conf.i16.master -u <censored>
USER <censored>
[root@pcn2 ~]#
--clip--

(which isn't that surprising, given that now the backend thinks the mailbox is
okay).

I did get the mailbox on the Mupdate Master using the normal ctl_mboxlist -m
command on the backend, and could remove it then. But I've still got no idea
how the ghost mailbox got there in the first place. Anyone else got anything
similar?


--Janne
-- 
Janne Peltonen <janne.peltonen@xxxxxxxxxxx> PGP Key ID: 0x9CFAC88B
Please consider membership of the Hospitality Club (http://www.hospitalityclub.org)
----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/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