Subject: pkg/16419: default pkgsrc apache2 installation config fails to start
To: None <gnats-bugs@gnats.netbsd.org>
From: None <dogcow@babymeat.com>
List: netbsd-bugs
Date: 04/19/2002 16:15:03
>Number:         16419
>Category:       pkg
>Synopsis:       default pkgsrc apache2 installation config fails to start
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 19 16:16:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Tom Spindler
>Release:        <NetBSD-current source date>1.5.1
>Organization:
	
>Environment:
	
System: NetBSD veal.babymeat.com 1.5ZA NetBSD 1.5ZA (RAIDVEAL) #0: Fri Feb 22 18:46:03 PST 2002 notroot@sackfulofkittens:/usr/src/sys/arch/i386/compile/RAIDVEAL i386


>Description:
The default installation of apache2 does not start; it complains about
failing to bind.
	
>How-To-Repeat:
`make install` in www/apache2;
p1 root@veal: /usr/pkgsrc/www/apache2 2688 % apachectl start
(48)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
/usr/pkg/sbin/apachectl start: httpd could not be started
	
>Fix:
	
Comment out "Listen 80" in httpd.conf; the "Listen 0.0.0.0:80" directive
already takes care of that. (Note that "Listen 0.0.0.0:80" is inserted by
the pkgsrc Makefile, line 148!)

RCS file: RCS/httpd.conf,v
retrieving revision 1.1
retrieving revision 1.2
diff -r1.1 -r1.2
204c204
< Listen 80
---
> #Listen 80

>Release-Note:
>Audit-Trail:
>Unformatted: