You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by J�rgen N�rgaard <jn...@napolinet.dk> on 2001/12/10 18:26:28 UTC

general/9027: Unable to start if listing on IPV4 ports

>Number:         9027
>Category:       general
>Synopsis:       Unable to start if listing on IPV4 ports
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Mon Dec 10 09:30:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     jnp@napolinet.dk
>Release:        2.0.28
>Organization:
apache
>Environment:
NetBSD www 1.5.2 NetBSD 1.5.2 (GENERIC) #3: Sat Aug 18 23:37:05 CEST 2001     he@hamster.urc.uninett.no:/usr/src/sys/arch/i386/compile/GENERIC i386

IPV6 enabled.
apache configured with only --prefix=<install path>

>Description:
The problem appears twofold:

by default apache only listens on IPV6 addresses on netbsd

Setting explicitly in httpd.conf to listen on IPV4 ports produces errors like:

Cannot open "<path to here>/httpd-2_0_28/srclib/apr-util/xml/expat/lib/.libs/libexpat.so"
<path to here>/apache/bin/apachectl start: httpd could not be started

For some reason apache doesn't look for the .so file in the installed hierarchy but (thwartedly) in a  version of the source hierarchy. 

Creating the necessary links in the source hierarchy allows aapche start and function.

I'm unable to safely navigate the sources to correct this.
>How-To-Repeat:
A fresh off-the-net installation of netBSD 1.5.2 for i386 with IPV6 enabled. Apche
>Fix:
Preferably have apache listen for both IPV4 & 6 ports.

Or at least look for dynamically loaded libs the right place :-)

>Release-Note:
>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 make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]