public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: rsync
       [not found] <610A1F4808E9D411888F0001023F6361A2EC@MUCX>
@ 2001-06-28 16:02 ` gp
  2001-06-28 16:25   ` rsync Christopher Faylor
  2001-06-29  1:37 ` rsync Lapo Luchini
  2001-07-07  1:13 ` rsync Gerrit P. Haase
  2 siblings, 1 reply; 26+ messages in thread
From: gp @ 2001-06-28 16:02 UTC (permalink / raw)
  To: Andreas Stenger; +Cc: cygwin

Am 28 Jun 2001, um 6:42 hat Andreas Stenger geschrieben:

> Hi,
> 
> I was happy to see the rsync (2.4.6) package being included in the cygwin
> distribution, but I wasn't able to get the daemon working. The error I get
> is
> 
> $ rsync rsync://localhost
> read error: Connection reset by peer
> 
> the client does work against the older version 2.4.5 (that I guot from a
> distribution bundled just with a cygwin dll) of the daemon on windows.
> 
> Anyone got it to work? Hints? Any help appreciated.

My version of rsync does work for me very well, i use it on WinNT 4.0,
get it for a try:
ftp://ftp.uni-erlangen.de
in this subdir: /pub/pc/gnuwin32/cygwin/porters/Haase_Gerrit/1.1/

gph

-- 
=^..^=

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: rsync
  2001-06-28 16:02 ` rsync gp
@ 2001-06-28 16:25   ` Christopher Faylor
  0 siblings, 0 replies; 26+ messages in thread
From: Christopher Faylor @ 2001-06-28 16:25 UTC (permalink / raw)
  To: cygwin

On Fri, Jun 29, 2001 at 01:24:34AM +0100, gp@familiehaase.de wrote:
>Am 28 Jun 2001, um 6:42 hat Andreas Stenger geschrieben:
>>I was happy to see the rsync (2.4.6) package being included in the
>>cygwin distribution, but I wasn't able to get the daemon working.  The
>>error I get is
>>
>>$ rsync rsync://localhost read error: Connection reset by peer
>>
>>the client does work against the older version 2.4.5 (that I guot from
>>a distribution bundled just with a cygwin dll) of the daemon on
>>windows.
>>
>>Anyone got it to work?  Hints?  Any help appreciated.
>
>My version of rsync does work for me very well, i use it on WinNT 4.0,
>get it for a try: ftp://ftp.uni-erlangen.de in this subdir:
>/pub/pc/gnuwin32/cygwin/porters/Haase_Gerrit/1.1/

Actually, I would prefer that we work out the problems in the
cygwin-supported versions of tools rather than suggesting alternatives.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: rsync
       [not found] <610A1F4808E9D411888F0001023F6361A2EC@MUCX>
  2001-06-28 16:02 ` rsync gp
@ 2001-06-29  1:37 ` Lapo Luchini
  2001-07-07  1:13 ` rsync Gerrit P. Haase
  2 siblings, 0 replies; 26+ messages in thread
From: Lapo Luchini @ 2001-06-29  1:37 UTC (permalink / raw)
  To: cygwin

> I was happy to see the rsync (2.4.6) package being included in the cygwin
> distribution, but I wasn't able to get the daemon working. The error I get
> is
>
> $ rsync rsync://localhost
> read error: Connection reset by peer

It does indeed... argh.
I'm invesitgating on it, but as I have an university exam VERY SOON it will
take a bit of time.

BTW: also the 2.4.6-1 version has this error (it is a pure compile of rsync
without the patch that solves that very same problem in cilent mode).

rsync work group is revising a bit the protocol for robustness (including that
very patch and many others) and will soon deliver 2.4.7, I hope that will
solve the problem.
I'll let you know if I find something before that time.

c ya

--
Lapo Luchini
PGP & X.509 keys available


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: rsync
       [not found] <610A1F4808E9D411888F0001023F6361A2EC@MUCX>
  2001-06-28 16:02 ` rsync gp
  2001-06-29  1:37 ` rsync Lapo Luchini
@ 2001-07-07  1:13 ` Gerrit P. Haase
  2001-07-07  6:59   ` rsync Christopher Faylor
  2 siblings, 1 reply; 26+ messages in thread
From: Gerrit P. Haase @ 2001-07-07  1:13 UTC (permalink / raw)
  To: Andreas Stenger, cygwin

Andreas Stenger schrieb am 2001-06-28, 6:42:

> Hi,
> 
> I was happy to see the rsync (2.4.6) package being included in the cygwin
> distribution, but I wasn't able to get the daemon working. The error I get
> is
> 
> $ rsync rsync://localhost
> read error: Connection reset by peer
> 
> the client does work against the older version 2.4.5 (that I guot from a
> distribution bundled just with a cygwin dll) of the daemon on windows.
> 
> Anyone got it to work? Hints? Any help appreciated.

Hi,

did yyou solve your problem?
I use my own build of rsync on WinNT, (though it was
build on a win98 box!) and i got no problems using 
the rsync daemon.

Try if you like, http://www.familiehaase.de/cygwin.html

gph


-- 
=^..^=

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: rsync
  2001-07-07  1:13 ` rsync Gerrit P. Haase
@ 2001-07-07  6:59   ` Christopher Faylor
  2001-07-09  4:56     ` rsync Bill Petheram
  0 siblings, 1 reply; 26+ messages in thread
From: Christopher Faylor @ 2001-07-07  6:59 UTC (permalink / raw)
  To: cygwin

On Sat, Jul 07, 2001 at 10:14:46AM +0200, Gerrit P. Haase wrote:
>Andreas Stenger schrieb am 2001-06-28, 6:42:
>
>> Hi,
>> 
>> I was happy to see the rsync (2.4.6) package being included in the cygwin
>> distribution, but I wasn't able to get the daemon working. The error I get
>> is
>> 
>> $ rsync rsync://localhost
>> read error: Connection reset by peer
>> 
>> the client does work against the older version 2.4.5 (that I guot from a
>> distribution bundled just with a cygwin dll) of the daemon on windows.
>> 
>> Anyone got it to work? Hints? Any help appreciated.
>
>Hi,
>
>did yyou solve your problem?
>I use my own build of rsync on WinNT, (though it was
>build on a win98 box!) and i got no problems using 
>the rsync daemon.
>
>Try if you like, http://www.familiehaase.de/cygwin.html

Or, alternatively, participate in this free software project and try to debug
the problem with the version of rsync that is shipping with cygwin.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: rsync
  2001-07-07  6:59   ` rsync Christopher Faylor
@ 2001-07-09  4:56     ` Bill Petheram
  2001-07-09 13:23       ` rsync Corinna Vinschen
  0 siblings, 1 reply; 26+ messages in thread
From: Bill Petheram @ 2001-07-09  4:56 UTC (permalink / raw)
  To: cygwin

Christopher Faylor wrote:
> 
> On Sat, Jul 07, 2001 at 10:14:46AM +0200, Gerrit P. Haase wrote:
> >Andreas Stenger schrieb am 2001-06-28, 6:42:
> >
> >> Hi,
> >>
> >> I was happy to see the rsync (2.4.6) package being included in the cygwin
> >> distribution, but I wasn't able to get the daemon working. The error I get
> >> is
> >>
> >> $ rsync rsync://localhost
> >> read error: Connection reset by peer
> >>
> >> the client does work against the older version 2.4.5 (that I guot from a
> >> distribution bundled just with a cygwin dll) of the daemon on windows.
> >>
> >> Anyone got it to work? Hints? Any help appreciated.
> >
> >Hi,
> >
> >did yyou solve your problem?
> >I use my own build of rsync on WinNT, (though it was
> >build on a win98 box!) and i got no problems using
> >the rsync daemon.
> >
> >Try if you like, http://www.familiehaase.de/cygwin.html
> 
> Or, alternatively, participate in this free software project and try to debug
> the problem with the version of rsync that is shipping with cygwin.
> 
> cgf
> 

I can't get rsync to work on W2K except in daemon mode. I tried to debug
it with gdb but rsync exits on the first write statement. This means
that I cannot step through the program.

If I build cygwin from source would I be able to see where the write was
failing?

bill

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: rsync
  2001-07-09  4:56     ` rsync Bill Petheram
