No subject


Sat Oct 2 08:10:42 CEST 2010


[root at glddb-master sbin]# csync2 -xvv=20
My hostname is glddb-master.=20
Database-File: /var/lib/csync2/glddb-master.db=20
Config-File:   /etc/csync2.cfg=20
Running recursive check for / ...=20
SQL: SELECT filename from file where filename =3D '/' or 1 ORDER BY =
filename=20
SQL Query finished.=20
Checking /* ..=20
Don't check at all: /var=20
Don't check at all: /usr=20
Don't check at all: /tmp=20
Don't check at all: /tftpboot=20
Don't check at all: /sys=20
Don't check at all: /srv=20
Don't check at all: /selinux=20
Don't check at all: /sbin=20
Don't check at all: /root=20
Don't check at all: /proc=20
Don't check at all: /opt=20
Don't check at all: /net=20
Don't check at all: /mnt=20
Don't check at all: /misc=20
Don't check at all: /media=20
Don't check at all: /lost+found=20
Don't check at all: /lib=20
Checking /home/* ..=20
Checking /home/www/* ..=20
Don't check at all: /home/www/ehp.wr=20
Don't check at all: /home/mysql=20
Don't check at all: /etc=20
Don't check at all: /dev=20
Don't check at all: /chroot=20
Don't check at all: /boot=20
Don't check at all: /bin=20
Don't check at all: /.autorelabel=20
Don't check at all: /.autofsck=20
SQL: SELECT peername FROM dirty GROUP BY peername ORDER BY random()=20
SQL Query finished.=20
SQL: SELECT filename, myname, force FROM dirty WHERE peername =3D =
'glddb-slave1' ORDER by filename ASC=20
SQL Query finished.=20
Connecting to host glddb-slave1 (SSL) ...=20
ERROR: Config request SSL but this csync2 is built without SSL support.=20
ERROR: Connection to remote host failed.=20
Host stays in dirty state. Try again later...=20
SQL: SELECT command, logfile FROM action GROUP BY command, logfile=20
SQL Query finished.=20
Finished with 2 errors.=20
----------------------------------------=20
I know that slave1 is compiled with SSL:=20
[root at glddb-slave1 sbin]# ldd csync2=20
       linux-gate.so.1 =3D>  (0x00a5e000)=20
       libgnutls-openssl.so.26 =3D> /usr/lib/libgnutls-openssl.so.26 =
(0x00e35000)=20
       libsqlite.so.0 =3D> /usr/lib/libsqlite.so.0 (0x009f0000)=20
       libgnutls.so.26 =3D> /usr/lib/libgnutls.so.26 (0x00183000)=20
       libgcrypt.so.11 =3D> /usr/lib/libgcrypt.so.11 (0x036f0000)=20
       libdl.so.2 =3D> /lib/libdl.so.2 (0x0030a000)=20
       libgpg-error.so.0 =3D> /usr/lib/libgpg-error.so.0 (0x009c2000)=20
       libtasn1.so.3 =3D> /usr/lib/libtasn1.so.3 (0x00110000)=20
       libc.so.6 =3D> /lib/libc.so.6 (0x0030f000)=20
       libz.so.1 =3D> /usr/lib/libz.so.1 (0x00120000)=20
       /lib/ld-linux.so.2 (0x00166000)=20

Not sure what I'm missing.=20
----------------
Thank you,
Chris

From:=20
Fabricio Cannini <fcannini at gmail.com>=20
To:=20
csync2 at lists.linbit.com=20
Date:=20
10/05/2010 12:50 PM=20
Subject:=20
Re: [Csync2] Errors when running csync2=20
Sent by:=20
csync2-bounces at lists.linbit.com

________________________________________



On Tuesday 05 October 2010 14:53:47 you wrote:

> Also, you should use the same key and ssl cert on both hosts.
> ( Took me quite a while to figure this one out )
>=20
> [ ]'s

> Okay, so each host shouldn't generate its own ssl cert?
> --------------
> Thanks,

i'm using csync2 1.34 in a HPC cluster, and that's how i made it to =
work;
Copying the key and ssl cert generated on the head node to all nodes.
After that, it went fine.

[ ]'s
_______________________________________________
Csync2 mailing list
Csync2 at lists.linbit.com
http://lists.linbit.com/mailman/listinfo/csync2


_______________________________________________
Csync2 mailing list
Csync2 at lists.linbit.com
http://lists.linbit.com/mailman/listinfo/csync2=20





More information about the Csync2 mailing list