develooper Front page | perl.beginners | Postings from April 2002

Re: error log message

Thread Previous | Thread Next
Geoffrey F. Green
April 25, 2002 16:24
Re: error log message
Message ID:
On 4/25/02 6:56 PM, "Mat Harrison" <> wrote:

> what does this mean in my apache error log? i get it A LOT. someone said
> that it was something to do with windows/linux line ending compatibility
> probs.
> <log snippet>
> [Thu Apr 25 23:48:59 2002] [error] (2)No such file or directory: exec of
> /web/cgi-bin/genestate/check_login.cgi failed
> [Thu Apr 25 23:48:59 2002] [error] [client] Premature end of
> script headers: /web/cgi-bin/genestate/check_login.cgi
> </log snippet>


Actually, I encountered the same problem as you and the exact same error log
message two hours ago, running Apache on Mac OS X.  The problem was that my
script had DOS line endings, but the line endings needed to be Unix .  When
I made the change, the script worked fine.

 - geoff

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About