@ 2001-07-09 13:23       ` Corinna Vinschen
  2001-07-09 15:04         ` rsync Lapo Luchini
  2001-08-02  7:18         ` rsync Bill Petheram
  0 siblings, 2 replies; 26+ messages in thread
From: Corinna Vinschen @ 2001-07-09 13:23 UTC (permalink / raw)
  To: Bill Petheram, Lapo Luchini, cygwin

On Mon, Jul 09, 2001 at 12:56:39PM +0100, Bill Petheram wrote:
> I can't get rsync to work on W2K except in daemon mode. I tried to debug
> it with gdb but rsync exits on the first write statement. This means
> that I cannot step through the program.

Did you try an strace? It can be pretty helpful, at least to see
at which point in Cygwin the error occurs. Did you call gdb in
default GUI mode or in non-GUI? Mostly the non-GUI version (started
by calling gdb -nw) is a bit easier to control, especially if you're
working with more than one partition since the GUI version only
works with native paths.

> If I build cygwin from source would I be able to see where the write was
> failing?

Sure. You can build with CFLAGS=-g instead of using the default of
CFLAGS=-O2. That results in a easier source code level debugging.
When you're running that dll (which is approx. 4MB in size) you can
start rsync again under gdb control. In gdb you can load the DLL's
symbol table by calling `dll cygwin1.dll'. Set a breakpoint on rsync's
main() function and after running up to that point you can set
breakpoints to Cygwin's internal functions.

Lapo, are you already investigating into that problem as well? Since
you did the base port you have a clue what's going on, perhaps.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: rsync
  2001-07-09 13:23       ` rsync Corinna Vinschen
@ 2001-07-09 15:04         ` Lapo Luchini
  2001-07-17  1:25           ` rsync Bill Petheram
  2001-08-02  7:18         ` rsync Bill Petheram
  1 sibling, 1 reply; 26+ messages in thread
From: Lapo Luchini @ 2001-07-09 15:04 UTC (permalink / raw)
  To: Corinna Vinschen

> Lapo, are you already investigating into that problem as well? Since
> you did the base port you have a clue what's going on, perhaps.

Sure I'm trying to, but I have very little time at the moment (university
exams T_T).
Right now I can only confirm that it happens only using rsync:// protocol in
daemon mode so it should be something particular to that one, but had not yet
had enough time to dig the source.

--
Lapo Luchini
lapo@lapo.it (PGP & X.509 keys available)
http://www.lapo.it (ICQ UIN: 529796)



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: rsync
  2001-07-09 15:04         ` rsync Lapo Luchini
@ 2001-07-17  1:25           ` Bill Petheram
  0 siblings, 0 replies; 26+ messages in thread
From: Bill Petheram @ 2001-07-17  1:25 UTC (permalink / raw)
  To: Lapo Luchini; +Cc: Corinna Vinschen

I have now build a debug version of cygwin and have run rsync with
strace.

What information do you need to help me look at this problem? I can send
you the strace output.

When I run rsync with GDB I seem to get a winsock exception.

thanks

bill

Lapo Luchini wrote:
> 
> > Lapo, are you already investigating into that problem as well? Since
> > you did the base port you have a clue what's going on, perhaps.
> 
> Sure I'm trying to, but I have very little time at the moment (university
> exams T_T).
> Right now I can only confirm that it happens only using rsync:// protocol in
> daemon mode so it should be something particular to that one, but had not yet
> had enough time to dig the source.
> 
> --
> Lapo Luchini
> lapo@lapo.it (PGP & X.509 keys available)
> http://www.lapo.it (ICQ UIN: 529796)
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: rsync
  2001-07-09 13:23       ` rsync Corinna Vinschen
  2001-07-09 15:04         ` rsync Lapo Luchini
@ 2001-08-02  7:18         ` Bill Petheram
  2001-08-03  5:08           ` Rsync: found the problem Bill Petheram
  1 sibling, 1 reply; 26+ messages in thread
From: Bill Petheram @ 2001-08-02  7:18 UTC (permalink / raw)
  To: Corinna Vinschen; +Cc: Lapo Luchini

To recap:

I am using rsync to copt a file from a remote linux box to a W2K box.

The linux box outputs the followin error: unexpected EOF in read_timeout
This is caused by select returning and a read of 0 bytes in rsync. The
socket is then closed and the W2K end gets a read error: Connection
reset by peer. 

The interesting part from the strace is as follows:
 2253 6092532 [main] rsh 280 _read: res 1 0
  714 6093246 [main] rsh 280 fhandler_socket::read: fhandler_read:
