delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/09/29/08:49:24

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
From: Pablo Halpern <phalpern AT halpernwightsoftware DOT com>
Subject: Re: Socket operation on non-socket with rsync/ssh
Date: Thu, 29 Sep 2005 12:43:45 +0000 (UTC)
Lines: 81
Message-ID: <loom.20050929T141811-557@post.gmane.org>
References: <36697 DOT 62 DOT 71 DOT 214 DOT 56 DOT 1127658827 DOT squirrel AT webmail DOT pmd DOT fi> <6 DOT 2 DOT 1 DOT 2 DOT 0 DOT 20050925183635 DOT 04ffac30 AT pop DOT prospeed DOT net> <loom DOT 20050927T045036-480 AT post DOT gmane DOT org> <6 DOT 2 DOT 1 DOT 2 DOT 0 DOT 20050927184335 DOT 04451780 AT pop DOT prospeed DOT net>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes

Larry Hall <lh-no-personal-replies-please <at> cygwin.com> writes:

> 
> At 11:14 PM 9/26/2005, Pablo Halpern wrote:
> >I'm having a similar problem.  The results of cygcheck.svr are at the end of
> >this message.
> >
> >The symptoms are this:
> >1. ssh-add gives these messages when trying to set a passphrase:
> >    bash% eval $(ssh-agent -s)
> >    Agent pid 908
> >    bash% ssh-add
> >    Enter passphrase for /home/Pablo/.ssh/id_dsa:
> >    Error reading response length from authentication socket.
> >    Error writing to authentication socket.
> >    Could not add identity: /home/Pablo/.ssh/id_dsa
> 
> I don't see that, although I'm using an RSA(2) key.  Do you see the same
> thing with RSA keys?  Also, I notice that your home directory is mounted as 
> text.  You might want to try mounting at least your .ssh directory as 
> binary.  It's not clear to me that either of these two things are very 
> significant but they are differences between our two environments.  If you 
> do go the binary mount route, make sure you run 'd2u' on the text files in 
> the affected directories.

I tried different key types and different mounting modes.  No help.

I figured out the problem (at last) by digging into the LSP stack
using Microsoft Anti-spyware.  The problem was caused by part of the
Earthlink Total-Access package I installed so that I could dial up
while away from home.  Most likely, it was the Anti-spyware part of
the package, although I wasn't able to do a partial un-install.  I
would guess that one of the following is happening:

1. Earthlink's Anti-Spyware LSP is badly written (most likely)
2. Earthlink's Anti-Spyware believes rsync and ssh-agent to be spyware but
   isn't telling me.
3. Earthlink's Anti-Spyware doesn't coexist peacefully with Microsoft
   Antispyware.

> >2. rsync hangs at random.  Most hangs appear to be with either
> >large files (15-20MB) or zero-length files.  If it hangs on a file
> >once, it will probably hang on the same file on the next try.  If I
> >delete or manually sync the file, rsync moves on and transfers more
> >files before succeeding or hanging again.  Intrestingly, it hangs
> >MORE often with local transfers than over ssh.
> 
> This sounds to me like the age-old rsync problems.  You can read about them 
> in the email archives.

Yes.  This problem also went away when I uninstalled Earthlink.  We can add
Earthlink Total-Access to the list of packages that are not compatible with
Cygwin.  (Is there such a list anywhere?)  When I get around to it, I'll try
re-installing Earthlink WITHOUT the anti-spyware component and see if it still
interferes.

I can't tell you how relieved I am to be able to do automatic synchronization
between my home PC and my laptop again.

[snip]
> >> That said, did you read and follow the following thread to it's 
> >> resolution?
> >> 
> >> <http://www.cygwin.com/ml/cygwin/2004-09/msg00418.html>

This is the thread that got me wondering about what had installed
itself into my LSP stack.  I was fearing that it was Norton Antivirus
(which I would have been loath to abandon), but had an Aha! moment
when I saw the Earthlink entries.  The incompatible program was not
Aventail, as mentioned in the thread, but the concept was the same.  I
read that thread before posting but read it again after your response.
Thanks for the help.

> >Now, the result of cygcheck -svr:
> 
> We ask that you *attach* this to any problem reports you send to the list.
> Please don't embed it.

I couldn't figure out a way to create an attachment using the web interface to
this newsgroup.  Sorry.



--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019