Couldn't create lock .dovecot-sync.lock

listas at adminlinux.com.br listas at adminlinux.com.br
Sat May 16 13:06:36 UTC 2015


Hi,

In a cluster with two servers and replication via dovecot-dsync, this 
error is logged:
server1 dovecot: dsync-server(<user>): Error: Couldn't create lock 
/var/lib/imap/user/6a/<user>/.dovecot-sync.lock: No such file or directory

This is because "/var/lib/imap/user/6a/<user>/" doesn't exist in 
server1. In another cluster node, the directory exists and everything 
seems to work fine.

In my view, this indicates that the first sync is failing. In the first 
user access Dovecot creates home_dir for him. But the sync is not 
happening at this time to create the home_dir on the other node.

My confs with doveconf -n: 
http://www.adminlinux.com.br/newcluster_doveconf.txt

Thanks in advance!
--
Thiago Henrique





More information about the dovecot mailing list