[Catalyst] problem with Apache and FastCGI
rbwohlfarth at gmail.com
Sat May 26 22:10:35 GMT 2012
On Sat, May 26, 2012 at 12:39 PM, Frank Schwach <fs5 at sanger.ac.uk> wrote:
> Why does Apache claim myapp_fastcgi.pl doesn't exist when it does?
> If you get this error:
> |FastCGI: can't start server "/tmp/myapp/script/myapp_**fastcgi.pl<http:/=
> (pid 15460), execle() failed: No such file or directory
> when the file *is* there, and its owner is |nobody|, that's just a bad
> error message from Apache. The real cause is that the shebang line in |
> myapp_fastcgi.pl| could not be executed.
The shebang in one of my projects reads "#!/usr/bin/env perl". Does the
Apache user have permissions to execute both "/usr/bin/env" and "perl"?
Can it find "perl" in the PATH? The Apache environment may have a totally
different PATH (or none at all).
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Catalyst