<html style="direction: ltr;">
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
    <style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
  </head>
  <body style="direction: ltr;" bidimailui-charset-is-forced="true"
    bgcolor="#FFFFFF" text="#000000">
    <br>
    <br>
    <div class="moz-cite-prefix">On 03/19/2015 11:13 PM, Lars Ellenberg
      wrote:<br>
    </div>
    <blockquote cite="mid:20150319211315.GF3556@soda.linbit" type="cite">
      <pre wrap="">On Thu, Mar 12, 2015 at 02:11:09PM +0200, Rabin Yasharzadehe wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">I'm racking my brain with it for a few days and can not find any solution,

I have the following config file,

group website
</pre>
        <blockquote type="cite">
          <pre wrap="">{
        host web-staging (wwwsite) ;
        key /etc/csync2/key.d/www.key;

        include /www/site_under_maintains/*;

        exclude *~ .*;

        auto younger;
}

</pre>
        </blockquote>
        <pre wrap="">
​when I run csync2 -x I get this error messages;

​# csync2 -x index.html
</pre>
        <blockquote type="cite">
          <pre wrap="">
While syncing file /www/site_under_maintains/index.html:
ERROR from peer wwwsite: File is also marked dirty here!
Auto-resolving conflict: Won 'master/slave' test.
While syncing file /www/site_under_maintains/index.html:
ERROR from peer wwwsite: File is also marked dirty here!
ERROR: Auto-resolving failed. Giving up.
Finished with 2 errors.
</pre>
        </blockquote>
      </blockquote>
      <pre wrap="">
Also check the -vvv output on the receiving side.

Other thoughts:
Something constantly touching that file?
Permissions problems?
Different timestamp granularity?

Funky symlink stuff along the paths?</pre>
    </blockquote>
    <br>
    Thanks, seems to be a symlink related problem<br>
    <br>
    on host1 the source dir was: /www<br>
    while on host2 the real dir was under /mnt/nfs/www which /www was
    pointing to (/www -&gt; /mnt/nfs/www/)<br>
    <br>
    I changed the csync2 config file and used prefix to point %www%
    directly to the original folders for each host.<br>
    which seems to solve my problem.<br>
    <br>
    <br>
  </body>
</html>