Re: execle() failed: Exec format error

Bryan White <[email protected]>
Newsgroups gmane.comp.web.fastcgi.devel
Message-ID <[email protected]>
Shane De Jager wrote:
> Hi,
> 
> I am having trouble getting my fastCGI script to run. I am running Apache 2 and fastCGI
> I downloaded the latest version from fastCGI.com
> mod_fastcgi-SNAP-0404142202.tar.gz  14-Apr-2004 22:02    97k  
> I am running Fedora Core 3.
> when i try and run the script i get the following in the error log :
> FastCGI: can't start server "/var/www/fcgi-bin/test.fcgi" (pid 30986), execle() failed: Exec format error
> I have tried running the script in the console and it works fine.

What kind of script is it (language)?  From the error message I am 
guessing that the OS can't figure out how to run the script.  There 
should be a comment on the first line of the script that contains the 
path to the interpreter.  Something like:

#!/usr/bin/perl

Bryan
___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.