socket 376 len 1024
 1338 6094584 [main] rsh 280 fhandler_socket::read: fhandler_read: res 0
 1462 6096046 [main] rsh 280 _read: res 0
 1425 6097471 [main] rsh 280 _read: 0 = read (3</dev/tcp>, 0x240FA14,
1024), bin 4096, errno 0
 1298 6098769 [main] rsh 280 _kill: kill (1340, 9)
 1112 6099881 [main] rsh 280 sig_send: invalid pid 1340(2), signal 9
  326 6100207 [main] rsh 280 sig_send: returning 1 from sending signal 9
 2034 6102241 [main] rsh 280 kill_worker: 1 = sig_send, Win32 error 0
 2058 6104299 [main] rsh 280 kill_worker: -1 = kill_worker (1340, 9)
 1320 6105619 [main] rsh 280 do_exit: do_exit (0)

The question for me is how can I get a _kill immediately after _read?

What I think happens is rsh exits closing the socket which seems to
cause the remote end to return from select. This then seems to cause the
failure I experience. Though the socket should remain open becuase the
local rsync will have it open.

Where should I look now for more information?

thanks

bill


Corinna Vinschen wrote:
> 
> On Mon, Jul 09, 2001 at 12:56:39PM +0100, Bill Petheram wrote:
> > I can't get rsync to work on W2K except in daemon mode. I tried to debug
> > it with gdb but rsync exits on the first write statement. This means
> > that I cannot step through the program.
> 
> Did you try an strace? It can be pretty helpful, at least to see
> at which point in Cygwin the error occurs. Did you call gdb in
> default GUI mode or in non-GUI? Mostly the non-GUI version (started
> by calling gdb -nw) is a bit easier to control, especially if you're
> working with more than one partition since the GUI version only
> works with native paths.
> 
> > If I build cygwin from source would I be able to see where the write was
> > failing?
> 
> Sure. You can build with CFLAGS=-g instead of using the default of
> CFLAGS=-O2. That results in a easier source code level debugging.
> When you're running that dll (which is approx. 4MB in size) you can
> start rsync again under gdb control. In gdb you can load the DLL's
> symbol table by calling `dll cygwin1.dll'. Set a breakpoint on rsync's
> main() function and after running up to that point you can set
> breakpoints to Cygwin's internal functions.
> 
> Lapo, are you already investigating into that problem as well? Since
> you did the base port you have a clue what's going on, perhaps.
> 
> Corinna
> 
> --
> Corinna Vinschen                  Please, send mails regarding Cygwin to
> Cygwin Developer                                mailto:cygwin@cygwin.com
> Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Rsync: found the problem
  2001-08-02  7:18         ` rsync Bill Petheram
@ 2001-08-03  5:08           ` Bill Petheram
  2001-08-03 10:07             ` Corinna Vinschen
  0 siblings, 1 reply; 26+ messages in thread
From: Bill Petheram @ 2001-08-03  5:08 UTC (permalink / raw)
  To: Corinna Vinschen, Lapo Luchini

What seems to happen is that rsh reads from stdin. rsh sets stdin to be
O_BINARY. However in _read (syscalls.cc) the wait flag is NOT set, so
_read returns -1 and EAGAIN. So stdin for rsh has been set to no delay,
probably by rsync.

What are the rules for inheriting flags and socket options across forks?

bill

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: Rsync: found the problem
  2001-08-03  5:08           ` Rsync: found the problem Bill Petheram
@ 2001-08-03 10:07             ` Corinna Vinschen
  2001-08-06  5:10               ` Bill Petheram
  0 siblings, 1 reply; 26+ messages in thread
From: Corinna Vinschen @ 2001-08-03 10:07 UTC (permalink / raw)
  To: cygwin

On Fri, Aug 03, 2001 at 01:08:26PM +0100, Bill Petheram wrote:
> 
> What seems to happen is that rsh reads from stdin. rsh sets stdin to be
> O_BINARY. However in _read (syscalls.cc) the wait flag is NOT set, so
> _read returns -1 and EAGAIN. So stdin for rsh has been set to no delay,
> probably by rsync.
> 
> What are the rules for inheriting flags and socket options across forks?

sockets are copied across forks using a Winsock2 copy mechanism

	WSADuplicateSocket
	WSASocket

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: Rsync: found the problem
  2001-08-03 10:07             ` Corinna Vinschen
