X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=3.7 required=5.0	tests=AWL,BAYES_20,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST
X-Spam-Check-By: sourceware.org
From: "Leon Vanderploeg" <leonv12@gmail.com>
To: <cygwin@cygwin.com>
References:
In-Reply-To:
Subject: Compiled Program System Calls Failing Code 127
Date: Mon, 16 May 2011 14:07:11 -0600
Message-ID: <042e01cc1404$d8d7ae60$8a870b20$@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain;	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Greetings,

I have a compiled C program that is installed on several servers.=A0 It mak=
es
system calls to programs such as rsync, and has worked fine until now.=A0 I
recently installed it on two Server 2008R2 boxes, identical hardware.=A0 Bo=
th
are Cygwin 1.7.9.=A0 C:\cygwin\bin is added to the Windows PATH variable on
both machines.=A0 The program runs fine on one box, but on the other box, t=
he
system calls return 127.=A0=20

http://cygwin.com/ml/cygwin/2006-08/msg00347.html says /bin/sh can=92t be
found.=A0 At the escalated command prompt, bash and sh start appropriate
shells (although the which command points to /usr/bin/xxx) on both machines.

Any idea what could be causing this behavior?=20

Thanks in advance for any assistance.

Leon


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

