[Csync2] Symlinks problem, ssl through nat?
Clifford Wolf
clifford at clifford.at
Wed Feb 22 12:54:30 CET 2006
Hi,
On Wed, Feb 22, 2006 at 12:34:27PM +0100, Konrad Korzeniowski wrote:
> webhost:~# csync2 -xv
> Connecting to host host2 (PLAIN) ...
> Updating %homedir%/apache/mime.types on host2 ...
> While syncing file %homedir%/apache/mime.types:
> ERROR from peer host2: No such file or directory
> File stays in dirty state. Try again later...
> Finished with 1 errors.
Does the path to %homedir%/apache/mime.types on host2 (/backup/apache)
exist? Debug the csync2 deamon on host2 using strace to find it out.
To do so, run on host2:
# strace -o csync2.trace csync2 -iii -p 1805
And then on webhost:
# csync2 -xv -P host2 -p 1805
(you can also use another port number, 1805 is my birthday and as good as
any other free TCP port.. ;-)
This will create a file 'csync2.trace' on host2. If you are not able
to analyze this csync2.trace file on your own just send it to this list. I
will have a look at it then.
> second question - is it possible to run ssl connection while both of the
> hosts are behind nat (dnat) in configuration over internet? I cannot
> make it to work...
>
> webhost:/etc# csync2 -Tvvvvv webhost host2
> My hostname is webhost.
> Database-File: /var/lib/csync2/webhost.db
> Config-File: /etc/csync2.cfg
> Prefix 'homedir' is set to '/etc'.
> Connecting to host host2 (SSL) ...
> Local> SSL\n
> Peer> OK (activating_ssl).\n
> Establishing SSL connection failed.
does it work without SSL? In that case this has pretty sure nothing to do
with the nat but you are running different csync2 versions on the hosts.
The (older) openssl based csync2 releases are incompatible with the (newer)
GnuTLS based releases.
yours,
- clifford
--
ocaml graphics.cma <( echo 'open Graphics;;open_graph " 640x480"let
complex_mul(a,b)(c,d)=(a*.c-.b*.d,a*.d+.b*.c)let complex_add(a,b)(c
,d)=(a+.c,b+.d);;let rec mandel c n=if n>0 then let z=mandel c(n-1)
in complex_add(complex_mul z z)c else (0.0,0.0);; for x=0 to 640 do
for y=0 to 480 do let c=((float_of_int(x-450))/.200.0,(float_of_int
(y-240))/.200.0) in let cabs2(a,b)=(a*.a)+.(b*.b)in if cabs2(mandel
c 50)<4.0 then plot x y done done;;read_line()' )
Press CTRL-ALT-DEL now for an IQ test.
More information about the Csync2
mailing list