@ 2001-08-06  5:10               ` Bill Petheram
  2001-08-06 13:24                 ` Christopher Faylor
  0 siblings, 1 reply; 26+ messages in thread
From: Bill Petheram @ 2001-08-06  5:10 UTC (permalink / raw)
  To: Corinna Vinschen, Lapo Luchini

Is it a bug or a feature?

Internally cygwin uses a flag OLD_O_NDELAY with the value 0x0004. This
is used for backward compatibility (according to the comment). There is
code to check that if either the OLD_O_NDELAY flag is set or if O_NDELAY
(0x4000) is set they both get set.

So when rsync does a GETFL it does the 'normal':- val &= ~NONBLOCK_FLAG
to set to blocking. Unfortunately the OLD_O_NDELAY bit is still set so
the when the SETFL is called is sets the O_FNDELAY bit as well.
Obviously this means that once a socket is set to non-blocking mode it
cannot be reset using this method. Note that the OLD_O_NDELAY is not
defined in the installed header files, only internally to cygwin.

I think that it is not possible to run old executables with newer DLLs,
so may be the OLD_O_NDELAY flag can be removed.

I added this patch to rsync.h

470a471,474
> #ifdef __CYGWIN32__
> #define OLD_O_NDELAY 0x0004
> #define NONBLOCK_FLAG (O_NONBLOCK | OLD_O_NDELAY)
> #else
476a481
> #endif

This fixes the problem for rsync.

bill

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: Rsync: found the problem
  2001-08-06  5:10               ` Bill Petheram
@ 2001-08-06 13:24                 ` Christopher Faylor
  0 siblings, 0 replies; 26+ messages in thread
From: Christopher Faylor @ 2001-08-06 13:24 UTC (permalink / raw)
  To: cygwin

On Mon, Aug 06, 2001 at 01:09:34PM +0100, Bill Petheram wrote:
>
>Is it a bug or a feature?
>
>Internally cygwin uses a flag OLD_O_NDELAY with the value 0x0004. This
>is used for backward compatibility (according to the comment). There is
>code to check that if either the OLD_O_NDELAY flag is set or if O_NDELAY
>(0x4000) is set they both get set.
>
>So when rsync does a GETFL it does the 'normal':- val &= ~NONBLOCK_FLAG
>to set to blocking. Unfortunately the OLD_O_NDELAY bit is still set so
>the when the SETFL is called is sets the O_FNDELAY bit as well.
>Obviously this means that once a socket is set to non-blocking mode it
>cannot be reset using this method. Note that the OLD_O_NDELAY is not
>defined in the installed header files, only internally to cygwin.
>
>I think that it is not possible to run old executables with newer DLLs,
>so may be the OLD_O_NDELAY flag can be removed.

Thanks for the analysis.  It *is* possible to run old executables with
newer DLLs.  This is a long-stated goal for Cygwin.

I've discussed a potential fix for this problem with Corinna and I'll
be checking in a patch shortly.

Thanks for narrowing the problem down.  It helps a lot.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 26+ messages in thread

* RE: rsync
  2008-03-10 12:50 ` rsync Steven Hartland
@ 2008-03-11  2:17   ` David Christensen
  0 siblings, 0 replies; 26+ messages in thread
From: David Christensen @ 2008-03-11  2:17 UTC (permalink / raw)
  To: cygwin

Sisyphus wrote:
> Is there an rsync package for Cygwin ?

Yes.  When you're in setup and looking at the package list, click the
button near the top-right to change views to an alphabetized list of all
packages, and you should be able to find it.


Steven Hartland wrote:
> Its very unreliable over ssh, constantly locks up part way transfers,
> so if you do use it I'd recommend using daemon mode.

I use Cygwin rsync within my Windows box and over Cygwin ssh to fetch
backup tarballs from my FreeBSD box, and it works.  It's not as fast as
I think it should be, but I don't have the skills or time to figure out
why so I just wait and it gets the job done eventually.


> Alternatively use SFU which doesn't have the issues.

I tried SFU a while back and seem to recall that it lacked one or more
"killer apps" that I use, so I use Cygwin.  I may whine about Cygwin
from time to time, but it's still the best GNU/OSS toolkit for Windows.
:-)


