Hi,

We are running 2.3.12 with the cyrus-skiplist-locking-rework-2.3.12.diff 
and  cyrus-skiplist-nested-transactions-2.3.12.diff patch.

I am writing some scripts to manage our mailboxes and hit some kind of bug.

I created a mailbox cyrust...@mail.ugent.be and when i try to delete a 
mailbox I get:
BYE Fatal error: Internal error: assertion failed: cyrusdb_skiplist.c: 
771: db->is_open

We are also using delayed delete

I also see the mailbox in the delayed delete hierarchy.

mail7.UGent.be>  lm user/cyrust...@mail.ugent.be
user/cyrust...@mail.ugent.be (\HasNoChildren)
mail7.UGent.be>  lm DELETED/*...@mail.ugent.be

Now I delete the mailbox through imap.

Now we see the deleted mailbox:

mail7.UGent.be> lm DELETED/*...@mail.ugent.be
DELETED/user/cyrustest/4bd6b...@mail.ugent.be (\Noselect \HasNoChildren)

But original mailbox is still there

mail7.UGent.be> lm user/cyrust...@mail.ugent.be
user/cyrust...@mail.ugent.be (\HasNoChildren)

The mailbox in the deleted tree is reserved:

mail7.UGent.be> dm DELETED/user/cyrustest/4bd6b...@mail.ugent.be
deletemailbox: Mailbox is currently reserved

No permissions set
mail7.UGent.be> lam user/cyrust...@mail.ugent.be

mail7.UGent.be> sam cyrus x user/cyrust...@mail.ugent.be
cy...@oeral:~$ echo $?
141
cy...@oeral:~$


Restarting cyrus deletes the reservation, so I can deleted the mailbox 
in the deleted tree, but the original mailbox is still there.


Any pointers on getting this fixed would be appreciated!

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

Reply via email to