[Dovecot] fstat no such file or directory error

Mark Dieterich mkd at cs.brown.edu
Fri Apr 8 18:50:23 EEST 2011


I just wanted to follow up on this "issue".  We've had the patch in
place now for a couple of weeks and it seems to be doing the trick.  We
are no longer seeing these issues.  A bug has been filed with RedHat
about the underlying issue, but who knows when it will actually be fixed.

I don't know if you want to roll this patch into an official release or
not, given it shouldn't really need to be there.  I plan on keeping the
patch around, just in case it takes a while for RedHat (upstream?) to
release a proper fix.

Thanks again for your help!


Timo Sirainen wrote:
> On Thu, 2011-03-24 at 13:19 -0400, Mark Dieterich wrote:
>> IMAP(<username>): Transaction log dovecot.index.log: duplicate
>> transaction log sequence (37)
> This is the reason everything else messes up..
>> IMAP(<username>): fscking index file dovecot.index
>> IMAP(<username>): fstat() failed with index file
>> dovecot.index: No such file or directory
> fstat() should never return ENOENT. With NFS if the file is gone, it
> should be ESTALE. See if the attached patch helps.

I'd rather be burning carbohydrates than hydrocarbons

More information about the dovecot mailing list