Re: Migration from cyrus 3.4.3 to 3.6.0~beta2-1 failed, mail fixed

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

 



FWIW, we were able to reconstruct the grandkids@xxxxxxxxxxxx mailbox and others and they seem to be working fine now.

sudo -u cyrus /usr/lib/cyrus/bin/reconstruct -rfG user/grandkids@xxxxxxxxxxxx

I assume the segfaults (example log entries from 3 servers below) caused cyrus to leave the mailbox in a "messed up" state and reconstruct fixed it. Yay for reconstruct!

isabella kernel: [18089238.548452] ctl_cyrusdb[13579]: segfault at 0 ip 00007f355044be4f sp 00007ffd59d93aa8 error 4 in libcyrus_min.so.0.0.0[7f3550446000+d000]

luce kernel: [35801236.571497] ctl_cyrusdb[3437560]: segfault at 0 ip 00007f3a28762e4f sp 00007ffe5f802ff8 error 4 in libcyrus_min.so.0.0.0[7f3a2875d000+d000]

nerissa kernel: [18778057.193717] ctl_cyrusdb[5257]: segfault at 0 ip 00007fec5ac0fe4f sp 00007fffff17a878 error 4 in libcyrus_min.so.0.0.0[7fec5ac0a000+d000]

We love Cyrus. Thanks to everyone that keeps it going.

Andy Dorman

On 3/21/22 09:05, Andy Dorman wrote:
I think this may have happened to us also.

We are running Debian/Postfix/Cyrus on 14 servers and just updated to 3.6.0~beta2-1+b1.

During the update process, 3 of the 14 servers reported a segfault during the update. After the apt process was finished I was able to restart cyrus without any problem.

This morning we are beginning to see postfix LMTP bounces from the 3 servers that had the segfault to addresses that we have confirmed with do exist.

Postfix LMTP error
--------------------
550-Mailbox unknown.  Either there is no mailbox associated with this 550-name or you do not have authorization to see it. 550 5.1.1 User unknown (in reply to RCPT TO command))

Confirmation mailbox exists
------------------------------
cyradm -user cyrus localhost
Password:
localhost.ironicdesign.com> lm
user/grandkids@xxxxxxxxxxxx (\HasNoChildren)
...

Not sure how to confirm that the grandkids mailbox is in uuid except I would assume that cyradm is searching the uuid storage space.

Any thoughts on how to try recovering the mail for these addresses?

Thanks

Andy Dorman

On 3/20/22 02:53, fr.hamelin+cyrus@xxxxxxxxx wrote:
Hello,
Using debian bookworm, the cyrus-imapd was updated from 3.4.3 to 3.6.0~beta2-1 this Friday. There was no warning about any migration or post check to perform before applying the updated packages.
The update procedure didn't went well but I didn't realized it.
|process type:START name:recover path:/usr/sbin/cyrus age:0.000s pid:678146 signaled to death by signal 11 (Segmentation fault)|

I restarted cyrus via systemctl and saw that I couldn't access to mail,
despite the fact that all the mails are still in the usual (legacy?) /var/spool/cyrus/mail/f/fuser. I also saw that a new user was created under uuid folder and this user is receiving my new mails. I tried to downgrade to previous version but cyrus couldn't find my legacy user's mailbox. I reinstalled the beta2 and checked on your website. I tried to perfrom the relocate_by_id command but I could not find it in any debian packages.

I copied all mails from my /var/spool/cyrus/mail/f/fuser to the uuid folder and performed several reconstruct commands.

I managed to get my mails back under the user with uuid but all the sublfolders failed to reconstruct (segmentation fault)

|cyrus/reconstruct[54080]: IOERROR: lock failed: mailbox=<user.fuser.myfolder> error=<Invalid mailbox name> syserror=<No such file or directory> func=<mailbox_open_advanced>|

and, yes, fuser.myfolder exists under /var/spool/cyrus/mail/uuid/

Could you help me recover my subfolders and I suppose my sieve, addresbooks and calendars? I still have the backup of /var/spool/cyrus and /var/spool/sieve I have made after the restart due to initial segmentation fault (which means update process was started)

Thank you so much in advance for your help.

*Cyrus <https://cyrus.topicbox.com/latest>* / Info / see discussions <https://cyrus.topicbox.com/groups/info> + participants <https://cyrus.topicbox.com/groups/info/members> + delivery options <https://cyrus.topicbox.com/groups/info/subscription> Permalink <https://cyrus.topicbox.com/groups/info/T3e85440ddbb44ec6-Maf769decd0dd45d4572145b8>

------------------------------------------
Cyrus: Info
Permalink: https://cyrus.topicbox.com/groups/info/T924f5d5b5a2d733d-M03bc84ba5144782f9b05f8d2
Delivery options: https://cyrus.topicbox.com/groups/info/subscription




[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