[Csync2] Regression in 2.0-rc1?

Dennis Schafroth dennis at schafroth.dk
Tue May 17 10:16:21 CEST 2011


On 16/05/2011, at 21.55, Lars Ellenberg wrote:

> On Sun, May 15, 2011 at 03:59:47PM +0200, Dennis Schafroth wrote:
>> Hi 
>> 
>> I started using this yesterday, but is seeing a lot of errors: the log from the sending side looks like this:
> 
> rc1, or current git?

Git. Did a pull. Didnt see any comming down: 

commit b7490b4d2f9069e4e364c9f4824956ade4bad691
Author: Lars Ellenberg <lars at linbit.com>
Date:   Wed Feb 9 13:24:51 2011 +0000

    fix compiler warning about empty snprintf format


> standalone csync2, or via inetd?

inetd. 

Since then I have tried running in standalone to debug it, but haven't been able to reproduce. So yeah, been thinking in the direction of inetd issue. 

> 
>> May 15 05:52:23 zotac csync2: ERROR: Could not open result from tempnam(/export/home/dennis/Projects/csync2/trunk/.urlencode.c.27198)!
>> May 15 05:52:23 zotac csync2: I/O Error 'No such file or directory' in rsync-check: /export/home/dennis/Projects/csync2/trunk/urlencode.c
>> May 15 05:52:23 zotac csync2: ERROR from peer(%home%/dennis/Projects/csync2/trunk/update.c): bluebox0.schafroth.dk octet-stream 36
> 
>  Only with %prefix%es, or always?

Only remember seeing it with prefixes.
> 
>> May 15 05:52:23 zotac csync2: ERROR from peer(%home%/dennis/Projects/csync2/trunk/stamp-h1): bluebox0.schafroth.dk rs#0016
>> May 15 05:52:23 zotac csync2: ERROR: Could not open result from tempnam(/export/home/dennis/Projects/csync2/trunk/.rsync.c.XXXXXX)!
>> May 15 05:52:23 zotac csync2: I/O Error 'No such file or directory' in rsync-check: /export/home/dennis/Projects/csync2/trunk/rsync.c
>> May 15 05:52:23 zotac csync2: ERROR from peer(%home%/dennis/Projects/csync2/trunk/release.sh): bluebox0.schafroth.dk octet-stream 180
>> May 15 05:52:23 zotac csync2: ERROR from peer(%home%/dennis/Projects/csync2/trunk/prefixsubst.c): bluebox0.schafroth.dk rs#0016
>> May 15 05:52:23 zotac csync2: ERROR: Could not open result from tempnam(/export/home/dennis/Projects/csync2/trunk/.newdb.txt.XXXXXX)!
>> May 15 05:52:23 zotac csync2: I/O Error 'No such file or directory' in rsync-check: /export/home/dennis/Projects/csync2/trunk/newdb.txt
>> May 15 05:52:23 zotac csync2: ERROR from peer(%home%/dennis/Projects/csync2/trunk/mkinstalldirs): bluebox0.schafroth.dk octet-stream 24
>> May 15 05:52:23 zotac csync2: ERROR from peer(%home%/dennis/Projects/csync2/trunk/missing): bluebox0.schafroth.dk rs#0016
>> May 15 05:52:23 zotac csync2: ERROR: Could not open result from tempnam(/export/home/dennis/Projects/csync2/trunk/.logger.c.XXXXXX)!
>> May 15 05:52:23 zotac csync2: I/O Error 'No such file or directory' in rsync-check: /export/home/dennis/Projects/csync2/trunk/logger.c
>> May 15 05:52:23 zotac csync2: ERROR from peer(%home%/dennis/Projects/csync2/trunk/ipc.h): bluebox0.schafroth.dk octet-stream 84
>> May 15 05:52:23 zotac csync2: ERROR from peer(%home%/dennis/Projects/csync2/trunk/ipc.c): bluebox0.schafroth.dk rs#0016
>> May 15 05:52:23 zotac csync2: ERROR: Could not open result from tempnam(/export/home/dennis/Projects/csync2/trunk/.ipc-send.c.XXXXXX)!
>> May 15 05:52:23 zotac csync2: I/O Error 'No such file or directory' in rsync-check: /export/home/dennis/Projects/csync2/trunk/ipc-send.c
>> May 15 05:52:23 zotac csync2: ERROR from peer(%home%/dennis/Projects/csync2/trunk/ipc-listen.c): bluebox0.schafroth.dk octet-stream 36
>> May 15 05:52:23 zotac csync2: ERROR from peer(%home%/dennis/Projects/csync2/trunk/install-sh): bluebox0.schafroth.dk rs#0016
>> May 15 05:52:23 zotac csync2: ERROR: Could not open result from tempnam(/export/home/dennis/Projects/csync2/trunk/.groups.c.XXXXXX)!
>> May 15 05:52:23 zotac csync2: I/O Error 'No such file or directory' in rsync-check: /export/home/dennis/Projects/csync2/trunk/groups.c
>> May 15 05:52:23 zotac csync2: ERROR from peer(%home%/dennis/Projects/csync2/trunk/getrealfn.c): bluebox0.schafroth.dk octet-stream 36
>> 
>> And the command terminates premature with a "Format-error while receiving data." 
>> 
>> Am I the only one seeing this?  
>> 
>> the third string print in the "ERROR from peer" looks pretty much like random data:
>> 
>> May 15 05:52:24 zotac csync2: ERROR from peer(%home%/dennis/Projects/csync2/trunk/cygwin/.svn/text-base/readme_pkg.txt.svn-base): bluebox0.schafroth.dk #004l<CA><F4><A8>#013<A4>?ݦOK (cmd_finished).
>> 
>> There is also an (old) issue with backup when uses prefixes, but I have a patch for that coming up. 
> 
> Thanks,
> 
> -- 
> : Lars Ellenberg
> : LINBIT | Your Way to High Availability
> : DRBD/HA support and consulting http://www.linbit.com
> 
> DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.
> _______________________________________________
> Csync2 mailing list
> Csync2 at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/csync2



More information about the Csync2 mailing list