Date: Sun, 20 Oct 1996 22:20:44 +0200 (IST) From: Nadav Eiron <nadav@barcode.co.il> To: questions@freebsd.org Subject: exec won't run interpreted files. Message-ID: <Pine.BSF.3.91.961020221613.14915A-100000@gatekeeper.barcode.co.il>
next in thread | raw e-mail | index | archive | help
Continuing my Apache saga... I've narrowed down the problem to a failure of exec to run interpreted files. When Apache tries to exec a CGI script, and it's an interpreted file, the shell (presumeably) will give: /usr/local/.../test-cgi: Can't open /usr/local.../test-cgi This also happens if I let Apache run a binary that does a similar exec - the binary will run, but all I get from the script is this error message in the logs (the exec naturaly works perfectly when run from the command line). Are we right in assuming this error is from the shell starting to execute? (the exec seems succssful, as it does not return). What could cause such a behaviour? This is the same for /bin/sh and /usr/bin/perl. TIA Nadav
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.961020221613.14915A-100000>