public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Compiled Program System Calls Failing Code 127
@ 2011-05-16 20:07 Leon Vanderploeg
  2011-05-17 16:12 ` Larry Hall (Cygwin)
  0 siblings, 1 reply; 2+ messages in thread
From: Leon Vanderploeg @ 2011-05-16 20:07 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-05-17 16:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-16 20:07 Compiled Program System Calls Failing Code 127 Leon Vanderploeg
2011-05-17 16:12 ` Larry Hall (Cygwin)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).