Hi, I've been happily running NCSA httpd for about 7 months now.
I've just recently had a problem which is causing grief, perhaps
somebody out there can help me.
First of all, we started off running v1.3 on a linux 1.2.3 a.out
system. This ran for months, until I upgraded to 1.5b3 to get some of the
new features. This ran fine, also.
Just last week, we had to move our webserver to a different
system. The first system we moved it to was a linux 1.3.33 system, with
5.0.9 ELF libc and 4.7.2 a.out libc. We rebuilt 1.5b3 for elf, and also
tried 1.5b7. We had the same problem with both.
The problem manifests itself with child processes sticking around
(sleeping), and after a short while user pages (via ~username) don't show
up, and yield a 404 error. The error_log gets a message like:
HTTPd: socket error: accept failed 104
HTTPd: socker error: accept failed 113
but we also get this (the URL does exist, BTW):
httpd: access to /home/johnlane/public_html/index.html/bullseye.gif failed
for ppp-t14.aracnet.com, reason: No file matching URL:
/~johnlane/bullseye.gif from -
Anyways, here's my LINUX portion of portability.h:
/* #define FD_LINUX */
#define JMP_BUF sigjmp_buf
I also tried undefining MIX_SOCKADDR, since there was something
about sockets in the error message... no such luck. I've tried remaking
it as a.out, same problem. sleeping children, no user pages after they
start to pile up.
Anyways, I'm having to restart the server every ten minutes or so
to keep user's pages available. Many people depend upon having multiple
default indexes and things like that, so I really can't go back to 1.3.
So, any help or advice you could offer me would be most welcome.
I hope to continue using your fine server, I hope there's just a setting
to tweak somewhere, or a #define, or something.
Oh, one more thing, here's my httpd.conf:
and my srm.conf:
DirectoryIndex index.html index.shtml index.htm
AddIconByType (TXT,/icons/text.xbm) text/*
AddIconByType (IMG,/icons/image.xbm) image/*
AddIconByType (SND,/icons/sound.xbm) audio/*
AddIcon /icons/movie.xbm .mpg .qt
AddIcon /icons/binary.xbm .bin
AddIcon /icons/back.xbm ..
AddIcon /icons/menu.xbm ^^DIRECTORY^^
AddIcon /icons/blank.xbm ^^BLANKICON^^
IndexIgnore */.??* *~ *# */HEADER* */README*
Alias /icons/ /usr/local/etc/httpd/icons/
ScriptAlias /cgi-bin/ /usr/local/etc/httpd/cgi-bin/
ScriptAlias /cgi-usr/ /usr/local/etc/cgi-usr/
AddType text/x-server-parsed-html .shtml
AddType text/html htm
If you want to know anything else, please let me know. Please,
if you can, send me your followup by mail as well. In case you're
wondering, I've contacted the httpd beta mailbox, and some people on
their HyperNews system -- no reponses yet.
thank you in advance,
Craig S. Bell
Ring +1 503 626.6873 V.34 (28.8K) voice: 626-7696 fax: 626-8675
<a href="http://www.aracnet.com/">aracnet.com info & prices</a>