From owner-freebsd-questions@FreeBSD.ORG Tue Dec 28 15:38:49 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 86C6016A4CE for ; Tue, 28 Dec 2004 15:38:49 +0000 (GMT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2914A43D45 for ; Tue, 28 Dec 2004 15:38:49 +0000 (GMT) (envelope-from doug@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.13.1/8.13.1) with ESMTP id iBSFZSKB096991; Tue, 28 Dec 2004 10:35:28 -0500 (EST) (envelope-from doug@fledge.watson.org) Received: from localhost (doug@localhost)iBSFZS5o096988; Tue, 28 Dec 2004 10:35:28 -0500 (EST) (envelope-from doug@fledge.watson.org) Date: Tue, 28 Dec 2004 10:35:28 -0500 (EST) From: doug To: whitevamp In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-questions@freebsd.org Subject: Re: apache cant bind to port X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Dec 2004 15:38:49 -0000 When that has happened to me it usually was because apache did not shutdown cleanly. Try killall httpd. I suspect if you had done ps after stopping apache you would have seen a hung process. On Mon, 27 Dec 2004, whitevamp wrote: > > I just did a portupgrade -aRrCc > and now when I goto start apache i get this error message in the log files > > [crit] (13)Permission denied: make_sock: could not bind to port 80 > > I have tryed starting it with ethere apachectl start or httpd , as root. > and > 1.when to /usr/ports/www/apache13 , and did a make deinstall and then a > make clean , then a make install. still same thing after words. > 2. decided to go and try to install apache13-with-ssl , nop same thing > there. > 3. ps -aux | grep http. > 4. Tryed apachectl stop; apachectl start. > 5.. Tryed netstat -an | grep LISTEN to see if something is bound to tcp/80. > > so why am i getting this error ?? i could see it if i had compiled it as a > non super user , and / or trying to run it as a non superuser , but i > compiled and installed it as root and trying to run it as root. > and thats exeactly what its acting like . I tryd setting the port to 8080 > and it worked all execpt for it couldnt write to the pid file . > > > vampextream# uname -a > FreeBSD vampextream.com 5.3-RELEASE-p2 FreeBSD 5.3-RELEASE-p2 #3: Wed Dec > 8 > 20:33:13 PST 2004 root@vampextream.com:/usr/obj/usr/src/sys/VAMPEXTREAM > i386 > vampextream# httpd -V > Server version: Apache/1.3.33 (Unix) > > > if theres any othere information that you need let me know.. > and thankx inadvance for any help on this issue > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >