*BSD News Article 43779


Return to BSD News archive

Xref: sserve comp.unix.bsd.freebsd.misc:990 comp.infosystems.www.servers.unix:234
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msunews!uwm.edu!vixen.cso.uiuc.edu!howland.reston.ans.net!news.sprintlink.net!psgrain!quagga.ru.ac.za!nntp.und.ac.za!kestrel.ugrd.und.ac.za!chops
From: chops@kestrel.ugrd.und.ac.za (Ewan McPhail)
Newsgroups: comp.unix.bsd.freebsd.misc,comp.infosystems.www.servers.unix
Subject: Compiling NCSA httpd v1.4
Date: 10 May 1995 07:12:54 GMT
Organization: University of Natal (Durban), South Africa
Lines: 38
Message-ID: <3opp1m$cl@owl.und.ac.za>
NNTP-Posting-Host: kestrel.ugrd.und.ac.za
Summary: cannot bind to port 80 : already in use
Keywords: httpd NCSA port
X-Newsreader: TIN [version 1.2 PL2]

HiYa,

I'm still having hassles getting the NCSA httpd v1.4 to run on my system
(FreeBSD 2.0). After suggestions from several people, I compiled the binaries
using the netbsd predefines (after changing paths, etc). This
worked Ok.

However, the httpd reports "httpd: could not bind to port 80
			    bind: Address already in use"
on stdout when executed. What's already using the port?

I even tried replacing the old exec with the new, and doing a reboot
(so nothing should be using port 80)...

(I'm using the httpd via inetd, not standalone...)

I have tried compiling with and without Multiple Child Architecture support,
hostname resolution, authentication and secure logs etc but no joy.

According to the upgrade instructions, all I need do is update the 
config files (done) and copy the new httpd executable over the old (v1.3).

I'm pretty sure the below line in my inetd.conf is correct, but please 
check it out (I'm not sure what all the specifiers do!)
httpd	stream	tcp	nowait	root	/usr/local/bin/httpd	httpd
and in /etc/services the 2 lines
http	80/tcp	http
http	80/udp	
These configs worked fine for v1.3 - I haven't changed them.

Using Netscape, I get the "httpd: could not bind...etc..." error message
when connecting to the site. So the httpd is starting, and can output
somehow...

Any help appreciated!

	-Ewan
	-Ewan McPhail     BSc.Grad at UND, South Africa