Write a small cgi script that dumps the environment and take a look. You might be surprised
-lem Frank Schwach <[email protected]> wrote: Hi Robert, Thanks for your help! I'm logged onto the server as the user that runs Apache and I can run the fcgi start-up script (so I can execute the shebang line) as that user, so Apache should be able to run it, as far as I can see. Right now I don't know where to start looking for the problem. BTW: I can also verify in "ps" that apache is actually running as that user I log in with in. Frank On 26/05/12 23:10, Robert Wohlfarth wrote: > On Sat, May 26, 2012 at 12:39 PM, Frank Schwach <[email protected] > <mailto:[email protected]>> wrote: > > Why does Apache claim myapp_fastcgi.pl <http://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 <http://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/ -- The Wellcome Trust Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE. _____________________________________________ 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/
_______________________________________________ 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/
