Re: rsync-2.5.2 possible buglets

2002-02-01 Thread Wayne Davison
On Fri, 1 Feb 2002, Steve G wrote: > I don't know if this amounts to much, but did you intend to use a & > rather than a && at line 739 of flist.c? Fortunately both items in the "&" expression can only have the value of 1 or 0, so the effect is the same as "&&". It looks like a typo to me, thoug

rsync-2.5.2 possible buglets

2002-02-01 Thread Steve G
Hello, I don't know if this amounts to much, but did you intend to use a & rather than a && at line 739 of flist.c? Also, lines 101 & 279 of io.c have a shift right of a signed value. If they could never ever be a negative number, the variable might ought to be change to unsigned. Cheers, Steve

Re: Fix for batch mode (was Re: batch mode maintainability)

2002-02-01 Thread Jos Backus
On Fri, Feb 01, 2002 at 02:59:50PM -0600, Dave Dykstra wrote: > I'm not familiar with that area of the code, but I assume it would be > straightforward. Good to hear that :) > Another idea just occurred to me: it would be nice to be able to stream all > the batch files over the network rather t

Re: error in rsync protocol data stream (code 12) at token.c(288)

2002-02-01 Thread Stuart Anderson
According to Dave Dykstra: > On Fri, Feb 01, 2002 at 09:09:18AM -0800, Stuart Anderson wrote: > > According to sba: > > > > No I did not apply the patch, but I verified the same problem with > > > rsync-2.4.8, is that sufficient? > > No, because rsync-2.4.8 include the same security patch that w

Re: error in rsync protocol data stream (code 12) at token.c(288)

2002-02-01 Thread Jos Backus
On Fri, Feb 01, 2002 at 02:18:06PM -0600, Dave Dykstra wrote: > Be careful with that, because rsync's zlib is modified from the standard. > Has somebody verified that the modification is not removed with the upgrade? I was under the erroneous assumption that these fixes had made it back into zlib

Re: Fix for batch mode (was Re: batch mode maintainability)

2002-02-01 Thread Dave Dykstra
On Fri, Feb 01, 2002 at 11:23:33AM -0800, Jos Backus wrote: > Thanks Dave for your comments, I have incorporated your feedback in the patch > below. Please review. > > On Fri, Feb 01, 2002 at 09:49:07AM -0600, Dave Dykstra wrote: > > Hmm, I wonder if it would be easy to use rsync's compression l

Re: Unixware Rsync compilation

2002-02-01 Thread Dave Dykstra
On Fri, Feb 01, 2002 at 04:54:08PM +0100, Antonio José Morán wrote: > Hi! > > I have some problems compiling rsync.2.5.2 in Unixware 7.1.1. > > Some examples: > > popt/poptconfig.c:18: warning: subscript has type `char' > > options.c:343: warning: missin

Re: error in rsync protocol data stream (code 12) at token.c(288)

2002-02-01 Thread Dave Dykstra
On Fri, Feb 01, 2002 at 09:09:18AM -0800, Stuart Anderson wrote: > According to sba: > > No I did not apply the patch, but I verified the same problem with > > rsync-2.4.8, is that sufficient? No, because rsync-2.4.8 include the same security patch that went into 2.5.2 last weekend. If you coul

Re: error in rsync protocol data stream (code 12) at token.c(288)

2002-02-01 Thread Stuart Anderson
According to Albert Chin: > On Fri, Feb 01, 2002 at 08:51:17AM -0800, Stuart Anderson wrote: > > I also found on deja-news reports that this is a known and fixed problem > > with zlib-1.1.2. Any chance of rsync upgrading to zlib-1.1.3? > > Jos Backus posted a patch to do this a few days ago. Try

Re: Fix for batch mode (was Re: batch mode maintainability)

2002-02-01 Thread Jos Backus
Thanks Dave for your comments, I have incorporated your feedback in the patch below. Please review. On Fri, Feb 01, 2002 at 09:49:07AM -0600, Dave Dykstra wrote: > Hmm, I wonder if it would be easy to use rsync's compression library to > compress the whole flist, csum, and delta files on the fly

Re: error in rsync protocol data stream (code 12) at token.c(288)

2002-02-01 Thread Albert Chin
On Fri, Feb 01, 2002 at 08:51:17AM -0800, Stuart Anderson wrote: > I also found on deja-news reports that this is a known and fixed problem > with zlib-1.1.2. Any chance of rsync upgrading to zlib-1.1.3? Jos Backus posted a patch to do this a few days ago. Try applying his patch and reporting bac

Re: error in rsync protocol data stream (code 12) at token.c(288)

2002-02-01 Thread Stuart Anderson
According to sba: > According to Dave Dykstra: > > On Thu, Jan 31, 2002 at 03:26:16PM -0800, Stuart Anderson wrote: > > > I am getting the following error when mirroring part of the RedHat > > > distribution tree over a slow connection (~T1 speed). When running > > > over a faster network (100Base

Re: error in rsync protocol data stream (code 12) at token.c(288)

2002-02-01 Thread Stuart Anderson
According to Dave Dykstra: > On Thu, Jan 31, 2002 at 03:26:16PM -0800, Stuart Anderson wrote: > > I am getting the following error when mirroring part of the RedHat > > distribution tree over a slow connection (~T1 speed). When running > > over a faster network (100BaseT) the problem does not appe

Re: Fix for batch mode (was Re: batch mode maintainability)

2002-02-01 Thread Dave Dykstra
On Thu, Jan 31, 2002 at 02:42:47PM -0801, Jos Backus wrote: ... > +Batch mode can be used to apply the same set of updates to many identical > +systems\&. Suppose one has a directory tree which is replicated on a number of > +hosts\&. Now suppose some changes have to be made to this source direct

Unixware Rsync compilation

2002-02-01 Thread Antonio José Morán
Hi! I have some problems compiling rsync.2.5.2 in Unixware 7.1.1. Some examples: popt/poptconfig.c:18: warning: subscript has type `char' options.c:343: warning: missing initializer options.c:343: warning: (near initialization for

