[Dovecot] setacl fails - does not find dovecot-acl file

Timo Sirainen tss at iki.fi
Fri Nov 4 23:39:18 EET 2011


On Fri, 2011-11-04 at 21:29 +0100, Michael Stilkerich wrote:
> On 04.11.2011 20:47, Timo Sirainen wrote:
> >> dovecot: imap(michael): Error:
> >> >  fstat(/home/dovecot/michael/.test/dovecot-acl.lock) failed: No such file
> >> >  or directory
> > This is some weird filesystem? fstat() isn't supposed to ever fail with
> > ENOENT.
> 
> Nope, plain ext3. I have these issues since upgrading to Ubuntu 11.10, 
> which was a dovecot upgrade from 1.2.15 to 2.0.13. Currently I use a 
> self-built 2.0.15 dovecot. I'm still getting errors once in a while for 
> the dovecot.index.log file:
> 
> Nov  4 16:29:03 keira dovecot: imap(isa): Error: fcntl(unlock) locking 
> failed for file /home/dovecot/isa/dovecot.index.log: No such file or 
> directory
> Nov  4 16:29:03 keira dovecot: imap(isa): Error: fstat() failed with 
> file /home/dovecot/isa/dovecot.index.log: No such file or directory

These simply shouldn't happen. I'd say it's a kernel bug. You're running
a default Ubuntu kernel? I wonder if other Ubuntu users have this
problem.

> And occasionally I also get errors like:
> 
> Nov  3 19:03:34 keira dovecot: imap(mikey): Error: Corrupted transaction 
> log file /home/dovecot/mikey/dovecot.index.log seq 15: offset points 
> outside file (32708 + 8 > 32708) (sync_offset=32800)
> 
> I believe the latter was recently reported by someone else on this list 
> as well. The files are there, though I guess that dovecot recreates them 
> when the errors occurs so I don't know what the situation was by the 
> time the error occurred...

Try if you can reproduce these more easily with imaptest?
http://imapwiki.org/ImapTest Be sure to run it against a test account
since it trashes the whole mailbox.




More information about the dovecot mailing list