Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Oct 1996 22:20:44 +0200 (IST)
From:      Nadav Eiron <>
Subject:   exec won't run interpreted files.
Message-ID:  <>

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 

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.


Want to link to this message? Use this URL: <>