Re: Problems with replication

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/15/2015 07:06 PM, plate@xxxxxxxxxxxxxxxxxxxxxxxx wrote:
Hi,

I have a strange problem setting up replication from one Linux to another.
Both machines run cyrus 2.4.17, master is Gentoo (32 bit), replica is
Debian 8 (64 bit).

I am running a similar pair with Gentoo / Debian 7 w/o any problems.

Problems start with synctest:

synctest -a cyrus@replica -m PLAIN  -v -p 2005 replica
S: * OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE STARTTLS AUTH=LOGIN
AUTH=PLAIN AUTH=CRAM-MD5 AUTH=DIGEST-MD5 SASL-IR] replica Cyrus IMAP
v2.4.17-caldav-beta10-Debian-2.4.17+caldav~beta10-18 server ready




Looks to me that you are running imap server on port 2005, not the sync server. Try telneting to port 2005 on the replica.

You should see something like:

Connected to replica.
Escape character is '^]'.
* SASL PLAIN
* STARTTLS
* COMPRESS DEFLATE
* OK replica Cyrus sync server v2.4.17










Please enter your password:
C: AUTHENTICATE PLAIN xxxxxxxxxxxxxxx
S: S: AUTHENTICATE BAD Please login first
base64 decoding error
Authentication failed. generic failure
Security strength factor: 0

replica just logs
cyrus/master[11225]: about to exec /usr/lib/cyrus/bin/sync_server
cyrus/syncserver[11225]: executed
cyrus/syncserver[11225]: sql auxprop plugin using mysql engine
cyrus/syncserver[11225]: accepted connection
cyrus/master[11178]: process 11225 exited, status 0

Trying with sync_client just says

Can not connect to server 'replica', retrying in 15 seconds

I can do imtest with same credentials, cyrus@replica is admin - works
perfect. Any ideas, please ?


Michael


----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus


begin:vcard
fn:Patrick Boutilier
n:Boutilier;Patrick
org:;Nova Scotia Department of Education
adr:;;2021 Brunswick Street;Halifax;NS;B3K 2Y5;Canada
email;internet:boutilpj@xxxxxxxxxxx
title:WAN Communications Specialist
tel;work:902-424-6800
tel;fax:902-424-0874
version:2.1
end:vcard

----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux