From owner-freebsd-questions Tue Dec 19 21:51: 2 2000 From owner-freebsd-questions@FreeBSD.ORG Tue Dec 19 21:50:58 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from pro.fais.net (unknown [208.249.141.254]) by hub.freebsd.org (Postfix) with ESMTP id 76A9537B402 for ; Tue, 19 Dec 2000 21:50:57 -0800 (PST) Received: from drnet.fais.net (drnet.fais.net [208.249.141.246]) by pro.fais.net (8.9.3/8.9.3/Debian/GNU) with ESMTP id AAA00877; Wed, 20 Dec 2000 00:35:57 -0600 Received: from wks01.drnet.fais.net (wks01.drnet.fais.net [10.64.80.10]) by drnet.fais.net (8.11.0/8.11.0) with SMTP id eBK5oXM01350; Tue, 19 Dec 2000 23:50:38 -0600 (CST) (envelope-from jwpauler@jwpages.com) From: "Justin W. Pauler" Reply-To: jwpauler@jwpages.com Date: Tue, 19 Dec 2000 23:50:31 -0600 X-Mailer: KMail [version 1.1.99] Content-Type: text/plain; charset="us-ascii" To: David Syphers , questions@FreeBSD.ORG References: <4.3.2.7.2.20001218154332.00ba3ea0@nsit-popmail.uchicago.edu> In-Reply-To: <4.3.2.7.2.20001218154332.00ba3ea0@nsit-popmail.uchicago.edu> Subject: Re: apache won't start MIME-Version: 1.0 Message-Id: <00121923503100.06072@wks01.drnet.fais.net> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Just a guess, but maybe add: cerberus.seektruth.org To /etc/hosts... getbyhostname() looks like its trying to get your IP address, and when it is not able too, it won't load. since you say this is 'fresh out of the box' it makes me wonder wether or not you have this.. a fresh install wont. --jwp On Tuesday 19 December 2000 23:38, David Syphers wrote: > On a fresh 4.2-R system, ipfw configured but everything allowed for > lo0. The system is _not_ connected to the internet at this point. I > installed apache 1.3.14 from the ports collection. The only thing I > changed in httpd.conf was ServerName, setting it to "127.0.0.1" since this > I'm just using this for local testing right > now. '/usr/local/sbin/apachectl start' results in the oh-so-useful 'httpd > could not be started' message. The syntax of the conf files checks out > okay. I looked at FreeBSD.layout in /usr/ports/www/apache13 and it looked > reasonable, looked at httpd -V and it looked reasonable > ('HTTPD_ROOT="/usr/local"' and httpd is expected in > "etc/apache/httpd.conf", which is where it is). Apache's error log file > says "... [alert] mod_unique_id: unable to > getbyhostname("cerberus.seektruth.org")". Obviously it wouldn't be able to > do anything with my hostname since I'm not on the internet. What is it > trying to do and why? > > I looked at the mailing list archives for this question because I think the > same thing happened to me a year ago, the last time I tried to install > apache. Many people asked about this, few got replies. I checked things > the few replies mentioned: looked at the apachectl script, checked log > paths, checked ServerName, checked located vs. expected location for the > config files. Nothing helped. > > This system is out-of-the-box 4.2-R/apache 1.3.14 except for the fact that > I have ipfw (halfway) configured. However, everything is allowed for lo0, > and ipfw shouldn't mess at all with just _starting_ apache. Suggestions > would be much appreciated. I would very much like to move SeekTruth.org > from my WinNT laptop to a dedicated FreeBSD server :) > > Please cc: to me, I'm not on -questions. > > > -David > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Justin W. Pauler (drnet) E-Mail: jwpauler@jwpages.com WWW: http://www.jwpages.com IRC: Undernet IRC Network, #EggDrop To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message