NCSA httpd 1.5beta problems -- user pages disappear

NCSA httpd 1.5beta problems -- user pages disappear

Post by Craig S. Be » Wed, 08 Nov 1995 04:00:00

        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, reason: No file matching URL:
/~johnlane/bullseye.gif from -

        Anyways, here's my LINUX portion of portability.h:
#define NO_PASS
/* #define FD_LINUX */
#undef BSD
#undef NO_KILLPG
#undef NO_SETSID
#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:

ServerType standalone
Port 80
User http
Group www

ServerRoot /usr/local/etc/httpd
ErrorLog logs/error_log
TransferLog logs/access_log
PidFile logs/
        and my srm.conf:

DocumentRoot /usr/local/etc/httpd/htdocs
UserDir public_html
DirectoryIndex index.html index.shtml index.htm
FancyIndexing on

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^^

DefaultIcon /icons/unknown.xbm
ReadmeName README
HeaderName HEADER
IndexIgnore */.??* *~ *# */HEADER* */README*
AccessFileName .htaccess
DefaultType text/plain

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=""> info & prices</a>


1. Problems serving user home pages using NCSA httpd 1.4.1

  I'm having problems getting my NCSA httpd to serve user-supplied
html files.  My error log keeps giving errors like:

[Tue Jun  6 08:04:29 1995] httpd: access to /usr8/users/eckman/public_html/publi
c_html/index.html failed for, reason: file permissions deny
server access from -

  Yet, the relevant directory (~eckman/public_html) has permissions of 755
set and the relevant file (index.html) is set with a permission of 644.
  The lines in my access.conf file are:

<Directory /*/users/public_html*>
AllowOverride None
Options Indexes

<Limit GET>
order allow,deny
allow from all


  I'm running NCSA httpd v1.4 on a DEC Alpha workstation running Digital
UNIX v3.2.  Any ideas what the problem may be?

Richard Eckman
NASA Langley Research Center
Hampton, VA

2. SOLVED - multiple append args - delaying eth0 init

3. Problems accessing home pages with NCSA httpd 1.5.1

4. pgcc... Do I really got it ?

5. NCSA httpd process disappeared every 2 day or so

6. Cookies

7. Problems with NCSA 'DocFinder' under NCSA HTTPd 1.5

8. Problems with SEAM and win2000 KDC

9. NCSA httpd socket problem, limit 8 users?

10. Problems with user authentication under NCSA httpd-1.3

11. Problems authorizing users with NCSA httpd 1.5.1

12. NCSA problem with users pages

13. NCSA httpd - Default Page Name?