[Csync2] csync2 questions
Yan Morin
progysm at gmail.com
Sat Nov 29 19:24:20 CET 2008
Hi,
I have some questions and I can't find answer. I use csync2 1.34.
I try to synchronize files between debian sid (host1) and sidux
(siduxbox) and I don't understand some feature/configuration/usage.
1. In the paper.pdf, it is written: "Next you need to create an SSL
certificate for the
local Csync2 server. [...] You have to do that on each host you’re
running csync2 on. When servers are talking with each other fr the first
time, they add each other to the database."
What I understand is that we need to create different SSL certificate on
each host. I've tried that and the SSL_connect() fail with a broken pipe
(seen with strace command). When I use the same SSL certificate on both
hosts, the SSL works correctly. At least, csync2 -x sends some files.
2. If I update /etc/csync2.cfg on host1 (the file is inside an include),
and I proceed to csync -xv on host1, the output is:
host1:/# csync2 -xv
Connecting to host siduxbox (SSL) ...
Updating /etc/csync2.cfg on siduxbox ...
While syncing file /etc/csync2.cfg:
ERROR from peer siduxbox: Open error while backing up '/etc/csync2.cfg':
No such file or directory
File stays in dirty state. Try again later...
ERROR from peer siduxbox:
Finished with 2 errors.
The message "Open error while backing up '*': No such file or directory"
is for each file that I update on the primary host.
To remove this message, I currently need to manually remove
/etc/csync2.cfg on my second host2 (siduxbox).
3. If I remove a file on host2 by error, is there a way to download it
from host1, so that host1and host2 have the same file?
--
Yan Morin
Consultant en Logiciel Libre de Progysm
progysm at gmail.com
http://progysm.no-ip.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: progysm.vcf
Type: text/x-vcard
Size: 518 bytes
Desc: not available
Url : http://lists.linbit.com/pipermail/csync2/attachments/20081129/2e91e576/progysm.vcf
More information about the Csync2
mailing list