<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi All,<br><br>I am getting following error when trying to run csync2 -x.<br><br>ERROR: Connection to remote host failed.<br>Finished with 1 errors.<br><br>my config file is <br><br>#nossl vpbx1-* vpbx1-*;<br>group host1<br>{<br>backup-directory /var/backups/csync2;<br>backup-generations 5;<br>auto none;<br>host host1.local (host2.local);<br>key /etc/csync2.key_host2.key;<br>exclude *~ .* ok lock control;<br>include /etc/csync2.cfg;<br>include /etc/hosts;<br>include /etc/odbc.ini;<br>include /etc/odbcinst.ini;<br>include /etc/ha.d/haresources;<br>include /etc/ha.d/resource.d;<br>include /etc/asterisk;<br>include /var/lib/asterisk;<br>include /var/spool/asterisk;<br>include /usr/lib/asterisk;<br>include /var/log/asterisk;<br>include /etc/aliases;<br>include /etc/aliases.db;<br>include /etc/test;<br><br>result for the csync2 -Tvvv command.<br><br>root@host2:~ $
 csync2 -Tvvv<br>My hostname is host2.local.<br>Database-File: /var/lib/csync2/host2.local.db<br>Config-File:&nbsp;&nbsp; /etc/csync2.cfg<br>Running in-sync check for host2.local &lt;-&gt; host1.local.<br>Connecting to host host1.local (SSL) ...<br>Can't connect to remote host.<br>ERROR: Connection to remote host failed.<br>SQL: SELECT command, logfile FROM action GROUP BY command, logfile<br>SQL Query finished.<br>Finished with 1 errors.<br>You have new mail in /var/spool/mail/root<br><br>am i doing anything wrong with the host name can some one please help me?<br><br>Thanks,<br>Rifdhy.<br><br><br></td></tr></table>