|
| A R C H I V E D M E S S A G E |
|
Subject: Internal Server Error - No Such File or Directory |
| Posted: 03/09/2004 at 7:51:32 am |
| By: jheffernan |
| [Tue Mar 9 10:34:27 2004] [error] (2)No such file or directory: exec of /Library/WebServer/CGI-Executables/bizmail.cgi failed
[Tue Mar 9 10:34:27 2004] [error] [client 216.20.81.44] Premature end of script headers: /Library/WebServer/CGI-Executables/bizmail.cgi
OS is Mac OS X server 10.2
The script does run on the server directly from Perl
I unzipped the files right on the server in case it was an upload problem.
Paths to perl and sendmail seem to be OK
Permissions were set
Anyway to pinpoint which file is missing?
test-cgi and a hello world cgi script work... | |
|
|
Subject: More info |
| Posted: 03/09/2004 at 7:53:46 am |
| By: jheffernan |
| All the bizform cgi's have the same issue. I am running the cgi directly from the browser although I get the same error when using the sample form.
Any clues appreciated... | |
|
|
Subject: -w |
| Posted: 03/09/2004 at 7:57:54 am |
| By: jheffernan |
| hmmm. Things seem to work when I add -w to the first perl line...
John
| |
|
|
Subject: Re: Internal Server Error - No Such File or Directory |
| Posted: 03/09/2004 at 9:26:19 am |
| By: Seth Knorr |
| It would work when you use -w because that escapes looping errors. I realy have no idea how MAC OS works, never used it or realy know anyone that has for hosting pruposes. However looking at you error log it seems that you can not use "require", so for it to work you will probably have to use the WINDOWS version.
Seth | |
|
|
Subject: Re: Internal Server Error - No Such File or Directory |
| Posted: 03/09/2004 at 10:24:11 am |
| By: jheffernan |
| Mac OS X is a variant of FreeBSD Unix by the way.
What do you mean fixes looping errors? I did not any looping code. Perhaps some Unix end of line issue? I did not have to use the Windows version (thank goodness :-). Add -w to bizmail.cgi and one of the other cgi's that had the perl declaration fixed all problems. Strange. Perhaps -w is required when running with Apache?
| |
|
|