[Csync2] ERROR from peer http0: Identification failed!

Alex Cartwright alexc223 at googlemail.com
Wed Feb 2 15:50:13 CET 2011


If by 'ok' you mean the same content on each host, yes. However I have
just tried something because the /etc/hosts file on the new firewall
was slightly different. Essentially this server has 2 IP addresses, an
external IP address and then an RFC1918 address (all the other servers
also have an RFC1918 address behind this server). I have managed to
fix my issue by simply adding in the line '192.168.0.254 fw0' to
/etc/hosts. This is what it now looks like:

$ cat /etc/hosts
127.0.0.1       localhost
77.107.82.34    fw0.rrltd.net   fw0

# Firewall, again
192.168.0.254   fw0

# load balancers
192.168.0.1     lb0

# HTTP
192.168.0.2     http0

# NAS
192.168.0.3     nas0

So while now I do have 2 entries for fw0, it has resolved the issue.
Why I do not know, and I'm not quite sure why csync2 even cares about
that, but it fixed it.

On 2 February 2011 14:33, Lars Ellenberg <lars.ellenberg at linbit.com> wrote:
> On Wed, Feb 02, 2011 at 02:27:37PM +0000, Alex Cartwright wrote:
>> G'morning,
>>
>> I am using (or at least, trying) to use csync2 to sync up some servers
>> in our cluster. I had previously got it all working, but I recently
>> reinstalled the OS (Debian Squeeze) on our firewall, which is the
>> server I did the main syncing from. Since then I am having problems
>> while doing "csync2 -x" from this host, it simply results in 57 errors
>> such as:
>>
>> While syncing file /etc/vim/vimrc:
>> ERROR from peer http0: Identification failed!
>>
>> What could be causing this? I don't use SSL simply because I don't
>> want to right now and for simplicity sake. Here is my config:
>>
>> nossl * *;
>>
>> group standard {
>>         # Standard group that syncs up common configuration
>>         # that generally all our servers will be using.
>>         key /etc/csync2.key;
>>         auto none;
>>
>>         host fw0;
>>         host lb0;
>>         host nas0;
>>         host http0;
>>
>>         include /etc/csync2.cfg;
>>
>>         include /etc/adduser.conf;
>>         include /etc/apt/sources.list;
>>         include /etc/bash.bashrc;
>>         include /etc/gitconfig;
>>         include /etc/inittab;
>>         include /etc/issue.net;
>>         include /etc/skel/*;
>>         include /etc/vim/vimrc;
>> }
>>
>> The only thing I can think of is that I've read csync2 is very fussy
>> about host names, and the hostname for fw0 is really fw0.example.net,
>> however all the others such as lb0 their hostname is lb0.cluster ...
>> could this difference be what is causing it?
>
> csync2.key is ok?
>
> try running with -v (add as much v as necessary),
> try running the remote end with -iii -vvv
>
> --
> : Lars Ellenberg
> : LINBIT | Your Way to High Availability
> : DRBD/HA support and consulting http://www.linbit.com
>
> DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.
> _______________________________________________
> Csync2 mailing list
> Csync2 at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/csync2
>


More information about the Csync2 mailing list