Strange bug in cyrus (missing folders with reconstruct !)

Denis BUCHER dbucherml at hsolutions.ch
Thu Dec 17 08:28:20 EST 2009


Hello Patrick,

Patrick Boutilier a écrit :
>>>> When doing /usr/sbin/cyrreconstruct -rf user.psmith I have a very very
>>>> strange behavior !
>>>>
>>>> Most of folders are successfully reconstructed except one or two that
>>>> are ignored ???
>>>>
>>>> Example for a folder called "CLIENT". This folder only contains
>>>> subfolders, and no messages, could this be the cause of the bug ?
>>>>
>>>> It seems to be the same problem as described in :
>>>> http://lists.andrew.cmu.edu/pipermail/info-cyrus/2008-May/029171.html
>>>> But they offer no "real" solution...
>>>>
>>>> Thanks a lot for any help (the users are complaining and I'm stuck at
>>>> this problem)
>>> What version of Cyrus?
>> name       : Cyrus IMAPD
>> version    : v2.2.13-Debian-2.2.13-14+lenny3 2006/12/19 19:32:59
>> vendor     : Project Cyrus
>> support-url: http://asg.web.cmu.edu/cyrus
>> os         : Linux
>> os-version : 2.6.26-2-amd64
>> environment: Built w/Cyrus SASL 2.1.22
>>               Running w/Cyrus SASL 2.1.22
>>               Built w/Sleepycat Software: Berkeley DB 4.2.52: (December
>> 3, 2003)
>>               Running w/Sleepycat Software: Berkeley DB 4.2.52: (December
>>   3, 2003)
>>               Built w/OpenSSL 0.9.8g 19 Oct 2007
>>               Running w/OpenSSL 0.9.8g 19 Oct 2007
>>               CMU Sieve 2.2
>>               TCP Wrappers
>>               NET-SNMP
>>               mmap = shared
>>               lock = fcntl
>>               nonblock = fcntl
>>               idle = poll
>>
>>
>>> Why is the reconstruct being run? Was the mailbox corrupted or are you
>>> trying to inject messages like the person in the above link?
>> Good question, the answer is simple, we simply migrated from an old
>> server to a new one. So in fact it is neither of the two case but
>> another one :
>>
>> We had a completely working set of users accounts and folders.
>> We moved it to the new server.
>> To make them work we launched the reconstruct.
>> It works perfectly except for some folders...
> 
> How did you move the mail from one server to the other?

I think I copied with scp.

> Does the CLIENT folder have at least a cyrus.index file in it?

No, the CLIENT folder has only subfolders...

Denis


More information about the Info-cyrus mailing list