The following reply was made to PR os-sequent/1546; it has been noted by GNATS.

From: Dean Gaudet <[EMAIL PROTECTED]>
To: Jeffrey McNany <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Subject: os-sequent/1546: syntax error, line 158, compiling http_main.c
Date: Tue, 23 Dec 1997 15:24:48 -0800 (PST)

 Ok you should probably start trying to disable the setsockopt() calls in
 http_main.c and see if any of those are hurting things. 
 
 Actually before trying that, try using -DUSE_FCNTL_SERIALIZED_ACCEPT, if
 that don't work try USE_FLOCK_SERIALIZED_ACCEPT, or maybe even
 USE_SYSVSEM_SERIALIZED_ACCEPT.  If none of these works, try running
 "./httpd -X" to get a single child version, maybe something is wrong
 across the fork.  -X isn't good for a production system, but it'll give
 good hints.
 
 Then start disabling the setsockopt() calls if you haven't had any luck so
 far.
 
 At some point you may need to find out what the httpd parent and children
 are doing... the command for this is called strace, or truss, or ktrace,
 or par... it varies.  See
 <http://www.cryptsoft.com/~tjh/tools/syscall.html>. 
 
 You only need one of HAVE_MMAP or HAVE_SHMGET -- I forget which one
 overrides the other.  You may want to try USE_MMAP_FILES when you get
 other things working. 
 
 Which version of Dynix/ptx are you using?  My mud used to run on version
 3.2 I think it was... but I can't seem to find any special cases in my
 code for ptx. 
 
 Dean
 
 On Tue, 23 Dec 1997, Jeffrey McNany wrote:
 
 > Dean,
 > 
 > I have successfully compile the server on my Sequent, and have a
 > running server.  In order to get it to compile, I added the following lines 
 > to
 > the Configure script: (note: "starpas" is the machine's internal name)
 > 
 >     *-*-starpas*)
 >         OS='Sequent Dynix/ptx'
 >         CFLAGS="$CFLAGS -D_SEQUENT_"
 >         LIBS="$LIBS -lsocket -linet -lnsl -lseq"
 >         DEF_WANTHSREGEX=yes
 >         ;;
 > 
 > and these lines to the conf.h file:
 > 
 >   #elif defined(SEQUENT) || defined(_SEQUENT_)
 >   #include <sys/types.h>
 >   #include <sys/uio.h>
 >   #include <netinet/in.h>
 >   #include <arpa/inet.h>
 >   #define NO_KILLPG
 >   #define NEED_STRCASECMP
 >   #define NEED_STRNCASECMP
 >   #define HAVE_MMAP
 >   #define HAVE_SHMGET
 >   #define HAVE_SYS_SELECT_H
 >   #define JMP_BUF sigjmp_buf
 > 
 > Now I have one last problem.  When I attempt to access the server
 > through my Netscape browser I get a message the the connection was
 > refused by the server, and that the "server may not be accepting
 > connections or may be busy".  I have worked for two days on various
 > combinations in the httpd.conf and access.conf files.  I think the problem
 > lies in my system's etc/services and-or etc/protocol files.  Are there any
 > docs on the Apache Web Page that outline modifying those files?  If there
 > are, I can't find them.
 > 
 > Jeff
 > 
 
 

Reply via email to