Hi,
Apologies for this being my 248th post about replication...
The current error I'm getting is:
Jan 30 12:10:54 Server1 dovecot: dsync-local(MailUser1): Error: dsync(
Server2.test.com): read() failed: read((fd)) failed: Connection reset by
peer
Subsequent errors are:
Jan 30 12:15:47 Server1 dovecot: dsync-local(MailUser1): Error: read(
Server2.test.com) failed: EOF
The above error is seen on Server1, after the initial sync completes of the
first mailbox (Sent folder to be precise).
Does anyone have an ideas as to what might be causing it? These are brand
new rebuilds, running the latest build - I just can't seem to get this
working.
Bug maybe?
Configs are as follows:
Server1:
# 2.2.10: /usr/pkg/etc/dovecot/dovecot.conf
# OS: NetBSD 5.2 cobalt
auth_mechanisms = plain login
doveadm_password = secret
doveadm_port = 12345
first_valid_uid = 1003
last_valid_uid = 1020
listen = 192.168.1.1
login_greeting = test.com
mail_location = mbox:~/mail:INBOX=/var/mail/%u
mail_plugins = " notify replication"
passdb {
driver = passwd
}
plugin {
mail_replica = tcp:Server2.test.com
}
protocols = imap
service aggregator {
fifo_listener replication-notify-fifo {
mode = 0666
}
unix_listener replication-notify {
mode = 0600
}
}
service auth {
unix_listener /var/spool/postfix/private/auth {
group = postfix
mode = 0660
user = postfix
}
user = root
}
service imap-login {
inet_listener imap {
port = 0
}
}
service replicator {
process_min_avail = 1
unix_listener replicator-doveadm {
mode = 0600
}
}
ssl_cert = </etc/openssl/certs/Server1.test.crt
ssl_key = </etc/openssl/private/Server1.test.key
userdb {
driver = passwd
}
protocol lda {
postmaster_address = postmaster at test.com
}
ServerB:
# 2.2.10: /usr/pkg/etc/dovecot/dovecot.conf
# OS: NetBSD 5.1 cobalt
auth_mechanisms = plain login
doveadm_password = secret
doveadm_port = 12345
listen = 192.168.1.2
login_greeting = test.com
mail_location = mbox:~/mail:INBOX=/var/mail/%u
passdb {
driver = passwd
}
protocols = imap
service aggregator {
fifo_listener replication-notify-fifo {
mode = 0666
}
unix_listener replication-notify {
mode = 0600
}
}
service auth {
unix_listener /var/spool/postfix/private/auth {
group = postfix
mode = 0660
user = postfix
}
user = root
}
service doveadm {
inet_listener {
port = 12345
}
}
service imap-login {
inet_listener imap {
port = 0
}
}
service replicator {
process_min_avail = 1
unix_listener replicator-doveadm {
mode = 0600
}
}
ssl_cert = </etc/openssl/certs/Server2.test.com.crt
ssl_key = </etc/openssl/private/Server2.test.com.key
userdb {
driver = passwd
}
protocol lda {
postmaster_address = postmaster at test.com
}
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, 30 Jan 2014, IT geek 31 wrote:> Apologies for this being my 248th post about replication... > > The current error I'm getting is: > > Jan 30 12:10:54 Server1 dovecot: dsync-local(MailUser1): Error: dsync( > Server2.test.com): read() failed: read((fd)) failed: Connection reset by > peerthis is a generic network error: http://stackoverflow.com/questions/1434451/what-does-connection-reset-by-peer-mean The other side of the communication channel closed the connection. It also does not neccessarily mean that other end point did it, but it could be a firewall, router, whatever in between as well. - -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQEVAwUBUuo9BHD1/YhP6VMHAQLnZgf+LZPlLEvqf1RKui2tf3/a6w1u5pk9E0I2 k9fy4GRGCLQzrEhr0X2ayCyZmr6gLrfcqB1txwrlNw/YfZ/TpQwVIfCwQZOiDw49 Yr2sPP8tZtWqX4Ebk4L0577m9kscG3Hf2vWEP+t/m9RDUztGAEUweZvmMYOazk1p J5RQI1iAA0AnJesRL89xHv3c9cjCFCMrNs6V0nWpa+bPYbntq5NHB2nESZaifjWL 5dAMOevek/P0QGFrkHA1cLAaOe7qtJwdkOZ8eShXaIm+qPtrsSTZdSsi0dzC4DgU 612St0YTcfpcLnkYBLV14HlcuGaUA33kEnRt/ICVvE5fNRLyHrCFlA==WeHN -----END PGP SIGNATURE-----
Maybe Matching Threads
- prefetch not working (for me) on ldap user backend
- Error: User bob@aaa.bbb doesn't have home dir set, disabling duplicate database
- Error: User bob@aaa.bbb doesn't have home dir set, disabling duplicate database
- Error: User bob@aaa.bbb doesn't have home dir set, disabling duplicate database
- Error: User bob@aaa.bbb doesn't have home dir set, disabling duplicate database