We recently upgraded to version 2.2.10-8 on Centos 7 (from 2.2.10-7) and immediately started experiencing errors in the log file that look like this: Error: Broken file /mail/user/Maildir/dovecot-uidlist line 891: Invalid data: Error: Timeout (180s) while waiting for lock for transaction log file /mail/user/Maildir/dovecot.index.log Error: /mail/user/Maildir/.Trash/dovecot-uidlist: next_uid was lowered (421 -> 419, hdr=418) Error: Corrupted index cache file /mail/user/Maildir/dovecot.index.cache: invalid record size Error: Broken file /mail/user/Maildir/.Trash/dovecot-uidlist line 156: Invalid data: Error: Corrupted index cache file /mail/user/Maildir/dovecot.index.cache: invalid record size Error: Index /mail/user/Maildir/dovecot.index: Lost log for seq=2 offset=2392 Error: fcntl(write-lock) locking failed for file /mail/user/Maildir/dovecot.index.log: Stale file handle We are not sure what might be causing this, can anyone help illuminate what?s going on?
Is everyone's email going to /mail/user/Maildir ? What's the output of 'dovecot -n' ? Bill On 10/12/2017 9:47 AM, List wrote:> We recently upgraded to version 2.2.10-8 on Centos 7 (from 2.2.10-7) and immediately started experiencing errors in the log file that look like this: > > Error: Broken file /mail/user/Maildir/dovecot-uidlist line 891: Invalid data: > Error: Timeout (180s) while waiting for lock for transaction log file /mail/user/Maildir/dovecot.index.log > Error: /mail/user/Maildir/.Trash/dovecot-uidlist: next_uid was lowered (421 -> 419, hdr=418) > Error: Corrupted index cache file /mail/user/Maildir/dovecot.index.cache: invalid record size > Error: Broken file /mail/user/Maildir/.Trash/dovecot-uidlist line 156: Invalid data: > Error: Corrupted index cache file /mail/user/Maildir/dovecot.index.cache: invalid record size > Error: Index /mail/user/Maildir/dovecot.index: Lost log for seq=2 offset=2392 > Error: fcntl(write-lock) locking failed for file /mail/user/Maildir/dovecot.index.log: Stale file handle > > We are not sure what might be causing this, can anyone help illuminate what?s going on?
> On Oct 12, 2017, at 8:56 AM, Bill Shirley <bill at KnoxvilleChristian.org> wrote: > > Is everyone's email going to /mail/user/Maildir ? > > What's the output of 'dovecot -n' ? > > Bill > > On 10/12/2017 9:47 AM, List wrote: >> We recently upgraded to version 2.2.10-8 on Centos 7 (from 2.2.10-7) and immediately started experiencing errors in the log file that look like this: >> >> Error: Broken file /mail/user/Maildir/dovecot-uidlist line 891: Invalid data: >> Error: Timeout (180s) while waiting for lock for transaction log file /mail/user/Maildir/dovecot.index.log >> Error: /mail/user/Maildir/.Trash/dovecot-uidlist: next_uid was lowered (421 -> 419, hdr=418) >> Error: Corrupted index cache file /mail/user/Maildir/dovecot.index.cache: invalid record size >> Error: Broken file /mail/user/Maildir/.Trash/dovecot-uidlist line 156: Invalid data: >> Error: Corrupted index cache file /mail/user/Maildir/dovecot.index.cache: invalid record size >> Error: Index /mail/user/Maildir/dovecot.index: Lost log for seq=2 offset=2392 >> Error: fcntl(write-lock) locking failed for file /mail/user/Maildir/dovecot.index.log: Stale file handle >> >> We are not sure what might be causing this, can anyone help illuminate what?s going on? >Bill, no I just changed the log output to mask the real usernames, these would be different users. Here is dovecot -n # 2.2.10: /etc/dovecot/dovecot.conf doveconf: Fatal: Error in configuration file /etc/dovecot/conf.d/10-master.conf line 27: Invalid size: $default_vsz_limit
On 12.10.2017 16:47, List wrote:> We recently upgraded to version 2.2.10-8 on Centos 7 (from 2.2.10-7) and immediately started experiencing errors in the log file that look like this: > > Error: Broken file /mail/user/Maildir/dovecot-uidlist line 891: Invalid data: > Error: Timeout (180s) while waiting for lock for transaction log file /mail/user/Maildir/dovecot.index.log > Error: /mail/user/Maildir/.Trash/dovecot-uidlist: next_uid was lowered (421 -> 419, hdr=418) > Error: Corrupted index cache file /mail/user/Maildir/dovecot.index.cache: invalid record size > Error: Broken file /mail/user/Maildir/.Trash/dovecot-uidlist line 156: Invalid data: > Error: Corrupted index cache file /mail/user/Maildir/dovecot.index.cache: invalid record size > Error: Index /mail/user/Maildir/dovecot.index: Lost log for seq=2 offset=2392 > Error: fcntl(write-lock) locking failed for file /mail/user/Maildir/dovecot.index.log: Stale file handle > > We are not sure what might be causing this, can anyone help illuminate what?s going on?Not sure what goes into 2.2.10-8 in Centos 7, but it's quite old version. But looks like something has trashed indexes and stuff on the server. Did you happen to have simultaneous access using two dovecot instances to the mail data? Aki