[Csync2] How Can I Troubleshoot Config Command Failed?

Shalom Levytam development at the10thfloor.com
Sat Oct 8 19:20:46 CEST 2011


Hi,

I have been really struggling to get a simple implementation of csync working and would really appreciate some assistance.  I'm getting a Config command failed. and have no idea how to troubleshoot the problem.  

If someone could be please help, I'd be very thankful.

slevytam




Output from csync2 -xvvv
...
Connecting to host mail.the10thfloor.com (PLAIN) ...
Local> CONFIG \n
Peer> 
ERROR from peer mail.the10thfloor.com: Connection closed.
Config command failed.
ERROR: Connection to remote host failed.
Host stays in dirty state. Try again later...
SQL: SELECT command, logfile FROM action GROUP BY command, logfile
SQL Query finished.
Finished with 2 errors.

iptables -L for both systems
ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp dpt:csync2

[root at www1 csync2]# uname -n
www1.the10thfloor.com

[root at mail csync2]# uname -n
mail.the10thfloor.com

csync2.cfg for both hosts

> nossl * *;
> group mygroup
> {
>      host www1.the10thfloor.com;
>      host mail.the10thfloor.com;
>      key /etc/csync2/mygroup.key;
>      include /home/the10thfloor/test/;
>      exclude *~ .*;
>      auto none;
> }

same key used for both systems: /etc/csync2/mygroup.key
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/csync2/attachments/20111008/a25f9081/attachment.htm>


More information about the Csync2 mailing list