Hi!
First, are you sure that csync2 daemon listening on each node? You can use one of these commands: lsof -ni TCP:30865 , netstat -ntupa|grep LIST|grep :30865
If thats OK, check firewall settings on each node (iptables-save)
From master node (when you want run csync2 -xv) you can connect to remote csync2 daemons (on each node) with these command: telnet node2.example.ru 30865
If you can connect to remote nodes, next you must check your configuration on each nodes (please show your /etc/csync2/csync2.cfg)
PS:
csync2 -iiivvv # this is debug mode on each node, you can run these command instead of xinetd daemon, next you can see debug messages on your console and use it for debug
csync2 -xvvv # you must run this command on your master node, you can see debug messages to your console
Try this solutions, if it does not work, write here
--
С уважением,
С уважением,
Гусев Павел
Руководитель отдела системного администрирования
QSOFT | Ведущий web-интегратор
офис 7(495) 771-7363 #110 | моб. 7(926) 850-1108
pgu...@qsoft.ru
Москва, Авангардная улица, 3 | qsoft.ru
San Francisco, 222 Columbus Ave | qsoftus.com
24.01.2015, 01:48, "Dan Falconer" <d...@affinitygs.com>:
I can't get Csync2 to work when configured through an xinetd script. I've added the file, /etc/xinetd.d/csync, with the following contents:,# default: offIn this configuration, running "csync2 -xv" shows that it cannot connect to any of the other nodes; running it manually (csync2 -iitv) works. I've added the appropriate entry into "/etc/services", along with values in "/etc/hosts.allow".
# description: csync2
service csync2
{
disable = no
flags = REUSE
socket_type = stream
wait = no
user = root
group = root
env = CSYNC2_SYSTEM_DIR=/etc/csync2
server = /usr/sbin/csync2
server_args = -itv
port = 30865
type = UNLISTED
log_type = FILE /var/log/csync2.log
log_on_success = HOST PID
log_on_failure = HOST
}
Can someone please point me in the right direction?--Dan Falconer Affinity Global Solutions 812 Burlington Dr, Suite 300 d...@affinitygs.com 701-223-3565 EXT 32_______________________________________________
Csync2 mailing list
Csync2@lists.linbit.com
http://lists.linbit.com/mailman/listinfo/csync2
_______________________________________________ Csync2 mailing list Csync2@lists.linbit.com http://lists.linbit.com/mailman/listinfo/csync2