Compiled Program System Calls Failing Code 127

Leon Vanderploeg leonv12@gmail.com
Mon May 16 20:07:00 GMT 2011


Greetings,

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

http://cygwin.com/ml/cygwin/2006-08/msg00347.html says /bin/sh can’t be
found.  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? 

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



More information about the Cygwin mailing list