Setting up replication?
Knute Johnson
dovecot at knutejohnson.com
Sun Mar 27 00:54:17 UTC 2016
On 3/24/2016 08:54, Knute Johnson wrote:
>
> I've got it working more or less. I had to change the mode of
> replicator-doveadm to 0666. I'm still getting errors for 'nobody' but
> that doesn't seem to cause it to not work, just annoying.
>
> Can anybody explain the significance of the mode?
>
> I'm syncing between a 2.2.9 and 2.2.13 system. Any thing I should
> look for?
>
> Thanks,
>
Well it worked fine until yesterday and then it started creating
duplicates by the hundreds. Errors about EOF for two valid users on the
secondary system. This is a sample of the errors in the log:
[0x7efecd2c9de8] -> dovecot/doveadm-server(+0x1a189) [0x7efecda6e189] -> dovecot/doveadm-server(+0xebeb) [0x7efecda62beb] -> dovecot/doveadm-server(+0x184d3) [0x7efecda6c4d3] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_call_io+0x27) [0x7efecd2ca247] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0xd7) [0x7efecd2cafd7] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_run+0x38) [0x7efecd2c9de8] -> /usr/lib/dovecot/libdovecot.so.0(master_service_run+0x13) [0x7efecd27ac93] -> dovecot/doveadm-server(main+0x11b) [0x7efecda6294b]: 1 Time(s)
dovecot: dsync-server(knute): Error: Sync failed for mbox file /var/mail/knute: UID inserted in the middle of mailbox (709931 > 709911, seq=105, idx_msgs=144): 2 Time(s)
dovecot: dsync-server(knute): Error: Sync failed for mbox file /var/mail/knute: UID inserted in the middle of mailbox (710924 > 710923, seq=310, idx_msgs=437): 2 Time(s)
dovecot: dsync-server(knute): Error: read(knute5.frazmtn.com) failed: EOF: 165 Time(s)
dovecot: dsync-server(knute): Fatal: master: service(doveadm): child 6940 killed with signal 6 (core dumped): 1 Time(s)
dovecot: dsync-server(knute): Panic: file mbox-lock.c: line 799 (mbox_lock): assertion failed: (lock_type == F_RDLCK || mbox->mbox_lock_type != F_RDLCK): 1 Time(s)
dovecot: dsync-server(penny): Error: read(knute5.frazmtn.com) failed: EOF: 263 Time(s)
I disabled replication and don't really know where to go from here. Can
anybody give me a hand?
Thanks,
--
Knute Johnson
More information about the dovecot
mailing list