Re: @ERROR: auth failed on module test

2002-02-01 Thread Dave Dykstra
You need a "secrets file" as rsyncd.conf.5 says: auth users The "auth users" option specifies a comma and space separated list of usernames that will be allowed to connect to this module. The usernames do not need to exist on the loc

Re: unexpected EOF in read_timeout

2002-02-01 Thread Dave Dykstra
That error message can be caused by anything which causes the remote side to go away, so it's not very helpful. The server's log file may have more information. It is possible that you're running out of RAM as is susggested in that FAQ-O-Matic thread; rsync uses up some memory for every file in

Re: error in rsync protocol data stream (code 12) at token.c(288)

2002-02-01 Thread Dave Dykstra
On Thu, Jan 31, 2002 at 03:26:16PM -0800, Stuart Anderson wrote: > I am getting the following error when mirroring part of the RedHat > distribution tree over a slow connection (~T1 speed). When running > over a faster network (100BaseT) the problem does not appear. Note, > the problem file a larg

Re: @ERROR: auth failed on module test

2002-02-01 Thread birger
MICHAEL R. LEFEBVRE schrieb am Fri, Feb 01, 2002 at 09:01:07AM -0500: > rsync: connection unexpectedly closed (88 bytes read so far) > rsync error: error in rsync protocol data stream (code 12) at > io.c(139) > > I'm getting the above error when trying to use rsync over port 873. > The command I

@ERROR: auth failed on module test

2002-02-01 Thread MICHAEL R. LEFEBVRE
rsync: connection unexpectedly closed (88 bytes read so far) rsync error: error in rsync protocol data stream (code 12) at io.c(139) I'm getting the above error when trying to use rsync over port 873. The command I'm using is : rsync -avz root@sundog::test ./ the /etc/rsyncd.conf contains the f

Re: unexpected EOF in read_timeout

2002-02-01 Thread David Bordas
Other things : client disk not full : /dev/hdb2 29412000 16321084 11596872 58% /backup I also had RAM to client : 128MB => 256 MB on an intel celeron 600Mhz. This error isn't due to a network error 'cause this happened again and again each night ... The rsync client is running vi

unexpected EOF in read_timeout

2002-02-01 Thread David Bordas
I've got this when i backup my server ( like 3GB and lots of small files ). i've read this : http://rsync.samba.org/rsync/fom-serve/cache/73.html. i launch rsync like this : rsync -avrpogtzH --rsync-path=/usr/local/bin/rsync --timeout=0 IP_SERVER::cgi-bin /backup and also have error like this :

Re: Java client and rsync

2002-02-01 Thread Lapo Luchini
"Holstein, Brian" wrote: > Are there any available java classes that can use rsync for file > transfer. Ifso do they support connecting to an rsync-server. Any > reasons to or notto do this from within java would also be > appreciated. Andre John Mas was trying to create a "java rsync" library a