David


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: rsync
  2008-03-10 12:41 rsync Sisyphus
@ 2008-03-10 12:50 ` Steven Hartland
  2008-03-11  2:17   ` rsync David Christensen
  0 siblings, 1 reply; 26+ messages in thread
From: Steven Hartland @ 2008-03-10 12:50 UTC (permalink / raw)
  To: Sisyphus, cygwin

Its very unreliable over ssh, constantly locks up part way transfers, so if you do use it I'd recommend using daemon mode.

Alternatively use SFU which doesn't have the issues.

    Regards
    Steve

----- Original Message ----- 
From: "Sisyphus" <sisyphus1@optusnet.com.au>
> Is there an rsync package for Cygwin ?
> I ran 'Setup.exe' but couldn't find the beast ... mind you, it's a while 
> since I've run 'Setup.exe' for cygwin, so I might have been missing 
> something that's obvious to the initiated.


================================================
This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. 

In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337
or return the E.mail to postmaster@multiplay.co.uk.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 26+ messages in thread

* rsync
@ 2008-03-10 12:41 Sisyphus
  2008-03-10 12:50 ` rsync Steven Hartland
  0 siblings, 1 reply; 26+ messages in thread
From: Sisyphus @ 2008-03-10 12:41 UTC (permalink / raw)
  To: cygwin

Hi,
Is there an rsync package for Cygwin ?
I ran 'Setup.exe' but couldn't find the beast ... mind you, it's a while 
since I've run 'Setup.exe' for cygwin, so I might have been missing 
something that's obvious to the initiated.

Cheers,
Rob 


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: RSYNC
       [not found] <3F9E9D73.2000209@yahoo.ca>
@ 2003-10-28 20:00 ` Christopher Faylor
  0 siblings, 0 replies; 26+ messages in thread
From: Christopher Faylor @ 2003-10-28 20:00 UTC (permalink / raw)
  To: cygwin-apps; +Cc: cygwin

On Tue, Oct 28, 2003 at 11:46:43AM -0500, Aaron wrote:
>I have followed the instruction at http://samba.ana.edu.au/rsync/nt.html 
>and have rsync running as a NT service ... however, when I try to 
>connect I get a folder does net exist error - so I have to think that 
>the path attribute in the .conf file is not configured correctly ...

This is not a bug fix mailing list.  Please use the main cygwin list
for this type of topic.

I've cc'ed this reply and have redirected further discussion there.

>$ rsync -v -e ssh -avz -p 22 user@10.0.0.1:g:\\user /cygdrive/
>c/tmp
>
>
>building file list ...
>link_stat 22 : No such file or directory
>link_stat user@10.0.0.1:g:\user : No such file or directory
>done
>delta-transmission disabled for local transfer or --whole-file
>total: matches=0  tag_hits=0  false_alarms=0 data=0
>wrote 25 bytes  read 20 bytes  90.00 bytes/sec
>total size is 0  speedup is 0.00
>rsync error: some files could not be transferred (code 23) at 
>/tmp/rsync-2.5.6/m
>ain.c(620)
--
Please use the resources at cygwin.com rather than sending personal email.
Special for spam email harvesters: send email to aaaspam@sourceware.org
and be permanently blocked from mailing lists at sources.redhat.com

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: rsync
       [not found] <MABBLLDBBKJJEFKOGKEPAENFCKAA.chris@itindependent.nl>
