You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Dean Gaudet <dg...@arctic.org> on 1998/03/24 00:13:48 UTC

general/1973: bind: Address family not supported by protocol family, httpd: could not bind to port 80 (fwd)

Martin you seem to have a handle on SVR4 stuff... I'm guessing the
WORKAROUND_SOLARIS_BUG is required for pretty much all SVR4... 

Dean

---------- Forwarded message ----------
Date: 20 Mar 1998 22:02:32 -0000
From: Klaus Weber <kw...@chephren.germany.ncr.com>
To: apbugs@hyperreal.org
X-Send-Pr-Version:3.2
Subject: general/1973: bind: Address family not supported by protocol family, httpd: could not bind to port 80


>Number:         1973
>Category:       general
>Synopsis:       bind: Address family not supported by protocol family, httpd: could not bind to port 80
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Fri Mar 20 14:10:01 PST 1998
>Last-Modified:
>Originator:     kweber@chephren.germany.ncr.com
>Organization:
apache
>Release:        1.3b5
>Environment:
Using NCR-UNIX SVR4 MP-RAS Release 3.02
Patchlevel current at March 1998

uname -a >>> UNIX_SV echnaton 4.0 3.0 3433,3434,3432,3437-R Pentium(TM)-MCA
Compiler >>>>> NCR High Performance C Compiler R3.0c
>Description:
It seems that the latest Version of NCR-Unix SVR$ MP-RAS 3.02 
has the same Problem than Solaris and Unixware 1.0 (see below)


 /* Solaris (probably versions 2.4, 2.5, and 2.5.1 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.
  */

The Problem has not been seen on previous Versions of MP-RAS 
>How-To-Repeat:
unfortunatly not
>Fix:
a very rudimental fix in http_main.c
May not not be the best solustion but it worked

If compiling under NCR Unix MP-RAS 3.02 
after 

#if defined (UW) && UW < 200
#define WORKAROUND_SOLARIS_BUG
#endif

add the following

#if defined SVR4
#define WORKAROUND_SOLARIS_BUG
#endif
%0
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <ap...@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]