From owner-freebsd-ports@FreeBSD.ORG Wed Dec 29 19:02:03 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 10EBA16A4CE; Wed, 29 Dec 2004 19:02:03 +0000 (GMT) Received: from hotmail.com (bay103-dav16.bay103.hotmail.com [65.54.174.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id D47A143D1F; Wed, 29 Dec 2004 19:02:02 +0000 (GMT) (envelope-from whitevamp47@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 29 Dec 2004 11:02:02 -0800 Message-ID: Received: from 65.102.125.195 by BAY103-DAV16.phx.gbl with DAV; Wed, 29 Dec 2004 19:01:41 +0000 X-Originating-IP: [65.102.125.195] X-Originating-Email: [whitevamp47@hotmail.com] X-Sender: whitevamp47@hotmail.com From: "whitevamp" To: , , References: <307B8B338024A59012E2265F@palle.girgensohn.se> Date: Wed, 29 Dec 2004 11:02:07 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-OriginalArrivalTime: 29 Dec 2004 19:02:02.0225 (UTC) FILETIME=[E1530610:01C4EDD8] 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 19:02:03 -0000 i just whanted to post back in and let every one know that i have resolved this issue. it was the httpd.conf file causeing the issue. and thankx to every one who help out and gave me sugestions on this issue. ----- Original Message ----- From: To: "whitevamp" ; ; Sent: Tuesday, December 28, 2004 5:15 PM Subject: Re: apache cant bind to port --On måndag, december 27, 2004 22.18.29 -0800 whitevamp 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 user. What's your apache config, is it standard install or did you modify 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="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" _______________________________________________ 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"