@ 2002-06-26  5:30 ` Sam Edge
  0 siblings, 0 replies; 26+ messages in thread
From: Sam Edge @ 2002-06-26  5:30 UTC (permalink / raw)
  To: cygwin

[Redirected to cygwin@cygwin.com]

<chris@itindependent.nl> wrote in
<MABBLLDBBKJJEFKOGKEPAENFCKAA.chris@itindependent.nl>
in gmane.os.cygwin.xfree on Wed, 26 Jun 2002 09:53:55 +0200:

> Where can I find a version of Rsync for windows?

rsync 2.5.5 is available as a Cygwin setup.exe packages from the
mirrors I'm using. It's under the "Net" category.

-- 
Sam Edge

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 26+ messages in thread

* RE: rsync
@ 2001-06-29  3:05 Andreas Stenger
  0 siblings, 0 replies; 26+ messages in thread
From: Andreas Stenger @ 2001-06-29  3:05 UTC (permalink / raw)
  To: 'gp@familiehaase.de'; +Cc: 'cygwin@cygwin.com'

Hi,

I downloaded the archive and it still doesn't work. Same error. I am running
on Win2k. The new binary is different from the one that came with the distro
according to cmp.

Thanks for the tip ayways.

Cheers!

Andy

P.S.: Btw. the older version did have an error - when trying to rsync
rsync://server/share/dir1/dir2 it wouldn't find the directory.
rsync://server/share/dir1\dir2 did find the dir, but couldn't create it on
win2k (probably because of trying to create a dir with a backslash in it). A
client on Linux worked with the second version and created a directory
called 'dir1\dir2' as one would expect. You might want to test against this.

-----Original Message-----
From: gp@familiehaase.de [ mailto:gp@familiehaase.de ]
Sent: Friday, June 29, 2001 2:25 AM
To: Andreas Stenger
Cc: cygwin@cygwin.com
Subject: Re: rsync


Am 28 Jun 2001, um 6:42 hat Andreas Stenger geschrieben:

> Hi,
> 
> I was happy to see the rsync (2.4.6) package being included in the cygwin
> distribution, but I wasn't able to get the daemon working. The error I get
> is
> 
> $ rsync rsync://localhost
> read error: Connection reset by peer
> 
> the client does work against the older version 2.4.5 (that I guot from a
> distribution bundled just with a cygwin dll) of the daemon on windows.
> 
> Anyone got it to work? Hints? Any help appreciated.

My version of rsync does work for me very well, i use it on WinNT 4.0,
get it for a try:
ftp://ftp.uni-erlangen.de
in this subdir: /pub/pc/gnuwin32/cygwin/porters/Haase_Gerrit/1.1/

gph

-- 
=^..^=

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: Rsync
  1999-09-12 12:10 ` Rsync Karel Sprenger
@ 1999-09-30 23:42   ` Karel Sprenger
  0 siblings, 0 replies; 26+ messages in thread
From: Karel Sprenger @ 1999-09-30 23:42 UTC (permalink / raw)
  To: SouLShocK; +Cc: cygwin

Hi,

At 20:10 12-9-99 +0200, SouLShocK wrote:
>   Hello all   Im having a problem with the precompiled rsync  2.2.0. When
>i start with --daemon, i get: RSYNC caused an invalid page fault in module 
>KERNEL32.DLL at 0167:bff77142.   Im running with cygwin1.dll  v20.1 

You might try the precompiled rsync 2.3.1 which you can fetch at
http://paddington.ic.uva.nl/public/rsync32.zip

Cheers,
Karel Sprenger <ks@ic.uva.nl>               | phone: +31-20-525 2302
Informatiseringscentrum                     |        +31-20-525 2741
Universiteit van Amsterdam                  | fax  : +31-20-525 2084
Turfdraagsterpad 9, NL-1012 XT  AMSTERDAM   | home : +31-20-670 0942
*** PGP Public Key available on servers *** | email: <cjas@xs4all.nl>

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Rsync
  1999-09-11  8:37 Rsync SouLShocK
@ 1999-09-30 23:42 ` SouLShocK
  0 siblings, 0 replies; 26+ messages in thread
From: SouLShocK @ 1999-09-30 23:42 UTC (permalink / raw)
  To: cygwin

Just wondering if anyone has problems with rsync 
crashing, when trying to start as daemon. rsync 2.3.1 with 
cygwin-20.1

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Rsync
  1999-09-12 11:12 Rsync SouLShocK
  1999-09-12 12:10 ` Rsync Karel Sprenger
@ 1999-09-30 23:42 ` SouLShocK
  1 sibling, 0 replies; 26+ messages in thread
From: SouLShocK @ 1999-09-30 23:42 UTC (permalink / raw)
  To: cygwin

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 222 bytes --]

Hello all
 
Im having a problem with the precompiled rsync 
2.2.0. When i start with --daemon, i get:
RSYNC caused an invalid page fault in module 
KERNEL32.DLL at 0167:bff77142.
 
Im running with cygwin1.dll 
v20.1

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: Rsync
  1999-09-12 11:12 Rsync SouLShocK
