From owner-freebsd-ports@FreeBSD.ORG Wed Dec 29 01:15:28 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AC8AE16A4CE; Wed, 29 Dec 2004 01:15:28 +0000 (GMT) Received: from melon.pingpong.net (82.milagro.bahnhof.net [195.178.168.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5429043D3F; Wed, 29 Dec 2004 01:15:28 +0000 (GMT) (envelope-from girgen@FreeBSD.org) Received: from localhost (localhost.pingpong.net [127.0.0.1]) by melon.pingpong.net (Postfix) with ESMTP id 8AF814AC33; Wed, 29 Dec 2004 02:15:27 +0100 (CET) Received: from melon.pingpong.net ([127.0.0.1]) by localhost (melon.pingpong.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 98402-01; Wed, 29 Dec 2004 02:15:27 +0100 (CET) Received: from palle.girgensohn.se (1-2-8-5a.asp.sth.bostream.se [82.182.157.66]) by melon.pingpong.net (Postfix) with ESMTP id 459AE4AC32; Wed, 29 Dec 2004 02:15:27 +0100 (CET) Date: Wed, 29 Dec 2004 02:15:27 +0100 From: girgen@FreeBSD.org To: whitevamp , ports@freebsd.org, freebsd-ports@freebsd.org Message-ID: <307B8B338024A59012E2265F@palle.girgensohn.se> In-Reply-To: References: X-Mailer: Mulberry/3.1.6 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Scanned: by amavisd-new at pingpong.net Subject: Re: apache cant bind to port X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Dec 2004 01:15:28 -0000 --On m=E5ndag, december 27, 2004 22.18.29 -0800 whitevamp=20 wrote: > just whanted to post a followup on this , heres what all ive done sence i > posted this message > 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. > > 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 . If it cannot write to the PID file, it is definitely running as the wrong=20 user. What's your apache config, is it standard install or did you modify=20 it? is your httpd binary setuid, or something? Could you send output from $ ls -l /usr/local/sbin/httpd -rwxr-xr-x 1 root wheel 388651 Oct 20 12:34 /usr/local/sbin/httpd How do you start apache? Best way is to add apache_enable=3D"YES" to /etc/rc.conf, and then use # /usr/local/etc/rc.d/apache.sh start to start. Do you have a www user in /etc/passwd? does its entry look like this: www:*:80:80:World Wide Web Owner:/nonexistent:/sbin/nologin /Palle > > ----- Original Message ----- > From: "whitevamp" > To: > Sent: Monday, December 27, 2004 5:43 PM > Subject: apache cant bind to port > > > 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 > > 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-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"