Mailing List Archive

Apache 0.8.8 can't run a Irix 5.2?
I tried out the Apache 0.8.8 beta version of httpd (way cool), and couldn't get
it running on Irix 5.2 (Indy workstation). It runs just fine on Ultrix/Linux,
but the Irix version refuses to run.

Ii compiles alright, and leaves a valid ELF 32-bit MSB dynamic executable (not
stripped) MIPS - version 1 executable. When the executable is run, it exits
WITHOUT any error/debug messages or logged information on any problems. Why?

I have no debug/trace utilities on this machine for now, can't check what the
problem is. Is this a known bug, or a bug at all? The configuration should be
all correct..

Anyway, its way fast on Ultrix and beats our ncsa 1.4 in coolness just anytime.

The only problem I've had so far is the exec cmd="" stuff, can't get ANY exec
ssi working. Going to test this some more, though..

/*------------------------------------------------------------------------
E-Mail: phjelt@iki.fi URL: http://www.iki.fi/phjelt/
IRC: MXV on #WWW, #perl Tel. +358-0-5054790, +358-0-464008
------------------------------------------------------------------------*/
Re: Apache 0.8.8 can't run a Irix 5.2? [ In reply to ]
On Wed, 9 Aug 1995, Peter Hjelt wrote:
> I tried out the Apache 0.8.8 beta version of httpd (way cool), and couldn't get
> it running on Irix 5.2 (Indy workstation). It runs just fine on Ultrix/Linux,
> but the Irix version refuses to run.
>
> Ii compiles alright, and leaves a valid ELF 32-bit MSB dynamic executable (not
> stripped) MIPS - version 1 executable. When the executable is run, it exits
> WITHOUT any error/debug messages or logged information on any problems. Why?

I think I found the problem (this is being forwarded to the development group
as well), at least as far as I can see it under 5.3. The default "Group"
directive in httpd.conf points to "#-1" - using that I saw exactly your
behavior on 5.3 (exiting without warning message - with the -X it core
dumped). When I changed it to "32766" (the GID for "nogroup") it returned
"httpd: bad group name 32766", and when I set it to "nogroup", it
successfully fired up. So, try changing your "Group" to "nogroup", or
whatever is equivalent for your server, and we'll have this fixed in the
next release, meanwhile I'll note this in the compat_notes. Thanks!

> The only problem I've had so far is the exec cmd="" stuff, can't get ANY exec
> ssi working. Going to test this some more, though..

Make sure you have either XBITHACK compiled, or are setting the right
document type in srm.conf, whichever way you're doing SSI's.

Brian


--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--
brian@organic.com brian@hyperreal.com http://www.[hyperreal,organic].com/
Re: Apache 0.8.8 can't run a Irix 5.2? [ In reply to ]
Other compilation notes for Irix's "cc"

1) mod_cookies references "sys/timeb.h" which I couldn't find on Irix.
Commenting that out worked fine.

2) cc was complaining about an extraneous comma in http_config.c, line 76.

3) *tons* of warnings at link time about multiply defined objects, but
nothing fatal.

Who else uses SGI's out there? Could someone see if there are any
errors/problems with gcc? I'm getting parse errors, but our gcc
installation might be completely fuct.

Brian

--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--
brian@organic.com brian@hyperreal.com http://www.[hyperreal,organic].com/
Re: Apache 0.8.8 can't run a Irix 5.2? [ In reply to ]
I can confirm that the 'nobody' group setting
does indeed work on the SGI I have here.

Dw.
Re: compilation woes.... [ In reply to ]
On Wed, 9 Aug 1995, Robert S. Thau wrote:
> 1) mod_cookies references "sys/timeb.h" which I couldn't find on Irix.
> Commenting that out worked fine.
>
> Hmmm... this is needed to declare the ftime() function which Cliff's
> BSD fix gets rid of... I take it your sources had those applied.

This was actually 0.8.9, yeah.

> 2) cc was complaining about an extraneous comma in http_config.c, line 76.
>
> I guess we need a patch for this. Sigh...

it's cosmetic (didn't prevent compilation) but it showed up without -Wall
so it might be good to address. It's just a single character change :)

Also, in playing around with server push (ugh! I was forced at gunpoint!
I swear!) and found a problem with CGI script headers. In server push you
send something like the following: (see
http://home.netscape.com/assist/net_sites/pushpull.html)



Content-type: multipart/x-mixed-replace; boundary=ThisRandomString

--ThisRandomString
Content-type: text/plain

Data for the first object.

--ThisRandomString
Content-type: text/plain

Data for the second and last object.

--ThisRandomString--



Under Apache, however, everything after the ; in the first Content-type
gets nuked. The page at Netscape has a note for users of NCSA's httpd to
remove the space after the ; - that didn't work for Apache either. It
*does* work when the same information is sent either as an nph script or
a .asis file (which is how I implemented it finally).

Wow, I filed three bug reports in one day. Wheee! Now if I could only
file three bug *fixes* in one day....

Brian

--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--
brian@organic.com brian@hyperreal.com http://www.[hyperreal,organic].com/
Re: Apache 0.8.8 can't run a Irix 5.2? [ In reply to ]
Date: Wed, 9 Aug 1995 10:33:16 -0700 (PDT)
From: Brian Behlendorf <brian@organic.com>
Precedence: bulk
Reply-To: new-httpd@hyperreal.com


Other compilation notes for Irix's "cc"

1) mod_cookies references "sys/timeb.h" which I couldn't find on Irix.
Commenting that out worked fine.

Hmmm... this is needed to declare the ftime() function which Cliff's
BSD fix gets rid of... I take it your sources had those applied.

2) cc was complaining about an extraneous comma in http_config.c, line 76.

I guess we need a patch for this. Sigh...

rst