lscgid: execve(): Exec format error
I added fast cgi handler in perl. Perl scripts were working even when i haven't added anything for cgi. However they were running seperate processes for each request. I configured the external app like this:
Notes Not Set
Max Connections 20
Initial Request Timeout (secs) 120
Retry Timeout (secs) 0
Persistent Connection Yes
Connection Keepalive Timeout Not Set
Response Buffering No
Auto Start Yes
Back Log 100
Run On Start Up Not Set
Max Idle Time Not Set
Priority Not Set
Memory Soft Limit (bytes) 100M
Memory Hard Limit (bytes) 120M
Process Soft Limit 1000
Process Hard Limit 1100
Next I added a script handler for pl files.
Restarted the server and ran the script. The script still ran in a seperate process. I then removed this line from the top of my perl script "#!/usr/bin/perl" and it gave me this error: "lscgid: execve(): Exec format error"
The server can run .cgi extension files too even though i haven't added cgi extensions as a script handler ? are they added in by default ? How can i run the perl scripts as fast cgi process ?
I have installed the fastcgi module in perl.
Last edited by Sparaker; 09-17-2007 at 02:36 PM..