Re: dovecot mdbox never fix broken indexes
2017-01-30 11:43 GMT+03:00 Aki Tuomi aki.tuomi@dovecot.fi:
Hi!
Please send these to dovecot@dovecot.org instead of us directly. Thank you. Ok, added to cc.
Also, did you try force-resync?
Not help.
# doveadm force-resync -u altek@altek.info \* doveadm(altek@altek.info): Warning: mdbox /srv/vmail/altek.info/altek/storage: Inconsistency in map index (63,31880 != 63,332136) doveadm(altek@altek.info): Warning: fscking index file /srv/vmail/altek.info/altek/storage/dovecot.map.index doveadm(altek@altek.info): Warning: mdbox /srv/vmail/altek.info/altek/storage: rebuilding indexes doveadm(altek@altek.info): Warning: fscking index file /srv/vmail/altek.info/altek/storage/dovecot.map.index doveadm(altek@altek.info): Warning: mdbox /srv/vmail/altek.info/altek/storage: Inconsistency in map index (63,31880 != 63,332196) doveadm(altek@altek.info): Warning: fscking index file /srv/vmail/altek.info/altek/storage/dovecot.map.index doveadm(altek@altek.info): Warning: fscking index file /srv/vmail/altek.info/altek/storage/dovecot.map.index doveadm(altek@altek.info): Warning: mdbox /srv/vmail/altek.info/altek/storage: Inconsistency in map index (63,31880 != 63,332212) doveadm(altek@altek.info): Warning: fscking index file /srv/vmail/altek.info/altek/storage/dovecot.map.index doveadm(altek@altek.info): Warning: mdbox /srv/vmail/altek.info/altek/storage: rebuilding indexes doveadm(altek@altek.info): Warning: fscking index file /srv/vmail/altek.info/altek/storage/dovecot.map.index doveadm(altek@altek.info): Warning: mdbox /srv/vmail/altek.info/altek/storage: Inconsistency in map index (63,31880 != 63,332272) doveadm(altek@altek.info): Warning: fscking index file /srv/vmail/altek.info/altek/storage/dovecot.map.index doveadm(altek@altek.info): Warning: fscking index file /srv/vmail/altek.info/altek/storage/dovecot.map.index doveadm(altek@altek.info): Warning: mdbox /srv/vmail/altek.info/altek/storage: Inconsistency in map index (63,31880 != 63,332288) doveadm(altek@altek.info): Warning: fscking index file /srv/vmail/altek.info/altek/storage/dovecot.map.index doveadm(altek@altek.info): Warning: mdbox /srv/vmail/altek.info/altek/storage: rebuilding indexes doveadm(altek@altek.info): Warning: fscking index file /srv/vmail/altek.info/altek/storage/dovecot.map.index doveadm(altek@altek.info): Warning: mdbox /srv/vmail/altek.info/altek/storage: Inconsistency in map index (63,31880 != 63,332348) doveadm(altek@altek.info): Warning: fscking index file /srv/vmail/altek.info/altek/storage/dovecot.map.index doveadm(altek@altek.info): Warning: fscking index file /srv/vmail/altek.info/altek/storage/dovecot.map.index doveadm(altek@altek.info): Warning: mdbox /srv/vmail/altek.info/altek/storage: Inconsistency in map index (63,31880 != 63,332364) doveadm(altek@altek.info): Warning: fscking index file /srv/vmail/altek.info/altek/storage/dovecot.map.index doveadm(altek@altek.info): Warning: mdbox /srv/vmail/altek.info/altek/storage: rebuilding indexes doveadm(altek@altek.info): Warning: fscking index file /srv/vmail/altek.info/altek/storage/dovecot.map.index doveadm(altek@altek.info): Warning: mdbox /srv/vmail/altek.info/altek/storage: Inconsistency in map index (63,31880 != 63,332424) doveadm(altek@altek.info): Warning: fscking index file /srv/vmail/altek.info/altek/storage/dovecot.map.index doveadm(altek@altek.info): Warning: fscking index file /srv/vmail/altek.info/altek/storage/dovecot.map.index doveadm(altek@altek.info): Warning: mdbox /srv/vmail/altek.info/altek/storage: Inconsistency in map index (63,31880 != 63,332440) doveadm(altek@altek.info): Warning: fscking index file /srv/vmail/altek.info/altek/storage/dovecot.map.index doveadm(altek@altek.info): Warning: mdbox /srv/vmail/altek.info/altek/storage: rebuilding indexes doveadm(altek@altek.info): Warning: fscking index file /srv/vmail/altek.info/altek/storage/dovecot.map.index doveadm(altek@altek.info): Warning: mdbox /srv/vmail/altek.info/altek/storage: Inconsistency in map index (63,31880 != 63,332500) doveadm(altek@altek.info): Warning: fscking index file /srv/vmail/altek.info/altek/storage/dovecot.map.index doveadm(altek@altek.info): Warning: fscking index file /srv/vmail/altek.info/altek/storage/dovecot.map.index
in logs after force-resync
Jan 30 11:49:23 mail dovecot: lmtp(21946): Connect from ::1 Jan 30 11:49:23 mail dovecot: lmtp(altek@altek.info): Warning: mdbox /srv/vmail/altek.info/altek/storage: Inconsistency in map index (63,31880 != 63,332516) Jan 30 11:49:23 mail dovecot: lmtp(altek@altek.info): Error: Log synchronization error at seq=63,offset=58292 for /srv/vmail/altek.info/altek/storage/dovecot.map.index: Extension record inc drops number below zero (uid=5845, diff=-1, orig=0) Jan 30 11:49:23 mail dovecot: lmtp(altek@altek.info): Error: Log synchronization error at seq=63,offset=78516 for /srv/vmail/altek.info/altek/storage/dovecot.map.index: Extension record inc drops number below zero (uid=11497, diff=-1, orig=0) Jan 30 11:49:23 mail dovecot: lmtp(altek@altek.info): Error: Log synchronization error at seq=63,offset=201684 for /srv/vmail/altek.info/altek/storage/dovecot.map.index: Extension record inc drops number below zero (uid=14249, diff=-2, orig=0) Jan 30 11:49:23 mail dovecot: lmtp(altek@altek.info): Warning: fscking index file /srv/vmail/altek.info/altek/storage/dovecot.map.index Jan 30 11:49:24 mail dovecot: lmtp(altek@altek.info): 7inAKRP+jli6VQAANAhlbg: msgid=7e59e033dac89045b4429bde28e559aa7ca6662c@41sem-glav.ru: saved mail to INBOX Jan 30 11:49:24 mail dovecot: lmtp(altek@altek.info): Warning: mdbox /srv/vmail/altek.info/altek/storage: Inconsistency in map index (63,31880 != 63,332640) Jan 30 11:49:24 mail dovecot: lmtp(altek@altek.info): Warning: fscking index file /srv/vmail/altek.info/altek/storage/dovecot.map.index Jan 30 11:49:24 mail dovecot: lmtp(altek@altek.info): Warning: mdbox /srv/vmail/altek.info/altek/storage: rebuilding indexes Jan 30 11:49:24 mail dovecot: lmtp(altek@altek.info): Warning: fscking index file /srv/vmail/altek.info/altek/storage/dovecot.map.index Jan 30 11:49:24 mail dovecot: lmtp(21946): Disconnect from ::1: Successful quit
On 30.01.2017 10:20, Andrey Melnikov wrote:
Hello.
After power crash mdbox index corrupted and dovecot never fix it.
-- cut -- Jan 30 09:36:05 mail dovecot: lmtp(altek@altek.info): Warning: mdbox /srv/vmail/altek.info/altek/storage: Inconsistency in map index (63,31880 != 63,327528) Jan 30 09:36:05 mail dovecot: lmtp(altek@altek.info): Error: Log synchronization error at seq=63,offset=58292 for /srv/vmail/altek.info/altek/storage/dovecot.map.index: Extension record inc drops number below zero (uid=5845, diff=-1, orig=0) Jan 30 09:36:05 mail dovecot: lmtp(altek@altek.info): Error: Log synchronization error at seq=63,offset=78516 for /srv/vmail/altek.info/altek/storage/dovecot.map.index: Extension record inc drops number below zero (uid=11497, diff=-1, orig=0) Jan 30 09:36:05 mail dovecot: lmtp(altek@altek.info): Error: Log synchronization error at seq=63,offset=201684 for /srv/vmail/altek.info/altek/storage/dovecot.map.index: Extension record inc drops number below zero (uid=14249, diff=-2, orig=0) Jan 30 09:36:05 mail dovecot: lmtp(altek@altek.info): Warning: fscking index file /srv/vmail/altek.info/altek/storage/dovecot.map.index Jan 30 09:36:05 mail dovecot: lmtp(altek@altek.info): gfPAFtXejlhbOAAANAhlbg: msgid=E1cY5ZK-00037Z-AM@mx-out.depo-magazine.ru: saved mail to INBOX Jan 30 09:36:05 mail dovecot: lmtp(altek@altek.info): Warning: mdbox /srv/vmail/altek.info/altek/storage: Inconsistency in map index (63,31880 != 63,327652) Jan 30 09:36:05 mail dovecot: lmtp(altek@altek.info): Warning: fscking index file /srv/vmail/altek.info/altek/storage/dovecot.map.index Jan 30 09:36:05 mail dovecot: lmtp(altek@altek.info): Warning: mdbox /srv/vmail/altek.info/altek/storage: rebuilding indexes Jan 30 09:36:05 mail dovecot: lmtp(altek@altek.info): Warning: fscking index file /srv/vmail/altek.info/altek/storage/dovecot.map.index Jan 30 09:43:32 mail dovecot: pop3-login: Login: user=altek@altek.info, method=PLAIN, rip=192.168.0.28, lip=192.168.0.1, mpid=14619, session=<azNKIkpHtg7AqAAc> Jan 30 09:43:35 mail dovecot: pop3(altek@altek.info): Warning: mdbox /srv/vmail/altek.info/altek/storage: Inconsistency in map index (63,31880 != 63,327728) Jan 30 09:43:35 mail dovecot: pop3(altek@altek.info): Warning: fscking index file /srv/vmail/altek.info/altek/storage/dovecot.map.index Jan 30 09:43:35 mail dovecot: pop3(altek@altek.info): Warning: mdbox /srv/vmail/altek.info/altek/storage: rebuilding indexes Jan 30 09:43:35 mail dovecot: pop3(altek@altek.info): Warning: fscking index file /srv/vmail/altek.info/altek/storage/dovecot.map.index Jan 30 09:43:35 mail dovecot: pop3(altek@altek.info): Disconnected: Logged out top=0/0, retr=4/1676349, del=0/1153, size=439478778 Jan 30 09:43:35 mail dovecot: pop3(altek@altek.info): Warning: mdbox /srv/vmail/altek.info/altek/storage: Inconsistency in map index (63,31880 != 63,327788) Jan 30 09:43:35 mail dovecot: pop3(altek@altek.info): Warning: fscking index file /srv/vmail/altek.info/altek/storage/dovecot.map.index Jan 30 09:43:35 mail dovecot: pop3(altek@altek.info): Warning: fscking index file /srv/vmail/altek.info/altek/storage/dovecot.map.index Jan 30 09:45:11 mail dovecot: lmtp(altek@altek.info): Warning: mdbox /srv/vmail/altek.info/altek/storage: Inconsistency in map index (63,31880 != 63,327804) Jan 30 09:45:11 mail dovecot: lmtp(altek@altek.info): Error: Log synchronization error at seq=63,offset=58292 for /srv/vmail/altek.info/altek/storage/dovecot.map.index: Extension record inc drops number below zero (uid=5845, diff=-1, orig=0) Jan 30 09:45:11 mail dovecot: lmtp(altek@altek.info): Error: Log synchronization error at seq=63,offset=78516 for /srv/vmail/altek.info/altek/storage/dovecot.map.index: Extension record inc drops number below zero (uid=11497, diff=-1, orig=0) Jan 30 09:45:11 mail dovecot: lmtp(altek@altek.info): Error: Log synchronization error at seq=63,offset=201684 for /srv/vmail/altek.info/altek/storage/dovecot.map.index: Extension record inc drops number below zero (uid=14249, diff=-2, orig=0) Jan 30 09:45:11 mail dovecot: lmtp(altek@altek.info): Warning: fscking index file /srv/vmail/altek.info/altek/storage/dovecot.map.index Jan 30 09:45:11 mail dovecot: lmtp(altek@altek.info): vwxyI/fgjlgyOQAANAhlbg: msgid=003a01d27ac4$639789e0$2ac69da0$@ru: saved mail to INBOX Jan 30 09:45:11 mail dovecot: lmtp(altek@altek.info): Warning: mdbox /srv/vmail/altek.info/altek/storage: Inconsistency in map index (63,31880 != 63,327928) Jan 30 09:45:11 mail dovecot: lmtp(altek@altek.info): Warning: fscking index file /srv/vmail/altek.info/altek/storage/dovecot.map.index Jan 30 09:45:11 mail dovecot: lmtp(altek@altek.info): Warning: mdbox /srv/vmail/altek.info/altek/storage: rebuilding indexes Jan 30 09:45:12 mail dovecot: lmtp(altek@altek.info): Warning: fscking index file /srv/vmail/altek.info/altek/storage/dovecot.map.index -- cut --
On January 30, 2017 at 10:53 AM Andrey Melnikov temnota.am@gmail.com wrote:
2017-01-30 11:43 GMT+03:00 Aki Tuomi aki.tuomi@dovecot.fi:
Hi!
Please send these to dovecot@dovecot.org instead of us directly. Thank you. Ok, added to cc.
Also, did you try force-resync?
Not help.
Is
Jan 30 09:36:05 mail dovecot: lmtp(altek@altek.info): Warning: mdbox /srv/vmail/altek.info/altek/storage: Inconsistency in map index (63,31880 != 63,327528)
the first log entry about inconsistency? Also, if the file has indeed corrupted due to power loss, it's possible it's beyond repair, and you will have to delete the index file. This has the down side of losing flags, but it should repair this.
Aki
2017-01-31 13:03 GMT+03:00 Aki Tuomi aki.tuomi@dovecot.fi:
On January 30, 2017 at 10:53 AM Andrey Melnikov temnota.am@gmail.com wrote:
2017-01-30 11:43 GMT+03:00 Aki Tuomi aki.tuomi@dovecot.fi:
Hi!
Please send these to dovecot@dovecot.org instead of us directly. Thank you. Ok, added to cc.
Also, did you try force-resync?
Not help.
Is
Jan 30 09:36:05 mail dovecot: lmtp(altek@altek.info): Warning: mdbox /srv/vmail/altek.info/altek/storage: Inconsistency in map index (63,31880 != 63,327528)
the first log entry about inconsistency?
Jan 13 13:17:59 mail dovecot: pop3-login: Login:
user=altek@altek.info, method=PLAIN, rip=192.168.0.28,
lip=192.168.0.1, mpid=3482, session=
Jan 13 13:27:02 mail dovecot: lmtp(3636): Connect from ::1 Jan 13 13:27:02 mail dovecot: lmtp(altek@altek.info): Warning: mdbox /srv/vmail/altek.info/altek/storage: Inconsistency in map index (63,31880 != 63,31992) Jan 13 13:27:02 mail dovecot: lmtp(altek@altek.info): UfL0G3areFg0DgAANAhlbg: msgid=C9CC7A2922F6DA89555019A044B43319@chorvatsko.cz: saved mail to INBOX Jan 13 13:27:02 mail dovecot: lmtp(altek@altek.info): Warning: mdbox /srv/vmail/altek.info/altek/storage: Inconsistency in map index (63,31880 != 63,32116) Jan 13 13:27:02 mail dovecot: lmtp(altek@altek.info): Warning: fscking index file /srv/vmail/altek.info/altek/storage/dovecot.map.index Jan 13 13:27:02 mail dovecot: lmtp(altek@altek.info): Warning: mdbox /srv/vmail/altek.info/altek/storage: rebuilding indexes Jan 13 13:27:15 mail dovecot: lmtp(3636): Disconnect from ::1: Successful quit
Also, if the file has indeed corrupted due to power loss, it's possible it's beyond repair, and you will have to delete the index file. This has the down side of losing flags, but it should repair this. Why dovecot not repair it by itself?
On 31.01.2017 12:39, Andrey Melnikov wrote:
On January 30, 2017 at 10:53 AM Andrey Melnikov temnota.am@gmail.com wrote:
2017-01-30 11:43 GMT+03:00 Aki Tuomi aki.tuomi@dovecot.fi:
Hi!
Please send these to dovecot@dovecot.org instead of us directly. Thank you. Ok, added to cc.
Also, did you try force-resync? Not help. Is
Jan 30 09:36:05 mail dovecot: lmtp(altek@altek.info): Warning: mdbox /srv/vmail/altek.info/altek/storage: Inconsistency in map index (63,31880 != 63,327528)
the first log entry about inconsistency? Jan 13 13:17:59 mail dovecot: pop3-login: Login: user=altek@altek.info, method=PLAIN, rip=192.168.0.28,
2017-01-31 13:03 GMT+03:00 Aki Tuomi aki.tuomi@dovecot.fi: lip=192.168.0.1, mpid=3482, session=
Jan 13 13:17:59 mail dovecot: pop3(altek@altek.info): Error: Corrupted index cache file /srv/vmail/altek.info/altek/mailboxes/INBOX/dbox-Mails/dovecot.index.cache: invalid record size Jan 13 13:18:06 mail dovecot: pop3(altek@altek.info): Disconnected: Logged out top=0/0, retr=10/4412776, del=0/2634, size=749609216 Jan 13 13:27:02 mail dovecot: lmtp(3636): Connect from ::1 Jan 13 13:27:02 mail dovecot: lmtp(altek@altek.info): Warning: mdbox /srv/vmail/altek.info/altek/storage: Inconsistency in map index (63,31880 != 63,31992) Jan 13 13:27:02 mail dovecot: lmtp(altek@altek.info): UfL0G3areFg0DgAANAhlbg: msgid=C9CC7A2922F6DA89555019A044B43319@chorvatsko.cz: saved mail to INBOX Jan 13 13:27:02 mail dovecot: lmtp(altek@altek.info): Warning: mdbox /srv/vmail/altek.info/altek/storage: Inconsistency in map index (63,31880 != 63,32116) Jan 13 13:27:02 mail dovecot: lmtp(altek@altek.info): Warning: fscking index file /srv/vmail/altek.info/altek/storage/dovecot.map.index Jan 13 13:27:02 mail dovecot: lmtp(altek@altek.info): Warning: mdbox /srv/vmail/altek.info/altek/storage: rebuilding indexes Jan 13 13:27:15 mail dovecot: lmtp(3636): Disconnect from ::1: Successful quit
Also, if the file has indeed corrupted due to power loss, it's possible it's beyond repair, and you will have to delete the index file. This has the down side of losing flags, but it should repair this. Why dovecot not repair it by itself?
It really should, as it's saying... Have to see why it's not successful in this.
Aki
participants (2)
-
Aki Tuomi
-
Andrey Melnikov