Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* CERN HTTPD Problem with OSF1 3.2
@ 1995-03-29  1:47 Tim McKee
  1995-04-03  4:00 ` Toivo Pedaste
  0 siblings, 1 reply; 4+ messages in thread
From: Tim McKee @ 1995-03-29  1:47 UTC (permalink / raw)


Has anyone encountered a problem with httpd 3.0 running under OSF1 3.2?

My fully operational OSF1 2.1 system had a disk crash and I had to bring
it up under 3.2.  The httpd daemon seems to have trouble sending CGI data
back to the clients.  I have a clickable map that works *intermittently*
(EGADS) and my E-Mail perl scripts send the mail but *don't* give the
user the normal output.

The map is url 'http://www.sunbelt.net/sc_map.html, the mail form is
url 'http://www.sunbelt.net/sunbelt_info.html.

Any ideas would be appreciated!

Tim McKee, Operations Manager, SunBelt.Net
<mckee@sunbelt.net>



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: CERN HTTPD Problem with OSF1 3.2
  1995-03-29  1:47 CERN HTTPD Problem with OSF1 3.2 Tim McKee
@ 1995-04-03  4:00 ` Toivo Pedaste
  1995-04-04  4:00   ` Michael Matthews
  1995-04-06  4:00   ` Giovanni Maruzzelli
  0 siblings, 2 replies; 4+ messages in thread
From: Toivo Pedaste @ 1995-04-03  4:00 UTC (permalink / raw)


mckee@sunbelt.net (Tim McKee) writes:

>Has anyone encountered a problem with httpd 3.0 running under OSF1 3.2?

>My fully operational OSF1 2.1 system had a disk crash and I had to bring 
>it up under 3.2.  The httpd daemon seems to have trouble sending CGI data 
>back to the clients.  I have a clickable map that works *intermittently* 
>(EGADS) and my E-Mail perl scripts send the mail but *don't* give the 
>user the normal output.

There is some sort of problem with closing pipes and terminating
processes. I assume its an OSF problem since it doesn't happen
on other systems.

My workaround is to put a  
close(STDOUT)
sleep(1)

at the end of the CGI script. This works for me.

--
------------------------------------------------------------------
 Toivo Pedaste                        Email:  toivo@ucs.uwa.edu.au
 University Computing Services,       Phone:  +61 9 380 2605
 University of Western Australia      Fax:    +61 9 380 1014



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: CERN HTTPD Problem with OSF1 3.2
  1995-04-03  4:00 ` Toivo Pedaste
@ 1995-04-04  4:00   ` Michael Matthews
  1995-04-06  4:00   ` Giovanni Maruzzelli
  1 sibling, 0 replies; 4+ messages in thread
From: Michael Matthews @ 1995-04-04  4:00 UTC (permalink / raw)


In article <3lnmb3$5h5@styx.uwa.edu.au>,
Toivo Pedaste <toivo@ucs.uwa.edu.au> wrote:
>There is some sort of problem with closing pipes and terminating
>processes. I assume its an OSF problem since it doesn't happen
>on other systems.

>My workaround is to put a  
>close(STDOUT)
>sleep(1)

>at the end of the CGI script. This works for me.

My solution was a bit more drastic -- patch the HTScript.c source code to
have it ignore the error.  The function is HTLoadScriptResult.  Line 208 is
the one I commented out (the 'break' right after CTRACE(stderr,"HTLoad....")).

I tried telling the software to ignore SIGPIPE but that did not seem to do
anything.  This solution is a tad bit dangerous because it now ignores _all_
errors, but at least the debugging output is still there so you can see
what's going on if you look.

> Toivo Pedaste                        Email:  toivo@ucs.uwa.edu.au
> University Computing Services,       Phone:  +61 9 380 2605
> University of Western Australia      Fax:    +61 9 380 1014


-- 
------------------------------------------------------------------------------
Mike Matthews, Mike_Matthews@sgate.com (NeXTmail accepted)



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: CERN HTTPD Problem with OSF1 3.2
  1995-04-03  4:00 ` Toivo Pedaste
  1995-04-04  4:00   ` Michael Matthews
@ 1995-04-06  4:00   ` Giovanni Maruzzelli
  1 sibling, 0 replies; 4+ messages in thread
From: Giovanni Maruzzelli @ 1995-04-06  4:00 UTC (permalink / raw)


Toivo Pedaste (toivo@ucs.uwa.edu.au) wrote:
: mckee@sunbelt.net (Tim McKee) writes:

: >Has anyone encountered a problem with httpd 3.0 running under OSF1 3.2?

: >My fully operational OSF1 2.1 system had a disk crash and I had to bring 
: >it up under 3.2.  The httpd daemon seems to have trouble sending CGI data 
: >back to the clients.  I have a clickable map that works *intermittently* 
: >(EGADS) and my E-Mail perl scripts send the mail but *don't* give the 
: >user the normal output.

: There is some sort of problem with closing pipes and terminating
: processes. I assume its an OSF problem since it doesn't happen
: on other systems.

: My workaround is to put a  
: close(STDOUT)
: sleep(1)

: at the end of the CGI script. This works for me.

: --
: ------------------------------------------------------------------
:  Toivo Pedaste                        Email:  toivo@ucs.uwa.edu.au
:  University Computing Services,       Phone:  +61 9 380 2605
:  University of Western Australia      Fax:    +61 9 380 1014


There's also a patch for scripts and OSF1 in the BUGS page of W3 web server.

I've patched and now it seems to work fine.

-giovanni



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1995-04-06  4:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-03-29  1:47 CERN HTTPD Problem with OSF1 3.2 Tim McKee
1995-04-03  4:00 ` Toivo Pedaste
1995-04-04  4:00   ` Michael Matthews
1995-04-06  4:00   ` Giovanni Maruzzelli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox