delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/07/06/11:02:21

X-Spam-Check-By: sourceware.org
Message-ID: <44AD25DC.7050909@cygwin.com>
Date: Thu, 06 Jul 2006 11:01:48 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20060112 Fedora/1.5-1.fc4.remi Thunderbird/1.5 Mnenhy/0.7.4.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: problem with subshells or childs?
References: <44ACA975 DOT 3070601 AT hmdc DOT de> <44ACB2E7 DOT 9050203 AT hotmail DOT com> <44ACBA79 DOT 2060306 AT hmdc DOT de> <44AD067E DOT 6030201 AT byu DOT net>
In-Reply-To: <44AD067E.6030201@byu.net>
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

Eric Blake wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> According to ml on 7/6/2006 1:23 AM:
>> sh -c ls works. However, the the original problem was that this little
>> shell script is not working:
>>
>> #!/usr/bin/sh
>> /bin/rsync -Cavz -e "/usr/bin/ssh" /cygdrive/d/ server:/home/ml/backups/
>>
>> Error is:
>> rsync: Failed to exec "ssh: No such file or directory (2)
> 
> How about following directions, and giving us more details by including a
> text attachment of the output of 'cygcheck -svr'?
> 
>> Problem reports:       http://cygwin.com/problems.html

The original posting had the cygcheck information but it was in-lined
unfortunately. :-(  See:

<http://www.cygwin.com/ml/cygwin/2005-05/msg00963.html>

Here's a few things to check Lapo:

   1. Are you sure rsync is complaining about ssh and not one of the other
      parameters?

   2. Does it work when invoked directly from the command line?  Does using
      /bin/sh help?


-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

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