Re: error in rsync protocol data stream

2007-12-04 Thread Richard Jones
Richard Jones wrote: Help. This one's defeated me so far. I'm tring to push files from from a local Ubuntu 6.06 server to a remote Ubuntu 6.06 server using rsync (v 2.6.6 installed on both via apt-get). Every time I get the same eg: Not much help so far :-( I've managed to isolate the problem

Re: error in rsync protocol data stream (code 12) at io.c(463) on HP-UX 11.23

2006-09-11 Thread Paul Slootman
On Mon 11 Sep 2006, Bernhard Wesely wrote: > [6951] getdents(6, 0x4003d820, 16384) .. = 152 > [6951] stat64("/test", 0x7fff84e0) . = 0 > [6951] getdents(6, 0x4003d820, 16384) .. = 0 > [6951] close(6) ..

Re: error in rsync protocol data stream

2005-11-01 Thread Wayne Davison
On Mon, Oct 31, 2005 at 01:14:16PM -0500, Kevin Karwaski wrote: > rsync: connection unexpectedly closed (12 bytes read so far) > rsync error: error in rsync protocol data stream (code 12) at io.c(189) As the Issues and Debugging page mentions (see item #3 at this URL: http://rsync.samba.org/issues

Re: error in rsync protocol data stream (code 12) at io.c(692)

2005-01-16 Thread Dag Wieers
On Fri, 14 Jan 2005, Wayne Davison wrote: > On Thu, Jan 13, 2005 at 07:51:33PM +0100, Dag Wieers wrote: > > unexpected tag -111 > > rsync error: error in rsync protocol data stream (code 12) at io.c(692) > > > > Can this be caused by the delay-renames patch ? > > I tested how the code ha

Re: error in rsync protocol data stream (code 12) at io.c(692)

2005-01-14 Thread Wayne Davison
On Thu, Jan 13, 2005 at 07:51:33PM +0100, Dag Wieers wrote: > unexpected tag -111 > rsync error: error in rsync protocol data stream (code 12) at io.c(692) > > Can this be caused by the delay-renames patch ? I don't think so. An "unexpected tag" error indicates that something went wr

Re: error in rsync protocol data stream (code 12) at io.c(692)

2005-01-14 Thread Dag Wieers
On Thu, 13 Jan 2005, Dag Wieers wrote: > Hi Wayne, Jeff, > > With the same version/build as the last report, I got this error now: > > ... > extra/state/all-packages.list >145 100% 46.83kB/s0:00:30 (634, 0.0% of 201605) > WARNING: fedora/1/en/i386/base/pk

Re: error in rsync protocol data stream (code 12) at io.c(165)

2004-07-14 Thread Chris Shoemaker
On Tue, Jun 22, 2004 at 10:06:49AM -0400, Linux wrote: > I get the same error even after taking the advise from the subsequent > posts to this message and other message stateing "error in rsync > protocol data stream (code 12) at io.c(165)" . > > The one thing that i have noticed is that is only

Re: error in rsync protocol data stream (code 12) at io.c(165)

2004-06-22 Thread Linux
I get the same error even after taking the advise from the subsequent posts to this message and other message stateing "error in rsync protocol data stream (code 12) at io.c(165)" . The one thing that i have noticed is that is only errors when the size of the directory on the remote machine excee

Re: error in rsync protocol data stream (code 12) at io.c(165)

2004-06-21 Thread Francis Montagnac
> I am recieving a connection unexpectedly closed error while trying to > sync a directory on two machines. Rsync is in my path on both > machines. I am using ssh and I can connect to the server fine through > ssh. I am using a vpn but have no problems connecting to any of the > servers wit

Re: error in rsync protocol data stream (code 12) at io.c(165)

2004-06-21 Thread Wayne Davison
On Mon, Jun 21, 2004 at 11:47:32AM -0600, Nick Sylvester wrote: > Remote Machine: Connection refused This is the important part -- the connection to the remote machine was refused. My guess would be because it's trying to use rsh, not ssh, however you don't have to guess -- just run rsync with -v

Re: error in rsync protocol data stream

2004-05-18 Thread Tim Conway
It appears that the command you show is not a complete copy/paste job. When you changed "backup.amlaw.com" or whatever it was to "backup.domain.com", you also removed one of the colons between that and "jspfsp", as the only time rsync does a chroot is as a server. A chroot failure is almost inva

Re: error in rsync protocol data stream

2004-02-17 Thread Ray Lischner
On Thursday 12 February 2004 10:55 pm, jw schultz wrote: > Try the patch and let us know.ÂÂThatÂshouldÂallowÂyouÂto > function.ÂÂCVSÂ(whichÂdoesÂnotÂhaveÂthatÂpatch)Ârequires > about 20 bytes less per-file. Instead of the patch, I simply broke my rsync job into smaller pieces. Thank you for the h

Re: error in rsync protocol data stream

2004-02-12 Thread Wayne Davison
On Thu, Feb 12, 2004 at 10:28:31PM -0500, Ray Lischner wrote: > According to the FAQ-o-matic, rsync needs about 100 bytes/file. I am > copying about 1,000,000 files, so that comes out to roughly 100MB. The > system has 192MB of physical RAM. In addition to what J.W. says, also keep in mind that th

Re: error in rsync protocol data stream

2004-02-12 Thread jw schultz
On Thu, Feb 12, 2004 at 10:28:31PM -0500, Ray Lischner wrote: > On Thursday 12 February 2004 06:38 pm, jw schultz wrote: > > > You have run out of memory. > > According to the FAQ-o-matic, rsync needs about 100 bytes/file. I am > copying about 1,000,000 files, so that comes out to roughly 100MB.

Re: error in rsync protocol data stream

2004-02-12 Thread Ray Lischner
On Thursday 12 February 2004 06:38 pm, jw schultz wrote: > You have run out of memory. According to the FAQ-o-matic, rsync needs about 100 bytes/file. I am copying about 1,000,000 files, so that comes out to roughly 100MB. The system has 192MB of physical RAM. Of course, the kernel and all the ot

Re: error in rsync protocol data stream

2004-02-12 Thread Cristian Gafton
On Thu, 12 Feb 2004, jw schultz wrote: > Try this patch which adds an arbitrary 100ms back-off delay > to hopefully give the system a chance to recover. There should be some counting done - if rsync ends up banging too often against ENOBUFS it might get in the crosshairs of the OOM killer. Maybe

Re: error in rsync protocol data stream

2004-02-12 Thread jw schultz
On Thu, Feb 12, 2004 at 02:14:12PM -0500, Ray Lischner wrote: > On Thursday 12 February 2004 12:44 pm, Ray Lischner wrote: > > > I am trying to backup an entire disk to a USB-mounted disk, for backup > > purposes. Many files are copied, but eventually rsync dies: > > I tried it again, and this ti

Re: error in rsync protocol data stream

2004-02-12 Thread Ray Lischner
On Thursday 12 February 2004 04:00 pm, Lee Eakin wrote: > Is your USB disk a usb-1 device? No, USB 2.0: Maxtor OneTouch (0x0d49/0x7010). I've repeated this attempt three times in a row. Each time, it fails after about 90-100 minutes of elapsed time. -- Ray Lischner, author of C++ in a Nutshel

Re: error in rsync protocol data stream

2004-02-12 Thread Cristian Gafton
On Thu, 12 Feb 2004, Lee Eakin wrote: > Is your USB disk a usb-1 device? I got various errors due to the slow > access times over usb-1 (not rsync's problem). I was able to reduce the > number of errors using the --bwlimit option to slow down rsync so the > device could keep up better. I've had

Re: error in rsync protocol data stream

2004-02-12 Thread Lee Eakin
-2. -Lee > Date: Thu, 12 Feb 2004 14:14:12 -0500 > From: Ray Lischner <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Re: error in rsync protocol data stream > X-Original-To: [EMAIL PROTECTED] > X-Injected-Via-Gmane: http://gmane.org/ > X-Complaints-To: [EMAIL P

Re: error in rsync protocol data stream

2004-02-12 Thread Ray Lischner
On Thursday 12 February 2004 12:44 pm, Ray Lischner wrote: > I am trying to backup an entire disk to a USB-mounted disk, for backup > purposes. Many files are copied, but eventually rsync dies: I tried it again, and this time it fails at a different point and with a different error: $ rsync -axH

RE: error in rsync protocol data stream (code 12) at io.c(298)

2003-12-30 Thread Doug Floer
PROTECTED] Subject: Re: error in rsync protocol data stream (code 12) at io.c(298) On Tue, Dec 30, 2003 at 12:23:30PM -0800, Doug Floer wrote: > I'm running into a problem rsynchronizing over an rsh connection on the same > subnet. I get variations of the "unexpected tag" error

Re: error in rsync protocol data stream (code 12) at io.c(298)

2003-12-30 Thread Wayne Davison
On Tue, Dec 30, 2003 at 12:23:30PM -0800, Doug Floer wrote: > rsync -lrpogtz --delete --rsh=rsh --rsync-path=/usr/local/bin/rsync /home dest:/ One quick thing to try is removing the -z option. The 2.6.0 release has some fixes for the compression code (when it gets released in a couple days). ..w

Re: error in rsync protocol data stream (code 12) at io.c(298)

2003-12-30 Thread jw schultz
On Tue, Dec 30, 2003 at 12:23:30PM -0800, Doug Floer wrote: > I'm running into a problem rsynchronizing over an rsh connection on the same > subnet. I get variations of the "unexpected tag" error, consistently failing > within io.c at line 298: > > unexpected tag 88 > rsync error: error in rsync

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

2003-10-06 Thread jw schultz
On Mon, Oct 06, 2003 at 11:42:00AM -0400, jonathan sabo wrote: > List, > > I am having trouble with a previously working rsync server. > > Version: > > ># rsync --version > >rsync version 2.5.4 protocol version 26 > >Copyright (C) 1996-2002 by Andrew Tridgell and others > >

Re: "error in rsync protocol data stream (code 12) at io.c(150)" revisited

2002-10-01 Thread Herta Van den Eynde
Bart Coninckx kindly pointed out my typo: the variable to define is RSYNC_RSH, and not RSYNC_SSH. Works fine now. Thanks for your assistance. Herta -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-

Re: "error in rsync protocol data stream (code 12) at io.c(150)" revisited

2002-10-01 Thread Herta Van den Eynde
Oops, I noticed I ran the command with the wrong rsync: Here's the proper error: bb> /usr/local/bin/rsync -a ccf.txt bbcom@tobias:/www2/virtualhosts/toledo/bbcom/ tobias.cc.kuleuven.ac.be: Connection refused rsync: connection unexpectedly closed (0 bytes read so far) rsync error: error in rsync

Re: 'error in rsync protocol data stream' - Tim Conway

2002-09-17 Thread Trevor Marshall
ia SameTime Connect within Philips, caesupport2 on AIM >"There are some who call me Tim?" > > > > >Trevor Marshall <[EMAIL PROTECTED]> >Sent by: [EMAIL PROTECTED] >09/17/2002 11:10 AM > > >To: [EMAIL PROTECTED] >cc: (bcc

Re: 'error in rsync protocol data stream' - Tim Conway

2002-09-17 Thread tim . conway
call me Tim?" Trevor Marshall <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 09/17/2002 11:10 AM To: [EMAIL PROTECTED] cc: (bcc: Tim Conway/LMT/SC/PHILIPS) Subject:Re: 'error in rsync protocol data stream' - Tim Conway Class

Re: 'error in rsync protocol data stream' - Tim Conway

2002-09-17 Thread Trevor Marshall
Tim, I just got the hung rsync window to respond to a Control-C and it put out the following text (including a few of those make files that were just before it hung.. make_file(4,var/adm/fillup-templates/i4l_default.templ) make_file(4,var/adm/fillup-templates/i4l_hardware.templ) make_file(4,var/a

Re: 'error in rsync protocol data stream' - Tim Conway

2002-09-17 Thread Trevor Marshall
Tim, I reported a protocol data stream error on 9/8/2002 Deatils are in my postes at that time rsync still fails everytime I run it. This time I added three v's as you just suggested and rsync just hung with two tasks in execution thus: root 3178 0.1 0.9 1796 868 pts/1S09:57 0:

Re: 'error in rsync protocol data stream'

2002-09-17 Thread tim . conway
Certainly, you should upgrade your rsync. 2.4.6 had more than its share of problems. 2.5.5 is generating few complaints. As far as what's actually happening to you, if it continues after the upgrade, give us another run with more "v"s. Tim Conway [EMAIL PROTECTED] 303.682.4917 office, 303.9

Re: "error in rsync protocol data stream"

2002-04-30 Thread Jos Backus
On Tue, Apr 30, 2002 at 08:57:52AM -0400, Scott Lipcon wrote: > I just upgraded back to 2.5.5 (actually 2.5.5_1, from the FreeBSD > Ports tree - the _1 means its been patched I think) and the problem > seems to have disappeared. Maybe it was a zlib problem dealing with > a specific data pattern

Re: "error in rsync protocol data stream"

2002-04-30 Thread Scott Lipcon
> I know this is late but nobody else appears to have responded. I did get one email off list from someone having a similar problem, except he was dealing with Solaris, not BSD machines. > A crashing problem on FreeBSD has been found where the rsync zlib library > crashes unless it is compiled

Re: "error in rsync protocol data stream"

2002-04-26 Thread Dave Dykstra
I know this is late but nobody else appears to have responded. On Wed, Apr 03, 2002 at 11:43:48PM -0500, Scott Lipcon wrote: > Hello, > > I'm having a problem doing a remote rsync over ssh - i'm using a script that > has worked for quite a while, using rsync 2.4.6 on both ends. I upgraded the

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

2002-04-02 Thread Stuart Anderson
While this does appear to work in 2.5.4, I suspect that is because of the 2.5.4 whole-file bug. With 2.5.5 it fails again, with the following error message: deflate on token returned 0 (16384 bytes left) rsync error: error in rsync protocol data stream (code 12) at token.c(288) According to sba

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

2002-03-14 Thread Stuart Anderson
I did one quick test with an unmodified rsync-2.5.4, and it seems to have fixed this problem. However, someone else should verify this. According to Dave Dykstra: > I did some playing with this. It takes a while because the file is so > big. I don't really know what's going on, but I did find t

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

2002-02-12 Thread Dave Dykstra
I did some playing with this. It takes a while because the file is so big. I don't really know what's going on, but I did find that deflate() is returning at line 493 of zlib/deflate.c just after a comment that says "this is not an error situation". So if I change like 285 of token.c to delete

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

2002-02-06 Thread Stuart Anderson
The newer zlib-1.1.3 patch still has the problem. According to Dave Dykstra: > I was able to reproduce this between a Solaris 2.7 and 2.8 machine with and > without ssh, although I don't have any time to debug it today. Can > somebody try applying Jos Backus latest zlib 1.1.3 upgrade patch to se

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

2002-02-06 Thread Dave Dykstra
I was able to reproduce this between a Solaris 2.7 and 2.8 machine with and without ssh, although I don't have any time to debug it today. Can somebody try applying Jos Backus latest zlib 1.1.3 upgrade patch to see if that helps? - Dave On Fri, Feb 01, 2002 at 02:01:03PM -0800, Stuart Anderson

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

2002-02-03 Thread Jos Backus
On Fri, Feb 01, 2002 at 01:06:15PM -0800, Jos Backus wrote: > 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 unde

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: 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: 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: 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 in rsync protocol data stream (code 12) at io.c(139)

2002-01-22 Thread tim . conway
As you see in the response, ksh can't find rsync (ksh: rsync: not found), and this is included in the error stream of rsync (rsync: connection unexpectedly closed (0 bytes read so far)). This means rsync is trying to run rsync, which means that you're using external transport (single-colon (: