[Dovecot] duplicate transaction log sequence?
We had to move our dovecot from one server to another and used rsync to move the mail but it took us some time.. In our log at the new server, we are getting a lot of these..:
2010/10/08 23:28:23 imap(emailadr): Error: Index /opt/vmail/ba-avis.no/bpe/mail/.Nettforum/dovecot.index: Lost log for seq=22 offset=25248 2010/10/08 23:28:23 imap(emailadr): Warning: fscking index file /opt/vmail/ba-avis.no/bpe/mail/.Nettforum/dovecot.index 2010/10/08 23:28:23 imap(emailadr): Error: /opt/vmail/ba-avis.no/bpe/mail/.Nettforum/dovecot.index log position went backwards (22,25248 < 23,42384) 2010/10/08 23:28:23 imap(emailadr): Error: Index /opt/vmail/ba-avis.no/bpe/mail/.Nettforum/dovecot.index: Lost log for seq=22 offset=25248 2010/10/08 23:28:23 imap(emailadr): Warning: fscking index file /opt/vmail/ba-avis.no/bpe/mail/.Nettforum/dovecot.index 2010/10/08 23:28:23 imap(emailadr): Error: Transaction log /opt/vmail/ba-avis.no/bpe/mail/.Debattinnlegg/dovecot.index.log: duplicate transaction log sequence (33) 2010/10/08 23:28:23 imap(emailadr): Error: Transaction log /opt/vmail/ba-avis.no/bpe/mail/.Debattinnlegg/dovecot.index.log: duplicate transaction log sequence (33) 2010/10/08 23:28:23 imap(emailadr): Error: Transaction log /opt/vmail/ba-avis.no/bpe/mail/.Debattinnlegg/dovecot.index.log: duplicate transaction log sequence (33) 2010/10/08 23:28:23 imap(emailadr): Error: /opt/vmail/ba-avis.no/bpe/mail/.Debattinnlegg/dovecot.index log position went backwards (33,56 < 33,16084) 2010/10/08 23:28:23 imap(emailadr): Error: Transaction log /opt/vmail/ba-avis.no/bpe/mail/.Debattinnlegg/dovecot.index.log: duplicate transaction log sequence (33) 2010/10/08 23:28:23 imap(emailadr: Error: Transaction log /opt/vmail/ba-avis.no/bpe/mail/.Debattinnlegg/dovecot.index.log: duplicate transaction log sequence (33) 2010/10/08 23:28:23 imap(emailadr): Error: Transaction log /opt/vmail/ba-avis.no/bpe/mail/.Sent/dovecot.index.log: duplicate transaction log sequence (24) 2010/10/08 23:28:23 imap(emailadr): Error: Transaction log /opt/vmail/ba-avis.no/bpe/mail/.Sent/dovecot.index.log: duplicate transaction log sequence (24)
Should I be worried, what does those mean? Is there something I must/should/can do to fix it?
Also getting a lot of these..:
2010/10/07 09:12:49 imap(emailadr): Warning: Fixed a duplicate: /opt/vmail/ba-avis.no/ihv/mail/cur/1283793654.M548656P18945.pat,W=3656:2,RS -> 1286435569.M468796P1301.hostname 2010/10/07 09:12:49 imap(emailadr): Warning: Fixed a duplicate: /opt/vmail/ba-avis.no/ihv/mail/cur/1285324810.M197070P12420.pat,W=2857:2,Sb -> 1286435569.M468797P1301.hostname
Those are just warning but should I do something with these as well?
And more like these..:
2010/10/07 23:00:25 imap(emailadr): Error: /opt/vmail/ba-avis.no/annonse/mail/dovecot.index log position went backwards (223,301096 < 225,2164) 2010/10/07 23:00:25 imap(emailadr): Error: Index /opt/vmail/ba-avis.no/annonse/mail/dovecot.index: Lost log for seq=223 offset=301096 2010/10/07 23:00:25 imap(emailadr): Warning: fscking index file /opt/vmail/ba-avis.no/annonse/mail/dovecot.index 2010/10/07 23:00:25 imap(emailadr): Error: Fixed index file /opt/vmail/ba-avis.no/annonse/mail/dovecot.index: log_file_seq 223 -> 226 2010/10/07 23:00:25 imap(emailadr): Panic: file index-status.c: line 155 (index_storage_get_status): assertion failed: (status_r->recent <= status_r->messages) 2010/10/07 23:00:25 imap(emailadr): Error: Raw backtrace: /usr/local/lib/dovecot/libdovecot.so.0 [0x1fb930] -> /usr/local/lib/dovecot/libdovecot.so.0 [0x1fb985] -> /usr/local/lib/dovecot/libdovecot.so.0 [0x1fafe8] -> /usr/local/lib/dovecot/libdovecot-storage.so.0(index_storage_get_status+0x391) [0x14fdb1] -> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_get_status+0x1d) [0x13248d] -> dovecot/imap(imap_sync_deinit+0x9c) [0x805dd0c] -> dovecot/imap [0x805dfa6] -> dovecot/imap(cmd_sync_delayed+0x1bc) [0x805e36c] -> dovecot/imap(client_handle_input+0x1d0) [0x8055c60] -> dovecot/imap(client_input+0x5f) [0x805645f] -> /usr/local/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0x110) [0x207e50] -> /usr/local/lib/dovecot/libdovecot.so.0(io_loop_run+0x2f) [0x206a5f] -> /usr/local/lib/dovecot/libdovecot.so.0(master_service_run+0x2a) [0x1f461a] -> dovecot/imap(main+0x21c) [0x805eafc] -> /lib/libc.so.6(__libc_start_main+0xdc) [0x45be9c] -> dovecot/imap [0x804e071] 2010/10/07 23:00:25 master: Error: service(imap): child 1077 killed with signal 6 (core dumps disabled) 2010/10/07 23:00:25 imap(emailadr): Error: Transaction log /opt/vmail/ba-avis.no/abs/mail/.Drafts/dovecot.index.log: duplicate transaction log sequence (18) 2010/10/07 23:00:25 imap(emailadr): Error: Transaction log /opt/vmail/ba-avis.no/abs/mail/.Drafts/dovecot.index.log: duplicate transaction log sequence (18) 2010/10/07 23:00:25 imap(emailadr): Error: Transaction log /opt/vmail/ba-avis.no/abs/mail/.Drafts/dovecot.index.log: duplicate transaction log sequence (18) 2010/10/07 23:00:25 imap(emailadr): Error: Transaction log /opt/vmail/ba-avis.no/abs/mail/.Drafts/dovecot.index.log: duplicate transaction log sequence (18)
This looks kind of severe?
BTW, when moving from old server to new we upgraded Dovecot from 1.2.x to 2.0.5...
Regards,
BTJ
--
Bjørn T Johansen
btj@havleik.no
Someone wrote: "I understand that if you play a Windows CD backwards you hear strange Satanic messages" To which someone replied: "It's even worse than that; play it forwards and it installs Windows"
On Fri, 2010-10-08 at 23:51 +0200, Bjørn T Johansen wrote:
We had to move our dovecot from one server to another and used rsync to move the mail but it took us some time..
I guess you mean you ran it while users could still be making changes?
2010/10/08 23:28:23 imap(emailadr): Error: Index /opt/vmail/ba-avis.no/bpe/mail/.Nettforum/dovecot.index: Lost log for seq=22 offset=25248 2010/10/08 23:28:23 imap(emailadr): Warning: fscking index file /opt/vmail/ba-avis.no/bpe/mail/.Nettforum/dovecot.index
Those should go away automatically. Don't worry about them.
Also getting a lot of these..:
2010/10/07 09:12:49 imap(emailadr): Warning: Fixed a duplicate: /opt/vmail/ba-avis.no/ihv/mail/cur/1283793654.M548656P18945.pat,W=3656:2,RS -> 1286435569.M468796P1301.hostname 2010/10/07 09:12:49 imap(emailadr): Warning: Fixed a duplicate: /opt/vmail/ba-avis.no/ihv/mail/cur/1285324810.M197070P12420.pat,W=2857:2,Sb -> 1286435569.M468797P1301.hostname
Message's flags were changed between two rsyncs, so the same message got transferred twice but with different filenames. Dovecot now created a duplicate message (since it thought that it's safer to create a duplicate than to delete a non-duplicate).
Those are just warning but should I do something with these as well?
They go away automatically too. Users might be annoyed at the duplicate messages.
And more like these..:
All of the index errors will go away too.
2010/10/07 23:00:25 imap(emailadr): Panic: file index-status.c: line 155 (index_storage_get_status): assertion failed: (status_r->recent <= status_r->messages)
I should some day try to fix this I guess..
BTW, when moving from old server to new we upgraded Dovecot from 1.2.x to 2.0.5...
The next time you could do it with dsync to avoid these kind of problems.
On Thu, 14 Oct 2010 17:37:45 +0100 Timo Sirainen tss@iki.fi wrote:
On Fri, 2010-10-08 at 23:51 +0200, Bjørn T Johansen wrote:
We had to move our dovecot from one server to another and used rsync to move the mail but it took us some time..
I guess you mean you ran it while users could still be making changes?
2010/10/08 23:28:23 imap(emailadr): Error: Index /opt/vmail/ba-avis.no/bpe/mail/.Nettforum/dovecot.index: Lost log for seq=22 offset=25248 2010/10/08 23:28:23 imap(emailadr): Warning: fscking index file /opt/vmail/ba-avis.no/bpe/mail/.Nettforum/dovecot.index
Those should go away automatically. Don't worry about them.
Also getting a lot of these..:
2010/10/07 09:12:49 imap(emailadr): Warning: Fixed a duplicate: /opt/vmail/ba-avis.no/ihv/mail/cur/1283793654.M548656P18945.pat,W=3656:2,RS -> 1286435569.M468796P1301.hostname 2010/10/07 09:12:49 imap(emailadr): Warning: Fixed a duplicate: /opt/vmail/ba-avis.no/ihv/mail/cur/1285324810.M197070P12420.pat,W=2857:2,Sb -> 1286435569.M468797P1301.hostname
Message's flags were changed between two rsyncs, so the same message got transferred twice but with different filenames. Dovecot now created a duplicate message (since it thought that it's safer to create a duplicate than to delete a non-duplicate).
Those are just warning but should I do something with these as well?
They go away automatically too. Users might be annoyed at the duplicate messages.
And more like these..:
All of the index errors will go away too.
2010/10/07 23:00:25 imap(emailadr): Panic: file index-status.c: line 155 (index_storage_get_status): assertion failed: (status_r->recent <= status_r->messages)
I should some day try to fix this I guess..
BTW, when moving from old server to new we upgraded Dovecot from 1.2.x to 2.0.5...
The next time you could do it with dsync to avoid these kind of problems.
Yes, it was run while users were making changes... But I discoverd the main reasons for this... Someone had started the rsync process again after we had started using the new server, which kind of "made a mess" of the mails on our new server.... :(
But dsync will be tried next time, thx... :)
Regards,
BTJ
participants (2)
-
Bjørn T Johansen
-
Timo Sirainen