www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Klaus Weber <kwe...@chephren.germany.ncr.com>
Subject general/1973: bind: Address family not supported by protocol family, httpd: could not bind to port 80
Date Tue, 02 Jun 1998 07:20:01 GMT
The following reply was made to PR general/1973; it has been noted by GNATS.

From: Klaus Weber <kweber@chephren.germany.ncr.com>
To: "'brian@hyperreal.org'" <brian@hyperreal.org>
Cc: "'apbugs@Apache.Org'" <apbugs@Apache.Org>
Subject: general/1973: bind: Address family not supported by protocol family, httpd: could
not bind to port 80
Date: Tue, 2 Jun 1998 09:15:32 +0200

 Hello,
 
 Thanks for your response.
 I loaded the latest release form your server. (1.3b8-dev)
 But after compiling ist ended up with the problem mentioned below.
 
 The following fixes solved the problem on MPRAS.
 please note, it is actually not advisable to check for MPRAS, sinde GuessOS returns i486-ncr-sysv4
on all NCR systems running under SVR4.
 
 Furthermore i suggest to change the Commentlength in the mod_autoindex.c from 23 to e.g.
73. this gives a more comprehensive output.
 
 Below you find a diff output of the changed modules.
 
 *** src/Configure	Tue Jun  2 09:00:26 1998
 --- src/Configure.org	Tue Jun  2 08:59:21 1998
 ***************
 *** 575,586 ****
   	LIBS="$LIBS -lsocket -lnsl -lcrypt -lgen"
   	DBM_LIB=""
   	;;
 -     i486-ncr-sysv4)
 -         OS='NCR MP/RAS'
 -         CFLAGS="$CFLAGS -DSVR4 -DMPRAS"
 -         DEF_WANTHSREGEX=yes
 -         LIBS="$LIBS -lsocket -lnsl -lc -L/usr/ucblib -lucb"
 -         ;;
       maxion-*-sysv4*)
       	OS='SVR4'
   	CFLAGS="$CFLAGS -DSVR4"
 --- 575,580 ----
 
 
 
 *** src/modules/standard/mod_autoindex.c	Tue Jun  2 09:05:35 1998
 --- src/modules/standard/mod_autoindex.c.org	Tue Jun  2 09:05:27 1998
 ***************
 *** 731,737 ****
   static char *terminate_description(autoindex_config_rec * d, char *desc,
   				   int autoindex_opts)
   {
 !     int maxsize = 73;
       register int x;
   
       if (autoindex_opts & SUPPRESS_LAST_MOD)
 --- 731,737 ----
   static char *terminate_description(autoindex_config_rec * d, char *desc,
   				   int autoindex_opts)
   {
 !     int maxsize = 23;
       register int x;
   
       if (autoindex_opts & SUPPRESS_LAST_MOD)
 
 
 
 
 *** src/main/http_main.c	Tue Jun  2 09:10:01 1998
 --- src/main/http_main.c.org	Tue Jun  2 09:08:55 1998
 ***************
 *** 2836,2849 ****
   #define WORKAROUND_SOLARIS_BUG
   #endif
   
 -     /* NCR MP-RAS Version 3.02 (Y2K-Release with various levels
 -      * of tcp patches) has some really weird bugs where if you dup the
 -      * socket now it breaks things across SIGHUP restarts.  It'll either
 -      * be unable to bind, or it won't respond.
 -      */
 - #if defined  MPRAS
 - #define WORKAROUND_SOLARIS_BUG
 - #endif
       /* PR#1282 Unixware 1.x appears to have the same problem as solaris */
   #if defined (UW) && UW < 200
   #define WORKAROUND_SOLARIS_BUG
 --- 2836,2841 ----
 
 
 -- 
 ---------
 Klaus Weber
 NCR CS 80633 Muenchen, Westendstrasse 193
 Phone +49 89 57931157
 Fax   +49 89 57931106
 EMail   Klaus.Weber@Germany.NCR.COM
         kweber@chephren.germany.ncr.com
 ---------
 
 
 
 ----------
 Von: 	brian@hyperreal.org[SMTP:brian@hyperreal.org]
 Gesendet: 	Mittwoch, 20. Mai 1998 04:06
 An: 	apache-bugdb@apache.org; brian@apache.org; kweber@chephren.germany.ncr.com
 Betreff: 	Re: general/1973: bind: Address family not supported by protocol family, httpd:
could not bind to port 80
 
 [In order for any reply to be added to the PR database, ]
 [you need to include <apbugs@Apache.Org> in the Cc line ]
 [and leave the subject line UNCHANGED.  This is not done]
 [automatically because of the potential for mail loops. ]
 
 
 Synopsis: bind: Address family not supported by protocol family, httpd: could not bind to
port 80
 
 State-Changed-From-To: open-analyzed
 State-Changed-By: brian
 State-Changed-When: Tue May 19 19:06:30 PDT 1998
 State-Changed-Why:
 Hi.  We received a bug report from John Withers <withers@semi.kcsc.mwr.irs.gov>
 with a patch for this very platform in the last few weeks.
 1.3b7, when released, includes this patch; however the patch
 originally was against 1.2.6, so it's possible that something
 in the 1.3 vein is triggering this bug you're proposing this
 fix to.  I suggest you pull down the current CVS snapshot from
 http://dev.apache.org/from-cvs/ and give it a try; let us know
 if this bug still persists.  Obviously, it's going to be better
 to conditionalize the fix with an #ifdef MPRAS rather than
 an #ifdef SVR4.  Thanks.
 
    Brian
 
 
 
 
 

Mime
View raw message