<HTML><HEAD><META content="text/html; charset=UTF-8" http-equiv="Content-Type"></HEAD><BODY>Funnily enough, we are also experiencing this issue with the root owned files. Randomly, and without any definable pattern, so far as we can tell, we'll get a file that suddenly is owned by root:root with rw permissions and we have to go in and correct the permissions. So far we haven't been able to nail down the cause of this.<BR>
<BR>
Mark Hodge wrote:<BR>
<blockquote type="cite"><BR>
Hi,<BR>
<BR>
I've recently setup a csync cluster between 3 nodes and although the <BR>
ring model works ok, it obviously fails when the middle server (node <BR>
2) is offline. Therefore I've been trying to get a working config that <BR>
is something like this:<BR>
<BR>
node1 =&gt; node2 + node3<BR>
node2 =&gt; node1 + node3<BR>
node3 =&gt; node1 + node2<BR>
<BR>
So at least if node2 is offline, node1+node3 are still syncing.<BR>
<BR>
Is this the best way to achieve this? using "master (slave)" pairs?<BR>
<BR>
I ended up putting csync on all nodes in a cron every minute (lsync <BR>
would crash occasionally) when csync returned errors.<BR>
<BR>
I got lots of "Database is busy, sleeping a sec" errors, which I <BR>
presumed was because csync was running at the same time on each node <BR>
and causing db locks. So I staggered them, at 0, 20 and 40 sec in the <BR>
minute which got rid of the "busy" errors.<BR>
<BR>
However, occasionally I will get random files appear one one or more <BR>
nodes owned by "root" with perms "rw" only for owner. This means <BR>
standard users cannot access these files. I suspect that csync is <BR>
somehow failing to set uid/gid/perms after the copy.<BR>
<BR>
How can this happen?<BR>
<BR>
Mark.<BR>
<BR>
_______________________________________________<BR>
Csync2 mailing list<BR>
Csync2@lists.linbit.com<BR>
http://lists.linbit.com/mailman/listinfo/csync2</BODY></HTML>