Fatal error: Exists wrong 513 512 483 17057

Daniel Bareiro daniel-listas at gmx.net
Sat Feb 2 20:05:46 EST 2019


Hi!

Several days ago I am trying to solve this issue but without success.
When opening a folder inside a mailbox through Thunderbird, I get this
message: "Server [servername] has disconnected. The server may have gone
down or there may be a network problem".

In that access attempt the log shows an entry like this:

----------
Feb  2 21:55:38 mail cyrus/imaps[6510]: Fatal error: Exists wrong 513
512 483 17057
----------

Maybe the index is corrupt and has some duplicate message?

Investigating on the web I found this reference [1]:

----------
/* make sure we don't overflow the memory we mapped */
	if (msgno >= state->mapsize) {
	    char buf[2048];
	    sprintf(buf, "Exists wrong %u %u %u %u", msgno,
		    state->mapsize, mailbox->i.exists, mailbox->i.num_records);
	    fatal(buf, EC_IOERR);
	}
----------

I would like to know what you think. Is it possible that this is a
problem with the index for this mailbox? If so, do you recommend some
way to regenerate it?


Thanks in advance for your reply.

Kind regards,
Daniel

[1]
https://forge.bluemind.net/stash/projects/BM/repos/bm-cyrus-imapd/browse/imap/index.c?at=c196236d937608270283c681ae27f1bb00265b62&raw

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP digital signature
URL: <http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20190202/7da1ed97/attachment.sig>


More information about the Info-cyrus mailing list