[Csync2] ERROR: Connection to remote host failed.

rifdhy riyal rifdhy at fortunaglobal.com
Mon Apr 27 14:02:09 CEST 2009


Hi All,

I am getting following error when trying to run csync2 -x.

ERROR: Connection to remote host failed.
Finished with 1 errors.

my config file is 

#nossl vpbx1-* vpbx1-*;
group host1
{
backup-directory /var/backups/csync2;
backup-generations 5;
auto none;
host host1.local (host2.local);
key /etc/csync2.key_host2.key;
exclude *~ .* ok lock control;
include /etc/csync2.cfg;
include /etc/hosts;
include /etc/odbc.ini;
include /etc/odbcinst.ini;
include /etc/ha.d/haresources;
include /etc/ha.d/resource.d;
include /etc/asterisk;
include /var/lib/asterisk;
include /var/spool/asterisk;
include /usr/lib/asterisk;
include /var/log/asterisk;
include /etc/aliases;
include /etc/aliases.db;
include /etc/test;

result for the csync2 -Tvvv command.

root at host2:~ $ csync2 -Tvvv
My hostname is host2.local.
Database-File: /var/lib/csync2/host2.local.db
Config-File:   /etc/csync2.cfg
Running in-sync check for host2.local <-> host1.local.
Connecting to host host1.local (SSL) ...
Can't connect to remote host.
ERROR: Connection to remote host failed.
SQL: SELECT command, logfile FROM action GROUP BY command, logfile
SQL Query finished.
Finished with 1 errors.
You have new mail in /var/spool/mail/root

am i doing anything wrong with the host name can some one please help me?

Thanks,
Rifdhy.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.linbit.com/pipermail/csync2/attachments/20090427/bed65bb7/attachment.htm 


More information about the Csync2 mailing list