*BSD News Article 26276


Return to BSD News archive

Xref: sserve comp.os.386bsd.apps:879 comp.infosystems.www:6294
Path: sserve!newshost.anu.edu.au!munnari.oz.au!ariel.ucs.unimelb.EDU.AU!ucsvc.ucs.unimelb.edu.au!lugb!latcs1!amdahl1.lat.oz.au!baragry
Newsgroups: comp.os.386bsd.apps,comp.infosystems.www
Subject: Re: Problem with cgi scripts on httpd under NetBSD
Message-ID: <CJwFq9.D6o@latcs1.lat.oz.au>
From: baragry@amdahl1.lat.oz.au (Jason Baragry)
Date: Wed, 19 Jan 1994 22:56:33 GMT
Sender: news@latcs1.lat.oz.au (news)
References: <1994Jan16.130355.22889@info.brad.ac.uk>
Organization: Comp Sci, La Trobe Uni, Australia
Lines: 25

In article <1994Jan16.130355.22889@info.brad.ac.uk>, t.d.g.sandford@bradford.ac.uk (Thomas Sandford) writes:
|> I am trying to use the NCSA httpd (WWW) server with NetBSD 0.9 (a FreeWare
|> unix clone for those who don't know). By and large it works very well, but
|> I am having problems with using the cgi scripts feature.
|> 
|> Compiled programs (eg the "submarine sandwich" demo) work OK, but
|> shell scripts produce a "500 Server Error" on the client when accessed.
|> Looking in the error_log file reveals the message "httpd: script failed to
|> produce output" for each attempt.
|> 

Sorry, I haven't got the same systems but I get exactly the same error 
from my server which is installed on an Amdahl machine running UTS (SysVR3.x)

It seems the scripts all work ok if they are executed from the command line
but when they are executed by the server I get the exact same error.
I am wading my way through the exec_script source to figure out what the 
problem is. I'm assuming its a problem with the way my OS is handling it
(UTS isn't a very well-known or well-used OS and does have a lot of its own
little perculiarities ;-) I assume our problems would be the same, just got
to figure out what it is.

regards,

Jason