From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3470 invoked by alias); 16 May 2011 20:07:32 -0000 Received: (qmail 3441 invoked by uid 22791); 16 May 2011 20:07:29 -0000 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 Received: from mail-pw0-f43.google.com (HELO mail-pw0-f43.google.com) (209.85.160.43) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 16 May 2011 20:07:15 +0000 Received: by pwj4 with SMTP id 4so3117448pwj.2 for ; Mon, 16 May 2011 13:07:15 -0700 (PDT) Received: by 10.68.63.69 with SMTP id e5mr7604324pbs.307.1305576435071; Mon, 16 May 2011 13:07:15 -0700 (PDT) Received: from laptop3 (c-75-71-26-225.hsd1.co.comcast.net [75.71.26.225]) by mx.google.com with ESMTPS id 9sm3489602pbt.46.2011.05.16.13.07.13 (version=SSLv3 cipher=OTHER); Mon, 16 May 2011 13:07:14 -0700 (PDT) From: "Leon Vanderploeg" To: References: In-Reply-To: Subject: Compiled Program System Calls Failing Code 127 Date: Mon, 16 May 2011 20:07:00 -0000 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 Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2011-05/txt/msg00238.txt.bz2 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