On Sat, May 26, 2012 at 12:39 PM, Frank Schwach <[email protected]> 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://myapp_fastcgi.pl>"
> (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).

-- 
Robert Wohlfarth
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to