Problem solved.

After disabling TLS by adding (not documented) "nossl * *;" before group block, 
I received different errors.
By default csync2 2.0 package in Ubuntu 16.04 comes with inetd. Then I found 
(another not documented) flag to csync2 - 
http://stackoverflow.com/questions/30235086/error-in-csync2-two-server-data-using-csync2-tools

So, to solve issue just change csync2 declaration string in /etc/inetd.conf from
csync2          stream  tcp     nowait  root    /usr/sbin/csync2        csync2 
-i
to
csync2          stream  tcp     nowait  root    /usr/sbin/csync2        csync2 
-i -l

--
Taras Savchuk




From: csync2-boun...@lists.linbit.com [mailto:csync2-boun...@lists.linbit.com] 
On Behalf Of Тарас Савчук
Sent: Tuesday, August 9, 2016 2:58 PM
To: csync2@lists.linbit.com
Subject: [Csync2] Received record packet of unknown type 83

Hi All,

I have issue csyncing two servers (Ubuntu 16.04 + latest csync2 package).
Initial "csync2 -x" works well, but after modifying file on one of servers and 
running "csync2 -x" again, I receive "Received record packet of unknown type 
83".

Log:

Peer> OK (cmd_finished).\n
While syncing file /etc/apache2/mytestFILE:
response from peer(/etc/apache2/mytestFILE): srv6 [1] <- OK (cmd_finished).
Local> PATCH bPNkA3QMS5CtFSi_zZrLvsOcj2yIR4KO5uYOsR8XLwSw24kc85buX7EHee8xhJBr 
/etc/apache2/mytestFILE\n
ASSERT: gnutls_record.c:572
Received record packet of unknown type 83
ASSERT: gnutls_record.c:1076
ASSERT: gnutls_record.c:1158
ASSERT: gnutls_record.c:1410
Peer>
While syncing file /etc/apache2/mytestFILE:
response from peer(/etc/apache2/mytestFILE): srv6 [9] <- Connection closed.
File stays in dirty state. Try again later...
Local> BYE\n
ASSERT: gnutls_record.c:445
ASSERT: gnutls_record.c:1385
Peer>
response from peer(<no file>): srv6 [9] <- Connection closed.
ASSERT: gnutls_buffers.c:695
ASSERT: gnutls_record.c:1385
ASSERT: gnutls_record.c:314

--
Taras Savchuk


_______________________________________________
Csync2 mailing list
Csync2@lists.linbit.com
http://lists.linbit.com/mailman/listinfo/csync2

Reply via email to