delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/05/16/16:07:38

X-Recipient: archive-cygwin AT delorie DOT 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 AT gmail DOT com>
To: <cygwin AT cygwin DOT 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
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

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

- Raw text -


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