rsync failed after windows 10 update

2019-03-04 Thread jwang
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_

Re: rsync failed after windows 10 update

2019-03-04 Thread Corinna Vinschen
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

Re: rsync failed after windows 10 update

2019-03-04 Thread jwang
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:

Re: rsync failed after windows 10 update

2019-03-05 Thread 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 -- Sent from: http://cygwin.1069669.n5.nabble.com/Cygwin-list-f3.html -- Problem reports:

Re: rsync failed after windows 10 update

2019-03-05 Thread Corinna Vinschen
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'r

Re: rsync failed after windows 10 update

2019-03-05 Thread Andrey Repin
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

Re: rsync failed after windows 10 update

2019-03-05 Thread jwang
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 Unsubscr

Re: rsync failed after windows 10 update

2019-03-05 Thread jwang
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:

Re: rsync failed after windows 10 update

2019-03-05 Thread jwang
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.106

Re: rsync failed after windows 10 update

2019-03-06 Thread jwang
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

Re: rsync failed after windows 10 update

2019-03-06 Thread Corinna Vinschen
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

Re: rsync failed after windows 10 update

2019-03-06 Thread jwang
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 printi

Re: rsync failed after windows 10 update

2019-03-06 Thread Corinna Vinschen
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

Re: rsync failed after windows 10 update

2019-03-06 Thread jwang
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/ Documenta

Re: rsync failed after windows 10 update

2019-03-08 Thread jwang
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-f

Re: rsync failed after windows 10 update

2019-03-08 Thread Houder
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 remo

Re: rsync failed after windows 10 update

2019-03-08 Thread jwang
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/m

Re: rsync failed after windows 10 update

2019-03-08 Thread Jerry Baker via 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 d

Re: rsync failed after windows 10 update

2019-03-08 Thread jwang
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/ Documentati

Re: rsync failed after windows 10 update

2019-03-09 Thread jwang
"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-lis

Re: rsync failed after windows 10 update

2019-03-11 Thread jwang
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.ht

Re: rsync failed after windows 10 update

2019-03-12 Thread jwang
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/pro

Re: rsync failed after windows 10 update

2019-03-16 Thread jwang
strace showed that it hangs after calling wsock_init --- Process 33244 loaded C:\Windows\System32\ws2_32.dll at 7ff98c3b 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

Re: rsync failed after windows 10 update

2019-03-16 Thread Houder
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 7ff98c3b > 3892 199371 [main] rsync 1839 wsock_init: res 0 > 217 199588 [main] rsync 1839 wsock_init: wVersion 514 >88

Re: rsync failed after windows 10 update

2019-03-16 Thread jwang
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 file attached. Thanks a lot -- Sent from: http://cygwin.1069669.n

Re: rsync failed after windows 10 update

2019-03-16 Thread Houder
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 Based on the ou

Re: rsync failed after windows 10 update

2019-03-16 Thread jwang
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 Unsu

Re: rsync failed after windows 10 update

2019-03-16 Thread jwang
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.ht

Re: rsync failed after windows 10 update

2019-03-16 Thread jwang
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

Re: rsync failed after windows 10 update

2019-03-16 Thread Houder
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

Re: rsync failed after windows 10 update

2019-03-16 Thread Houder
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

Re: rsync failed after windows 10 update

2019-03-16 Thread jwang
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:

Re: rsync failed after windows 10 update

2019-03-16 Thread Achim Gratz
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

Re: rsync failed after windows 10 update

2019-03-17 Thread jwang
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://c

Re: rsync failed after windows 10 update

2019-03-17 Thread Eliot Moss
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.

Re: rsync failed after windows 10 update

2019-03-18 Thread jwang
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 c

Re: rsync failed after windows 10 update

2019-04-02 Thread jwang
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: