Re: Problems with replication

2015-05-17 Thread Nic Bernstein

On 05/17/2015 07:56 PM, pl...@bibliothek.uni-kassel.de wrote:

Hi,
[...]

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

now I seet it, too. My other install is answering like the above.

But I can't see the error; syncserver is configured like this in
/etc/cyrus.conf:

syncserver   cmd=/usr/lib/cyrus/bin/sync_server listen=csync

This is strange - anyone with a Debian 8, too ?


Have you got csync defined in /etc/services?

   csync2005/tcp# Cyrus IMAP replication

But perhaps the more salient question would be; if the IMAP server is 
listening on 2005, have you got imap misdefined in /etc/services?


Cheers,
-nic

--
Nic Bernstein n...@onlight.com
Onlight llc.  www.onlight.com
219 N. Milwaukee St., Ste. 2A v. 414.272.4477
Milwaukee, Wisconsin  53202   f. 414.290.0335


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

Re: Problems with replication

2015-05-17 Thread plate
Hi,
[...]
 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

now I seet it, too. My other install is answering like the above.

But I can't see the error; syncserver is configured like this in
/etc/cyrus.conf:

syncserver   cmd=/usr/lib/cyrus/bin/sync_server listen=csync

This is strange - anyone with a Debian 8, too ?

CU

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


Re: Problems with replication

2015-05-17 Thread Patrick Boutilier

On 05/15/2015 07:06 PM, pl...@bibliothek.uni-kassel.de 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 xxx
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



attachment: boutilpj.vcf
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

Problems with replication

2015-05-15 Thread plate
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

Please enter your password:
C: AUTHENTICATE PLAIN xxx
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