* rsync failed after windows 10 update
@ 2019-03-04 12:19 jwang
2019-03-04 12:36 ` Corinna Vinschen
0 siblings, 1 reply; 37+ messages in thread
From: jwang @ 2019-03-04 12:19 UTC (permalink / raw)
To: cygwin
Error message via strace:
1238 99433 [main] rsync 10684 getwinenv: can't set native for HOME= since
no environ yet
3295 164392 [main] rsync 10684 transport_layer_pipes::connect: Try to
connect to named pipe: \\.\pipe\cygwin-e022582115c10879-lpc
199 164591 [main] rsync 10684 transport_layer_pipes::connect: Error
opening the pipe (2)
138 164729 [main] rsync 10684 client_request::make_request: cygserver
un-available (/etc/cygserver.conf not in office either, nor on asus)
109 282075 [main] rsync 10684 fhandler_pipe::create: name
\\.\pipe\cygwin-e022582115c10879-pty0-from-master, size 131072, mode
PIPE_TYPE_MESSAGE
188 282263 [main] rsync 10684 fhandler_pipe::create: pipe busy
84 416660 [main] rsync 10684 fhandler_base::open:
(\??\C:\cygwin64\home\james\.popt, 0x108000)
154 416814 [main] rsync 10684 seterrno_from_nt_status:
/home/corinna/src/cygwin/cygwin-2.10.0/cygwin-2.10.0-1.x86_64/src/newlib-cygwin/winsup/cygwin/fhandler.cc:680
status 0xC0000034 -> windows error 2
85 416899 [main] rsync 10684 geterrno_from_win_error: windows error 2 ==
errno 2
82 417227 [main] rsync 10684 open: -1 = open(/home/james/.popt, 0x8000),
errno 2
1129 418356 [main] rsync 10684 sigaction_worker: signal 2, newact
0x10047D700 (handle
--- Process 10684 loaded C:\Windows\System32\mswsock.dll at 00007ffc55ca0000
21023506 21450873 [main] rsync 10684 socketpair: connect error
9154 21460027 [main] rsync 10684 __set_errno: void
__set_winsock_errno(const char*, int):224 setting errno 116
128 21460155 [main] rsync 10684 __set_winsock_errno: socketpair:2656 -
winsock error 10060 -> errno 116
83 21460238 [main] rsync 10684 socketpair: -1 = socketpair(...), errno
116
76 21464431 [main] rsync 10684 write: 1 = write(2, 0x1802019A7, 1)
606 21465037 [main] rsync 10684 __set_errno:
cygheap_fdget::cygheap_fdget(int, bool, bool):683 setting errno 9
116 21695034 [main] rsync 10684 __set_errno: fhandler_socket* get(int):86
setting errno 108
132 21695166 [main] rsync 10684 cygwin_getsockopt: -1 = getsockopt(0,
65535, 0x1008, 0xFFFFA918, 0xFFFFA91C), errno 108
508 21695674 [main] rsync 10684 close: close(0)
Would you please shed some light how to fix this issue?
Thanks a lot in advance
James
--
Sent from: http://cygwin.1069669.n5.nabble.com/Cygwin-list-f3.html
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: rsync failed after windows 10 update
2019-03-04 12:19 rsync failed after windows 10 update jwang
@ 2019-03-04 12:36 ` Corinna Vinschen
2019-03-04 14:44 ` jwang
0 siblings, 1 reply; 37+ messages in thread
From: Corinna Vinschen @ 2019-03-04 12:36 UTC (permalink / raw)
To: cygwin
[-- Attachment #1: Type: text/plain, Size: 1982 bytes --]
On Mar 4 05:13, jwang wrote:
> Error message via strace:
>
> 1238 99433 [main] rsync 10684 getwinenv: can't set native for HOME= since
> no environ yet
> 3295 164392 [main] rsync 10684 transport_layer_pipes::connect: Try to
> connect to named pipe: \\.\pipe\cygwin-e022582115c10879-lpc
> 199 164591 [main] rsync 10684 transport_layer_pipes::connect: Error
> opening the pipe (2)
> 138 164729 [main] rsync 10684 client_request::make_request: cygserver
> un-available (/etc/cygserver.conf not in office either, nor on asus)
> 109 282075 [main] rsync 10684 fhandler_pipe::create: name
> \\.\pipe\cygwin-e022582115c10879-pty0-from-master, size 131072, mode
> PIPE_TYPE_MESSAGE
> 188 282263 [main] rsync 10684 fhandler_pipe::create: pipe busy
> 84 416660 [main] rsync 10684 fhandler_base::open:
> (\??\C:\cygwin64\home\james\.popt, 0x108000)
> 154 416814 [main] rsync 10684 seterrno_from_nt_status:
> /home/corinna/src/cygwin/cygwin-2.10.0/cygwin-2.10.0-1.x86_64/src/newlib-cygwin/winsup/cygwin/fhandler.cc:680
> status 0xC0000034 -> windows error 2
^^^^^^^^^^^^^^^^^
This looks like a problem I only found this weekend. Do you have WSL
activated? If so, can you please do two things:
First, install the latest developer snapshot from
https://cygwin.com/snapshots/. This is essential!
Second, check with `lsattr' if all or some of the directories you're
trying to rsync have the "case-sensitivity" flag set, e.g.
$ lsattr -d foo
---------n-C foo
That means the flag is set. Remove the flag recursively, e.g.
$ chattr -R -C foo
Now try rsync again.
Here's what I found two days ago:
https://github.com/Microsoft/WSL/issues/3885
The developer snapshot is needed so that Cygwin does not create
case-sensitive directories by default. I'd released 3.0.2 with
this patch already but I'm still waiting for a report to a certain.
problem.
HTH,
Corinna
--
Corinna Vinschen
Cygwin Maintainer
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: rsync failed after windows 10 update
2019-03-04 12:36 ` Corinna Vinschen
@ 2019-03-04 14:44 ` jwang
2019-03-05 9:46 ` jwang
0 siblings, 1 reply; 37+ messages in thread
From: jwang @ 2019-03-04 14:44 UTC (permalink / raw)
To: cygwin
Thanks a lot - shall check WSL (office desktop default is OFF).
rsync used to work very well at home laptop till, i guess, a major Windows
10 update (I tried to disable update service but failed).
--
Sent from: http://cygwin.1069669.n5.nabble.com/Cygwin-list-f3.html
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: rsync failed after windows 10 update
2019-03-04 14:44 ` jwang
@ 2019-03-05 9:46 ` jwang
2019-03-05 12:04 ` Corinna Vinschen
2019-03-05 12:20 ` Andrey Repin
0 siblings, 2 replies; 37+ messages in thread
From: jwang @ 2019-03-05 9:46 UTC (permalink / raw)
To: cygwin
Hi All,
My home laptop has: WSL off
Also tried "netsh winsock reset" and reboot - "rsync /tmp/test.log /temp/"
still timeout with the same pipe error.
Please shed some light.
Thanks a lot in advance
--
Sent from: http://cygwin.1069669.n5.nabble.com/Cygwin-list-f3.html
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: rsync failed after windows 10 update
2019-03-05 9:46 ` jwang
@ 2019-03-05 12:04 ` Corinna Vinschen
2019-03-05 13:16 ` jwang
2019-03-05 12:20 ` Andrey Repin
1 sibling, 1 reply; 37+ messages in thread
From: Corinna Vinschen @ 2019-03-05 12:04 UTC (permalink / raw)
To: cygwin
[-- Attachment #1: Type: text/plain, Size: 487 bytes --]
On Mar 5 02:40, jwang wrote:
> Hi All,
>
> My home laptop has: WSL off
> Also tried "netsh winsock reset" and reboot - "rsync /tmp/test.log /temp/"
> still timeout with the same pipe error.
>
> Please shed some light.
Another look into your strace snippet shows that socketpair fails and
you're using an old Cygwin version, so my hunch was entirely off-track
anyway.
Please update Cygwin first and try again.
Corinna
--
Corinna Vinschen
Cygwin Maintainer
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: rsync failed after windows 10 update
2019-03-05 9:46 ` jwang
2019-03-05 12:04 ` Corinna Vinschen
@ 2019-03-05 12:20 ` Andrey Repin
2019-03-05 13:15 ` jwang
1 sibling, 1 reply; 37+ messages in thread
From: Andrey Repin @ 2019-03-05 12:20 UTC (permalink / raw)
To: jwang, cygwin
Greetings, jwang!
> Hi All,
> My home laptop has: WSL off
> Also tried "netsh winsock reset" and reboot - "rsync /tmp/test.log /temp/"
> still timeout with the same pipe error.
> Please shed some light.
> Thanks a lot in advance
Did you try the snapshot as Corinna suggested?
--
With best regards,
Andrey Repin
Tuesday, March 5, 2019 15:15:32
Sorry for my terrible english...
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: rsync failed after windows 10 update
2019-03-05 12:20 ` Andrey Repin
@ 2019-03-05 13:15 ` jwang
0 siblings, 0 replies; 37+ messages in thread
From: jwang @ 2019-03-05 13:15 UTC (permalink / raw)
To: cygwin
Nope. Thought that was for WSL activated.
Shall try. Thanks
--
Sent from: http://cygwin.1069669.n5.nabble.com/Cygwin-list-f3.html
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: rsync failed after windows 10 update
2019-03-05 12:04 ` Corinna Vinschen
@ 2019-03-05 13:16 ` jwang
2019-03-05 15:25 ` jwang
0 siblings, 1 reply; 37+ messages in thread
From: jwang @ 2019-03-05 13:16 UTC (permalink / raw)
To: cygwin
Shall upgrade regardless if no WSL. Thanks a lot.
--
Sent from: http://cygwin.1069669.n5.nabble.com/Cygwin-list-f3.html
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: rsync failed after windows 10 update
2019-03-05 13:16 ` jwang
@ 2019-03-05 15:25 ` jwang
2019-03-06 10:00 ` jwang
0 siblings, 1 reply; 37+ messages in thread
From: jwang @ 2019-03-05 15:25 UTC (permalink / raw)
To: cygwin
Not sure if this (update to the latest Cygwin snapshots) will fix my issue
though as all my other "Windows 10" boxes, all have the great Cygwin
installed, have no such an issue.
Is it possible that some Windows back-end services stopped ?
Thanks a lot in advance
--
Sent from: http://cygwin.1069669.n5.nabble.com/Cygwin-list-f3.html
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: rsync failed after windows 10 update
2019-03-05 15:25 ` jwang
@ 2019-03-06 10:00 ` jwang
2019-03-06 11:57 ` Corinna Vinschen
0 siblings, 1 reply; 37+ messages in thread
From: jwang @ 2019-03-06 10:00 UTC (permalink / raw)
To: cygwin
Good morning (UK time) All
I downloaded the snapshots:
https://cygwin.com/snapshots/x86_64/cygwin-20190304.tar.xz
1). tar -zvf cygwin-20190304.tzr.xz
2). cp -p /usr/bin/rsync usr/bin/
3). usr/bin/rsync /tmp/test.log /tmp2/
4). above failed with syntax error
5). strace usr/bin/rsync /tmp/test.log /tmp2/ showed similar error as
before, i.e. named pipe issue et al
Please shed some light.
Thanks a lot in advance
--
Sent from: http://cygwin.1069669.n5.nabble.com/Cygwin-list-f3.html
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: rsync failed after windows 10 update
2019-03-06 10:00 ` jwang
@ 2019-03-06 11:57 ` Corinna Vinschen
2019-03-06 12:05 ` jwang
0 siblings, 1 reply; 37+ messages in thread
From: Corinna Vinschen @ 2019-03-06 11:57 UTC (permalink / raw)
To: cygwin
[-- Attachment #1: Type: text/plain, Size: 1065 bytes --]
On Mar 6 02:54, jwang wrote:
> Good morning (UK time) All
>
> I downloaded the snapshots:
> https://cygwin.com/snapshots/x86_64/cygwin-20190304.tar.xz
>
> 1). tar -zvf cygwin-20190304.tzr.xz
tar: You must specify one of the '-Acdtrux', '--delete' or '--test-label' options
In the meantime you could just have installed 3.0.2 which is equivalent
to the latest snapshot.
> 2). cp -p /usr/bin/rsync usr/bin/
This doesn't make sense. Are you copying rsync into a local dir
with the extracted cygwin? Inside another Cygwin session?
Don't do that, you're bound to get into trouble.
> 3). usr/bin/rsync /tmp/test.log /tmp2/
Works fine for me
> 4). above failed with syntax error
> 5). strace usr/bin/rsync /tmp/test.log /tmp2/ showed similar error as
> before, i.e. named pipe issue et al
I mainly asked to try the latest snapshot to see the strace, because it
doesn't makes sense to inspect the strace of an old version. Please
attach the strace to your reply.
Thanks,
Corinna
--
Corinna Vinschen
Cygwin Maintainer
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: rsync failed after windows 10 update
2019-03-06 11:57 ` Corinna Vinschen
@ 2019-03-06 12:05 ` jwang
2019-03-06 12:14 ` Corinna Vinschen
0 siblings, 1 reply; 37+ messages in thread
From: jwang @ 2019-03-06 12:05 UTC (permalink / raw)
To: cygwin
Sorry, i meant
1). tar -xvf cygwin-20190304.tzr.xz (just unzip and un-tar the downloaded
snapshots)
reason for step 2) - just wanna test rsync (3.1.2) with the new cygwin1.dll
(20190304) without messing up other applications
step 3) (old rsync but with new cygwin1.dll) always failed with printing:
syntax error. And I knew the syntax was correct.
Shall upload a full strace report tonight.
Thanks a lot for your help indeed.
--
Sent from: http://cygwin.1069669.n5.nabble.com/Cygwin-list-f3.html
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: rsync failed after windows 10 update
2019-03-06 12:05 ` jwang
@ 2019-03-06 12:14 ` Corinna Vinschen
2019-03-06 14:00 ` jwang
0 siblings, 1 reply; 37+ messages in thread
From: Corinna Vinschen @ 2019-03-06 12:14 UTC (permalink / raw)
To: cygwin
[-- Attachment #1: Type: text/plain, Size: 727 bytes --]
On Mar 6 04:59, jwang wrote:
> Sorry, i meant
>
> 1). tar -xvf cygwin-20190304.tzr.xz (just unzip and un-tar the downloaded
> snapshots)
>
> reason for step 2) - just wanna test rsync (3.1.2) with the new cygwin1.dll
> (20190304) without messing up other applications
>
> step 3) (old rsync but with new cygwin1.dll) always failed with printing:
> syntax error. And I knew the syntax was correct.
This is not related to Cygwin per se. Your rsync syntax (at least
in the example call) is fine and, as I wrote, it works for me without
trouble with Cygwin 3.0.2. There's something weird on your system,
perhaps. Did you check for BLODA influence?
Corinna
--
Corinna Vinschen
Cygwin Maintainer
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: rsync failed after windows 10 update
2019-03-06 12:14 ` Corinna Vinschen
@ 2019-03-06 14:00 ` jwang
2019-03-08 13:59 ` jwang
0 siblings, 1 reply; 37+ messages in thread
From: jwang @ 2019-03-06 14:00 UTC (permalink / raw)
To: cygwin
Shall check "BLODA influence" as described here:
https://cygwin.com/faq/faq.html#faq.using.bloda
Thanks a lot
--
Sent from: http://cygwin.1069669.n5.nabble.com/Cygwin-list-f3.html
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: rsync failed after windows 10 update
2019-03-06 14:00 ` jwang
@ 2019-03-08 13:59 ` jwang
2019-03-08 14:18 ` Houder
2019-03-08 20:59 ` Jerry Baker via cygwin
0 siblings, 2 replies; 37+ messages in thread
From: jwang @ 2019-03-08 13:59 UTC (permalink / raw)
To: cygwin
I saw:
6296 0 0 6296 ? 0 Mar 4 C:\Program Files
(x86)\Citrix\ICA Client\redirector.exe
Not sure if this is cause, nor if it was included by Windows update.
Is it safe to remove it please?
Thanks
--
Sent from: http://cygwin.1069669.n5.nabble.com/Cygwin-list-f3.html
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: rsync failed after windows 10 update
2019-03-08 13:59 ` jwang
@ 2019-03-08 14:18 ` Houder
2019-03-08 15:35 ` jwang
2019-03-08 20:59 ` Jerry Baker via cygwin
1 sibling, 1 reply; 37+ messages in thread
From: Houder @ 2019-03-08 14:18 UTC (permalink / raw)
To: cygwin
On Fri, 8 Mar 2019 06:53:08, jwang wrote:
> I saw:
> 6296 0 0 6296 ? 0 Mar 4 C:\Program Files
> (x86)\Citrix\ICA Client\redirector.exe
>
> Not sure if this is cause, nor if it was included by Windows update.
>
> Is it safe to remove it please?
Rename, not remove. Your Citrix application might need this file ...
Henri
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: rsync failed after windows 10 update
2019-03-08 14:18 ` Houder
@ 2019-03-08 15:35 ` jwang
0 siblings, 0 replies; 37+ messages in thread
From: jwang @ 2019-03-08 15:35 UTC (permalink / raw)
To: cygwin
thanks a lot for the tip :)
--
Sent from: http://cygwin.1069669.n5.nabble.com/Cygwin-list-f3.html
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: rsync failed after windows 10 update
2019-03-08 13:59 ` jwang
2019-03-08 14:18 ` Houder
@ 2019-03-08 20:59 ` Jerry Baker via cygwin
2019-03-09 1:23 ` jwang
1 sibling, 1 reply; 37+ messages in thread
From: Jerry Baker via cygwin @ 2019-03-08 20:59 UTC (permalink / raw)
To: cygwin
On 3/8/2019 5:53 AM, jwang wrote:
> I saw:
> 6296 0 0 6296 ? 0 Mar 4 C:\Program Files
> (x86)\Citrix\ICA Client\redirector.exe
>
> Not sure if this is cause, nor if it was included by Windows update.
>
> Is it safe to remove it please?
>
> Thanks
It's safe to remove if you do not use Citrix to access remote systems.
Otherwise, you probably need it.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: rsync failed after windows 10 update
2019-03-08 20:59 ` Jerry Baker via cygwin
@ 2019-03-09 1:23 ` jwang
2019-03-09 9:16 ` jwang
0 siblings, 1 reply; 37+ messages in thread
From: jwang @ 2019-03-09 1:23 UTC (permalink / raw)
To: cygwin
Hi All,
I killed redirector.exe process.
However, rsync still fail with the same error.
Please help
Thanks
--
Sent from: http://cygwin.1069669.n5.nabble.com/Cygwin-list-f3.html
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: rsync failed after windows 10 update
2019-03-09 1:23 ` jwang
@ 2019-03-09 9:16 ` jwang
2019-03-11 15:02 ` jwang
2019-03-12 10:29 ` jwang
0 siblings, 2 replies; 37+ messages in thread
From: jwang @ 2019-03-09 9:16 UTC (permalink / raw)
To: cygwin
"net start" showed:
Windows Defender Antivirus Network Inspection Service
Windows Defender Antivirus Service
Windows Defender Firewall
Windows Defender Security Centre Service
may it be one of them messed up rsync?
thanks
--
Sent from: http://cygwin.1069669.n5.nabble.com/Cygwin-list-f3.html
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: rsync failed after windows 10 update
2019-03-09 9:16 ` jwang
@ 2019-03-11 15:02 ` jwang
2019-03-12 10:29 ` jwang
1 sibling, 0 replies; 37+ messages in thread
From: jwang @ 2019-03-11 15:02 UTC (permalink / raw)
To: cygwin
I had also re-install (run setup again) rsync - still the same error :(
--
Sent from: http://cygwin.1069669.n5.nabble.com/Cygwin-list-f3.html
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: rsync failed after windows 10 update
2019-03-09 9:16 ` jwang
2019-03-11 15:02 ` jwang
@ 2019-03-12 10:29 ` jwang
2019-03-16 8:36 ` jwang
1 sibling, 1 reply; 37+ messages in thread
From: jwang @ 2019-03-12 10:29 UTC (permalink / raw)
To: cygwin
Also asked here and hope some one would help:
https://answers.microsoft.com/en-us/windows/forum/all/cygwin-rsync-broken-after-windows-update/37838668-40fe-47a3-a2d0-b515956385c7
--
Sent from: http://cygwin.1069669.n5.nabble.com/Cygwin-list-f3.html
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: rsync failed after windows 10 update
2019-03-12 10:29 ` jwang
@ 2019-03-16 8:36 ` jwang
2019-03-16 10:30 ` Houder
0 siblings, 1 reply; 37+ messages in thread
From: jwang @ 2019-03-16 8:36 UTC (permalink / raw)
To: cygwin
strace showed that it hangs after calling wsock_init
--- Process 33244 loaded C:\Windows\System32\ws2_32.dll at 00007ff98c3b0000
3892 199371 [main] rsync 1839 wsock_init: res 0
217 199588 [main] rsync 1839 wsock_init: wVersion 514
88 199676 [main] rsync 1839 wsock_init: wHighVersion 514
149 199825 [main] rsync 1839 wsock_init: szDescription WinSock 2.0
81 199906 [main] rsync 1839 wsock_init: szSystemStatus Running
81 199987 [main] rsync 1839 wsock_init: iMaxSockets 0
80 200067 [main] rsync 1839 wsock_init: iMaxUdpDg 0
long wait then time out
Please shed some light
Thanks a lot in advance
--
Sent from: http://cygwin.1069669.n5.nabble.com/Cygwin-list-f3.html
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: rsync failed after windows 10 update
2019-03-16 8:36 ` jwang
@ 2019-03-16 10:30 ` Houder
2019-03-16 10:49 ` jwang
0 siblings, 1 reply; 37+ messages in thread
From: Houder @ 2019-03-16 10:30 UTC (permalink / raw)
To: cygwin
On Sat, 16 Mar 2019 01:36:38, jwang wrote:
> strace showed that it hangs after calling wsock_init
>
> --- Process 33244 loaded C:\Windows\System32\ws2_32.dll at 00007ff98c3b0000
> 3892 199371 [main] rsync 1839 wsock_init: res 0
> 217 199588 [main] rsync 1839 wsock_init: wVersion 514
> 88 199676 [main] rsync 1839 wsock_init: wHighVersion 514
> 149 199825 [main] rsync 1839 wsock_init: szDescription WinSock 2.0
> 81 199906 [main] rsync 1839 wsock_init: szSystemStatus Running
> 81 199987 [main] rsync 1839 wsock_init: iMaxSockets 0
> 80 200067 [main] rsync 1839 wsock_init: iMaxUdpDg 0
> long wait then time out
>
> Please shed some light
We cannot ...
Please execute "cygcheck -srv > cygcheck.txt"
Please attach file cygcheck.txt to your next post.
Also, please show us the output of "rsync /tmp/test.log /temp/, i.e.
the command you are executing and which apparently fails ...
Henri
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: rsync failed after windows 10 update
2019-03-16 10:30 ` Houder
@ 2019-03-16 10:49 ` jwang
2019-03-16 12:45 ` Houder
0 siblings, 1 reply; 37+ messages in thread
From: jwang @ 2019-03-16 10:49 UTC (permalink / raw)
To: cygwin
rsync /tmp/test.log /cygdrive/c/temp/
rsync: pipe: Connection timed out (116)
rsync error: error in IPC code (code 14) at pipe.c(122) [sender=3.1.2]
cygcheck.txt <http://cygwin.1069669.n5.nabble.com/file/t11507/cygcheck.txt>
file attached.
Thanks a lot
--
Sent from: http://cygwin.1069669.n5.nabble.com/Cygwin-list-f3.html
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: rsync failed after windows 10 update
2019-03-16 10:49 ` jwang
@ 2019-03-16 12:45 ` Houder
2019-03-16 13:13 ` jwang
2019-03-16 13:31 ` Houder
0 siblings, 2 replies; 37+ messages in thread
From: Houder @ 2019-03-16 12:45 UTC (permalink / raw)
To: cygwin
On Sat, 16 Mar 2019 03:49:27, jwang wrote:
> rsync /tmp/test.log /cygdrive/c/temp/
> rsync: pipe: Connection timed out (116)
> rsync error: error in IPC code (code 14) at pipe.c(122) [sender=3.1.2]
>
> cygcheck.txt <http://cygwin.1069669.n5.nabble.com/file/t11507/cygcheck.txt>
Based on the output of cygcheck -srv,
- you are using W10 (while I am using W7 - rsync works at my place)
Also:
- Current System Time: Sat Mar 16 11:44:27 2019
- Windows 10 Home Ver 10.0 Build 17134
- you are using the 64-bits version of Cygwin (root = c:\cygwin64)
- Cygwin DLL version info: DLL version: 3.0.2
- rsync: version: 3.1.2-1
- librsync2: 1.0.0-1 (resulting in bin/cygrsync-2.dll)
(not installed at my place)
Your PATH definition is exceptionally long ...
- it contains e:\Cywin64\bin twice
- it contains a multitude of "bins", irrelevant to Cygwin
Finding the cause of your problem is an exercise in reducing your
environment to the absolute minimum, required to execute rsync.
I would suggest to (temporarily):
- uninstall librsync2 (it should not interfere w/ rsync, but it
is also not required)
- limit your PATH definition to e:\cygwin64
- i.e. export PATH=/usr/bin, if you are using bash
and run, rsync -vvv <some file> <some directory> again, and show
us the output.
Do not use the arguments that you used previously; create a new
file and a new directory to 'copy' to.
Remember, finding the cause of a problem, is first and foremost
about excluding any factor (you did not think of).
Henri
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: rsync failed after windows 10 update
2019-03-16 12:45 ` Houder
@ 2019-03-16 13:13 ` jwang
2019-03-16 13:19 ` jwang
2019-03-16 13:26 ` jwang
2019-03-16 13:31 ` Houder
1 sibling, 2 replies; 37+ messages in thread
From: jwang @ 2019-03-16 13:13 UTC (permalink / raw)
To: cygwin
Thanks a lot.
Shall try what you suggested and report back later.
--
Sent from: http://cygwin.1069669.n5.nabble.com/Cygwin-list-f3.html
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: rsync failed after windows 10 update
2019-03-16 13:13 ` jwang
@ 2019-03-16 13:19 ` jwang
2019-03-16 13:26 ` jwang
1 sibling, 0 replies; 37+ messages in thread
From: jwang @ 2019-03-16 13:19 UTC (permalink / raw)
To: cygwin
BTW, this is the best place I have ever experienced as far as community,
support and hospitality are concerned.
Wish you guys make cygwin an even more greater product
--
Sent from: http://cygwin.1069669.n5.nabble.com/Cygwin-list-f3.html
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: rsync failed after windows 10 update
2019-03-16 13:13 ` jwang
2019-03-16 13:19 ` jwang
@ 2019-03-16 13:26 ` jwang
2019-03-16 13:46 ` Houder
1 sibling, 1 reply; 37+ messages in thread
From: jwang @ 2019-03-16 13:26 UTC (permalink / raw)
To: cygwin
rsync -vvv /tmp/test2.log /tmp/tmp/
rsync: pipe: Connection timed out (116)
rsync error: error in IPC code (code 14) at pipe.c(122) [sender=3.1.2]
[sender] _exit_cleanup(code=14, file=pipe.c, line=122): about to call
exit(14)
rsync used to work perfectly and still do on my other Windows 10 boxes.
Just one box has problem.
About PATH - i think it is defined by cygwin /etc/profile and my other boxes
also long PATH :)
--
Sent from: http://cygwin.1069669.n5.nabble.com/Cygwin-list-f3.html
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: rsync failed after windows 10 update
2019-03-16 12:45 ` Houder
2019-03-16 13:13 ` jwang
@ 2019-03-16 13:31 ` Houder
2019-03-17 6:45 ` Achim Gratz
1 sibling, 1 reply; 37+ messages in thread
From: Houder @ 2019-03-16 13:31 UTC (permalink / raw)
To: cygwin
On 2019-03-16 13:45, Houder wrote:
> On Sat, 16 Mar 2019 03:49:27, jwang wrote:
>> rsync /tmp/test.log /cygdrive/c/temp/
>> rsync: pipe: Connection timed out (116)
>> rsync error: error in IPC code (code 14) at pipe.c(122) [sender=3.1.2]
>>
>> cygcheck.txt
>> <http://cygwin.1069669.n5.nabble.com/file/t11507/cygcheck.txt>
[snip]
> Your PATH definition is exceptionally long ...
>
> - it contains e:\Cywin64\bin twice
> - it contains a multitude of "bins", irrelevant to Cygwin
>
> Finding the cause of your problem is an exercise in reducing your
> environment to the absolute minimum, required to execute rsync.
>
> I would suggest to (temporarily):
>
> - uninstall librsync2 (it should not interfere w/ rsync, but it
> is also not required)
> - limit your PATH definition to e:\cygwin64
> - i.e. export PATH=/usr/bin, if you are using bash
Sorry, that should be:
export PATH=/usr/bin:/cygdrive/c/Windows/System32
(cygdrive, or whatever your prefix is)
as rsync is also dependent on .dll's from the Windows bin ...
Henri
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: rsync failed after windows 10 update
2019-03-16 13:26 ` jwang
@ 2019-03-16 13:46 ` Houder
2019-03-16 14:18 ` jwang
0 siblings, 1 reply; 37+ messages in thread
From: Houder @ 2019-03-16 13:46 UTC (permalink / raw)
To: cygwin
On Sat, 16 Mar 2019 06:26:05, jwang wrote:
> rsync -vvv /tmp/test2.log /tmp/tmp/
> rsync: pipe: Connection timed out (116)
> rsync error: error in IPC code (code 14) at pipe.c(122) [sender=3.1.2]
> [sender] _exit_cleanup(code=14, file=pipe.c, line=122): about to call
> exit(14)
>
> rsync used to work perfectly and still do on my other Windows 10 boxes.
> Just one box has problem.
>
> About PATH - i think it is defined by cygwin /etc/profile and my other boxes
> also long PATH :)
Yes James,
But this is NOT about "what used to work", it is about what is NOT working NOW
on this specific machine ...
It is also not relevant (to a large extent) that rsync is working on the other
W10 boxes you own ...
The main issue (to us) here is: Is it Cygwin that is causing the problem? Said
differently, if it is not Cygwin, than we cannot help you.
In that case, you will have to rely on your own capabilities (and the support,
if any, given by Microsoft).
So, the reason I am asking to reduce your PATH definition is to exclude Cygwin
as the cause of your recent problem on this specific box.
Excluding, excluding ... that is the main theme here!
Henri
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: rsync failed after windows 10 update
2019-03-16 13:46 ` Houder
@ 2019-03-16 14:18 ` jwang
0 siblings, 0 replies; 37+ messages in thread
From: jwang @ 2019-03-16 14:18 UTC (permalink / raw)
To: cygwin
Thanks lot for your advice.
Microsoft - no reply there.
Shall keep trying.
Have a good weekend.
--
Sent from: http://cygwin.1069669.n5.nabble.com/Cygwin-list-f3.html
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: rsync failed after windows 10 update
2019-03-16 13:31 ` Houder
@ 2019-03-17 6:45 ` Achim Gratz
2019-03-17 8:15 ` jwang
0 siblings, 1 reply; 37+ messages in thread
From: Achim Gratz @ 2019-03-17 6:45 UTC (permalink / raw)
To: cygwin
Houder writes:
> Sorry, that should be:
>
> export PATH=/usr/bin:/cygdrive/c/Windows/System32
The proper way to isolate Cygwin from Windows to the extent possible
is to set "CYGWIN_NOWINPATH=yes" in the control panel in either the system
or user variables so it is in the environment when you start the first
Cygwin process (which should be a login shell). I recommend that as the
default setting. If it turns out you need a specific Windows path later
on, you can add it as needed from ORIGINAL_PATH (provided you use a
POSIX shell).
> (cygdrive, or whatever your prefix is)
Here, too: this should be set independently of whatever the cygdrive
prefix is, so "/proc/cygdrive/c…"
Regards,
Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
Waldorf MIDI Implementation & additional documentation:
http://Synth.Stromeko.net/Downloads.html#WaldorfDocs
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: rsync failed after windows 10 update
2019-03-17 6:45 ` Achim Gratz
@ 2019-03-17 8:15 ` jwang
2019-03-17 9:07 ` Eliot Moss
0 siblings, 1 reply; 37+ messages in thread
From: jwang @ 2019-03-17 8:15 UTC (permalink / raw)
To: cygwin
update: rclone worked on my troubled Windows 10 box.
not sure if rclone can do sync via ssh yet, nor if it can do sync
incrementally yet as rsync can for both
thank you all for your help
--
Sent from: http://cygwin.1069669.n5.nabble.com/Cygwin-list-f3.html
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: rsync failed after windows 10 update
2019-03-17 8:15 ` jwang
@ 2019-03-17 9:07 ` Eliot Moss
2019-03-18 9:47 ` jwang
0 siblings, 1 reply; 37+ messages in thread
From: Eliot Moss @ 2019-03-17 9:07 UTC (permalink / raw)
To: cygwin
On 3/17/2019 4:15 AM, jwang wrote:
> update: rclone worked on my troubled Windows 10 box.
>
> not sure if rclone can do sync via ssh yet, nor if it can do sync
> incrementally yet as rsync can for both
>
> thank you all for your help
Well, if you want a Windows native rsync, you can look into
acrosync. (cwrsync, on the other hand, is just a repackaging
or cygwin and cygwin's rsync.)
But given the effort invested so far, it might be reasonable
to try to find why rsync broke on your one particular machine.
Perhaps some BLODA? (See the cygwin acronyms for a definition!)
Basically some interfering program or setting? Multiple
installations of cygwin? Lots of things can cause it, and the
folks on this list have truly been trying to be helpful -- but
(as said before) we don't have your box, so there is testing
and narrowing down of possibilities that you have to do ...
Whatever is breaking rsync could well affect other programs
too.
Regards - Eliot Moss
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: rsync failed after windows 10 update
2019-03-17 9:07 ` Eliot Moss
@ 2019-03-18 9:47 ` jwang
2019-04-02 8:45 ` jwang
0 siblings, 1 reply; 37+ messages in thread
From: jwang @ 2019-03-18 9:47 UTC (permalink / raw)
To: cygwin
Good point. ssh-agent also breaks at
ssh-add /home/james/.ssh/my_priv_key
Error connecting to agent: Connection timed out
strace (only extracted a couple lines here) showed:
--- Process 55056 thread 7068 created
21045991 21278135 [main] ssh-add 2194 __set_errno: void
__set_winsock_errno(const char*, int):200 setting errno 116
Read and tried BLODA:
removed citrix
disabled Windows firewall in total
none worked.
About isolation: export PATH=/usr/bin:/cygdrive/c/Windows/System32
did not make difference.
Thanks a lot for your help
--
Sent from: http://cygwin.1069669.n5.nabble.com/Cygwin-list-f3.html
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: rsync failed after windows 10 update
2019-03-18 9:47 ` jwang
@ 2019-04-02 8:45 ` jwang
0 siblings, 0 replies; 37+ messages in thread
From: jwang @ 2019-04-02 8:45 UTC (permalink / raw)
To: cygwin
In case any one else has the same issue in future: I resolved mine by
disable Windows firewall (private profile).
All back to normal now. Thanks
--
Sent from: http://cygwin.1069669.n5.nabble.com/Cygwin-list-f3.html
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 37+ messages in thread
end of thread, other threads:[~2019-04-02 8:45 UTC | newest]
Thread overview: 37+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-04 12:19 rsync failed after windows 10 update jwang
2019-03-04 12:36 ` Corinna Vinschen
2019-03-04 14:44 ` jwang
2019-03-05 9:46 ` jwang
2019-03-05 12:04 ` Corinna Vinschen
2019-03-05 13:16 ` jwang
2019-03-05 15:25 ` jwang
2019-03-06 10:00 ` jwang
2019-03-06 11:57 ` Corinna Vinschen
2019-03-06 12:05 ` jwang
2019-03-06 12:14 ` Corinna Vinschen
2019-03-06 14:00 ` jwang
2019-03-08 13:59 ` jwang
2019-03-08 14:18 ` Houder
2019-03-08 15:35 ` jwang
2019-03-08 20:59 ` Jerry Baker via cygwin
2019-03-09 1:23 ` jwang
2019-03-09 9:16 ` jwang
2019-03-11 15:02 ` jwang
2019-03-12 10:29 ` jwang
2019-03-16 8:36 ` jwang
2019-03-16 10:30 ` Houder
2019-03-16 10:49 ` jwang
2019-03-16 12:45 ` Houder
2019-03-16 13:13 ` jwang
2019-03-16 13:19 ` jwang
2019-03-16 13:26 ` jwang
2019-03-16 13:46 ` Houder
2019-03-16 14:18 ` jwang
2019-03-16 13:31 ` Houder
2019-03-17 6:45 ` Achim Gratz
2019-03-17 8:15 ` jwang
2019-03-17 9:07 ` Eliot Moss
2019-03-18 9:47 ` jwang
2019-04-02 8:45 ` jwang
2019-03-05 12:20 ` Andrey Repin
2019-03-05 13:15 ` jwang
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).