From owner-freebsd-questions Tue Dec 19 21:38:18 2000 From owner-freebsd-questions@FreeBSD.ORG Tue Dec 19 21:38:16 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from midway.uchicago.edu (midway.uchicago.edu [128.135.12.12]) by hub.freebsd.org (Postfix) with ESMTP id 13E3837B400 for ; Tue, 19 Dec 2000 21:38:16 -0800 (PST) Received: from C40948-B.uchicago.edu (c40948-b.plstn1.sfba.home.com [24.20.179.65]) by midway.uchicago.edu (8.10.1/8.10.1) with ESMTP id eBK5cF303907 for ; Tue, 19 Dec 2000 23:38:15 -0600 (CST) Message-Id: <4.3.2.7.2.20001218154332.00ba3ea0@nsit-popmail.uchicago.edu> X-Sender: dbsypher@nsit-popmail.uchicago.edu X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Tue, 19 Dec 2000 21:38:04 -0800 To: questions@freebsd.org From: David Syphers Subject: apache won't start Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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