No subject


Sat Oct 2 08:10:42 CEST 2010


[root at glddb-master sbin]# csync2 -xvv 
My hostname is glddb-master. 
Database-File: /var/lib/csync2/glddb-master.db 
Config-File:   /etc/csync2.cfg 
Running recursive check for / ... 
SQL: SELECT filename from file where filename = '/' or 1 ORDER BY filename 

SQL Query finished. 
Checking /* .. 
Don't check at all: /var 
Don't check at all: /usr 
Don't check at all: /tmp 
Don't check at all: /tftpboot 
Don't check at all: /sys 
Don't check at all: /srv 
Don't check at all: /selinux 
Don't check at all: /sbin 
Don't check at all: /root 
Don't check at all: /proc 
Don't check at all: /opt 
Don't check at all: /net 
Don't check at all: /mnt 
Don't check at all: /misc 
Don't check at all: /media 
Don't check at all: /lost+found 
Don't check at all: /lib 
Checking /home/* .. 
Checking /home/www/* .. 
Don't check at all: /home/www/ehp.wr 
Don't check at all: /home/mysql 
Don't check at all: /etc 
Don't check at all: /dev 
Don't check at all: /chroot 
Don't check at all: /boot 
Don't check at all: /bin 
Don't check at all: /.autorelabel 
Don't check at all: /.autofsck 
SQL: SELECT peername FROM dirty GROUP BY peername ORDER BY random() 
SQL Query finished. 
SQL: SELECT filename, myname, force FROM dirty WHERE peername = 
'glddb-slave1' ORDER by filename ASC 
SQL Query finished. 
Connecting to host glddb-slave1 (SSL) ... 
ERROR: Config request SSL but this csync2 is built without SSL support. 
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. 
---------------------------------------- 
I know that slave1 is compiled with SSL: 
[root at glddb-slave1 sbin]# ldd csync2 
        linux-gate.so.1 =>  (0x00a5e000) 
        libgnutls-openssl.so.26 => /usr/lib/libgnutls-openssl.so.26 
(0x00e35000) 
        libsqlite.so.0 => /usr/lib/libsqlite.so.0 (0x009f0000) 
        libgnutls.so.26 => /usr/lib/libgnutls.so.26 (0x00183000) 
        libgcrypt.so.11 => /usr/lib/libgcrypt.so.11 (0x036f0000) 
        libdl.so.2 => /lib/libdl.so.2 (0x0030a000) 
        libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0x009c2000) 
        libtasn1.so.3 => /usr/lib/libtasn1.so.3 (0x00110000) 
        libc.so.6 => /lib/libc.so.6 (0x0030f000) 
        libz.so.1 => /usr/lib/libz.so.1 (0x00120000) 
        /lib/ld-linux.so.2 (0x00166000) 

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



From: 
Fabricio Cannini <fcannini at gmail.com> 
To: 
csync2 at lists.linbit.com 
Date: 
10/05/2010 12:50 PM 
Subject: 
Re: [Csync2] Errors when running csync2 
Sent by: 
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 )
> 
> [ ]'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



--=_alternative 0070F304872577B3_=
Content-Type: text/html; charset="US-ASCII"

<font size=2 face="sans-serif">Sorry, yes I have verified that they are
both compiled with ssl.</font>
<br>
<br><font size=2 face="sans-serif">Not sure how to force &quot;nossl&quot;</font>
<br>
<br><font size=2 face="sans-serif">I get a:</font>
<br><font size=2 face="sans-serif">[root at glddb-master etc]# csync2 -xvv</font>
<br><font size=2 face="sans-serif">My hostname is glddb-master.</font>
<br><font size=2 face="sans-serif">Database-File: /var/lib/csync2/glddb-master.db</font>
<br><font size=2 face="sans-serif">Config-File: &nbsp; /etc/csync2.cfg</font>
<br><font size=2 face="sans-serif">Near line 10: syntax error</font>
<br>
<br><font size=2 face="sans-serif">Where line 10 states: &nbsp;nossl glddb-master
(glddb-slave1);</font>
<br><font size=2 face="sans-serif">----------------<br>
Thank you,<br>
<br>
Chris Bidwell, RHCT<br>
Red Hat Linux Administrator<br>
</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">From:</font>
<td><font size=1 face="sans-serif">Dennis Schafroth &lt;dennis at schafroth.dk&gt;</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">To:</font>
<td><font size=1 face="sans-serif">Christopher J Bidwell &lt;cbidwell at usgs.gov&gt;</font>
<tr>
<td valign=top><font size=1 color=#5f5f5f face="sans-serif">Cc:</font>
<td><font size=1 face="sans-serif">csync2 at lists.linbit.com</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Date:</font>
<td><font size=1 face="sans-serif">10/05/2010 01:47 PM</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Subject:</font>
<td><font size=1 face="sans-serif">Re: [Csync2] Errors when running csync2</font></table>
<br>
<hr noshade>
<br>
<br>
<br><font size=3>Hi, </font>
<br>
<br><font size=3>I am not sure I am that helpfull but looking at the code,
it simply not possible to get that message with HAVE_LIBGNUTLS enabled.


More information about the Csync2 mailing list