@ 1999-09-12 12:10 ` Karel Sprenger
  1999-09-30 23:42   ` Rsync Karel Sprenger
  1999-09-30 23:42 ` Rsync SouLShocK
  1 sibling, 1 reply; 26+ messages in thread
From: Karel Sprenger @ 1999-09-12 12:10 UTC (permalink / raw)
  To: SouLShocK; +Cc: cygwin

Hi,

At 20:10 12-9-99 +0200, SouLShocK wrote:
>   Hello all   Im having a problem with the precompiled rsync  2.2.0. When
>i start with --daemon, i get: RSYNC caused an invalid page fault in module 
>KERNEL32.DLL at 0167:bff77142.   Im running with cygwin1.dll  v20.1 

You might try the precompiled rsync 2.3.1 which you can fetch at
http://paddington.ic.uva.nl/public/rsync32.zip

Cheers,
Karel Sprenger <ks@ic.uva.nl>               | phone: +31-20-525 2302
Informatiseringscentrum                     |        +31-20-525 2741
Universiteit van Amsterdam                  | fax  : +31-20-525 2084
Turfdraagsterpad 9, NL-1012 XT  AMSTERDAM   | home : +31-20-670 0942
*** PGP Public Key available on servers *** | email: <cjas@xs4all.nl>

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Rsync
@ 1999-09-12 11:12 SouLShocK
  1999-09-12 12:10 ` Rsync Karel Sprenger
  1999-09-30 23:42 ` Rsync SouLShocK
  0 siblings, 2 replies; 26+ messages in thread
From: SouLShocK @ 1999-09-12 11:12 UTC (permalink / raw)
  To: cygwin

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 222 bytes --]

Hello all
 
Im having a problem with the precompiled rsync 
2.2.0. When i start with --daemon, i get:
RSYNC caused an invalid page fault in module 
KERNEL32.DLL at 0167:bff77142.
 
Im running with cygwin1.dll 
v20.1

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Rsync
@ 1999-09-11  8:37 SouLShocK
  1999-09-30 23:42 ` Rsync SouLShocK
  0 siblings, 1 reply; 26+ messages in thread
From: SouLShocK @ 1999-09-11  8:37 UTC (permalink / raw)
  To: cygwin

Just wondering if anyone has problems with rsync 
crashing, when trying to start as daemon. rsync 2.3.1 with 
cygwin-20.1

^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2008-03-11  2:17 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <610A1F4808E9D411888F0001023F6361A2EC@MUCX>
2001-06-28 16:02 ` rsync gp
2001-06-28 16:25   ` rsync Christopher Faylor
2001-06-29  1:37 ` rsync Lapo Luchini
2001-07-07  1:13 ` rsync Gerrit P. Haase
2001-07-07  6:59   ` rsync Christopher Faylor
2001-07-09  4:56     ` rsync Bill Petheram
2001-07-09 13:23       ` rsync Corinna Vinschen
2001-07-09 15:04         ` rsync Lapo Luchini
2001-07-17  1:25           ` rsync Bill Petheram
2001-08-02  7:18         ` rsync Bill Petheram
2001-08-03  5:08           ` Rsync: found the problem Bill Petheram
2001-08-03 10:07             ` Corinna Vinschen
2001-08-06  5:10               ` Bill Petheram
2001-08-06 13:24                 ` Christopher Faylor
2008-03-10 12:41 rsync Sisyphus
2008-03-10 12:50 ` rsync Steven Hartland
2008-03-11  2:17   ` rsync David Christensen
     [not found] <3F9E9D73.2000209@yahoo.ca>
2003-10-28 20:00 ` RSYNC Christopher Faylor
     [not found] <MABBLLDBBKJJEFKOGKEPAENFCKAA.chris@itindependent.nl>
2002-06-26  5:30 ` rsync Sam Edge
  -- strict thread matches above, loose matches on Subject: below --
2001-06-29  3:05 rsync Andreas Stenger
1999-09-12 11:12 Rsync SouLShocK
1999-09-12 12:10 ` Rsync Karel Sprenger
1999-09-30 23:42   ` Rsync Karel Sprenger
1999-09-30 23:42 ` Rsync SouLShocK
1999-09-11  8:37 Rsync SouLShocK
1999-09-30 23:42 ` Rsync SouLShocK

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).