Preparing for replication: dsync-local(testaccount): Panic: file mbox-lock.c

Marc Roos M.Roos at f1-outsourcing.eu
Mon Oct 12 00:25:35 EEST 2020


I am preparing a bit for setting up replication. However when I manually 
try to dsync an account, the first time I execute this[1] command it 
seems to be ok. The 2nd time I am getting this error[2].
If I add -1 (one way syncing) the error disappears. Does this mean I 
will have problems with setting up replication between these two 
servers?


[1]
[@ ~]# doveadm sync -n inbox -u testaccount tcp:mail.local:542

[2]
[@ ~]# doveadm sync -n inbox -u testaccount tcp:mail.local:542
dsync-local(testaccount): Panic: file mbox-lock.c: line 799 (mbox_lock): 
assertion failed: (lock_type == F_RDLCK || mbox->mbox_lock_type != 
F_RDLCK)
dsync-local(testaccount): Error: Raw backtrace: 
/usr/lib64/dovecot/libdovecot.so.0(+0xa192e) [0x7fd4f827992e] -> 
/usr/lib64/dovecot/libdovecot.so.0(default_fatal_handler+0x2a) 
[0x7fd4f827999a] -> /usr/lib64/dovecot/libdovecot.so.0(i_fatal+0) 
[0x7fd4f8209257] -> 
/usr/lib64/dovecot/libdovecot-storage.so.0(mbox_lock+0xef) 
[0x7fd4f858feef] -> 
/usr/lib64/dovecot/libdovecot-storage.so.0(mbox_save_begin+0x658) 
[0x7fd4f8591958] -> 
/usr/lib64/dovecot/libdovecot-storage.so.0(mailbox_save_begin+0x83) 
[0x7fd4f855a573] -> doveadm(+0x4a6a3) [0x55e5ae8276a3] -> 
doveadm(dsync_mailbox_import_mail+0xca) [0x55e5ae82a9fa] -> 
doveadm(dsync_brain_sync_mails+0xb3) [0x55e5ae824963] -> 
doveadm(dsync_brain_run+0x551) [0x55e5ae820551] -> doveadm(+0x438e0) 
[0x55e5ae8208e0] -> doveadm(+0x5899f) [0x55e5ae83599f] -> 
/usr/lib64/dovecot/libdovecot.so.0(io_loop_call_io+0x52) 
[0x7fd4f828f672] -> 
/usr/lib64/dovecot/libdovecot.so.0(io_loop_handler_run_internal+0x10f) 
[0x7fd4f8290d5f] -> 
/usr/lib64/dovecot/libdovecot.so.0(io_loop_handler_run+0x3c) 
[0x7fd4f828f70c] -> /usr/lib64/dovecot/libdovecot.so.0(io_loop_run+0x38) 
[0x7fd4f828f8c8] -> doveadm(+0x297c9) [0x55e5ae8067c9] -> 
doveadm(+0x2bdcc) [0x55e5ae808dcc] -> doveadm(+0x2c9ca) [0x55e5ae8099ca] 
-> doveadm(doveadm_mail_try_run+0x215) [0x55e5ae80a325] -> 
doveadm(main+0x46a) [0x55e5ae7f949a] -> 
/lib64/libc.so.6(__libc_start_main+0xf5) [0x7fd4f7e2c555] -> 
doveadm(+0x1c605) [0x55e5ae7f9605]
Aborted


CentOS Linux release 7.8.2003 (Core)
dovecot-pigeonhole-2.2.36-6.el7_8.1.x86_64
dovecot-2.2.36-6.el7_8.1.x86_64


More information about the dovecot mailing list