From owner-freebsd-questions Mon May 27 19: 4:58 2002 Delivered-To: freebsd-questions@freebsd.org Received: from chen.org.nz (chen.org.nz [210.54.19.51]) by hub.freebsd.org (Postfix) with ESMTP id 406F737B407 for ; Mon, 27 May 2002 19:04:53 -0700 (PDT) Received: from grimoire.chen.org.nz (localhost [127.0.0.1]) by chen.org.nz (8.12.3/8.12.3) with ESMTP id g4S24qNg051838; Tue, 28 May 2002 14:04:52 +1200 (NZST) (envelope-from jonc@grimoire.chen.org.nz) Received: (from jonc@localhost) by grimoire.chen.org.nz (8.12.3/8.12.3/Submit) id g4S24pTF051837; Tue, 28 May 2002 14:04:51 +1200 (NZST) Date: Tue, 28 May 2002 14:04:51 +1200 From: Jonathan Chen To: jehova Cc: FreeBSD-Questions Subject: Re: apache could not be started Message-ID: <20020528140451.A51819@grimoire.chen.org.nz> References: <200205271751.58067.tornadox@telnor.net> <20020528131311.A51330@grimoire.chen.org.nz> <200205271917.37294.tornadox@telnor.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <200205271917.37294.tornadox@telnor.net>; from tornadox@telnor.net on Mon, May 27, 2002 at 07:17:37PM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, May 27, 2002 at 07:17:37PM -0700, jehova wrote: > thanks for your replay:+) > > #On Monday 27 May 2002 18:13, Jonathan Chen wrote: > > On Mon, May 27, 2002 at 05:51:58PM -0700, jehova wrote: > > > hi, > > > i have a localhost misconfiguration that in my stand alone > > > machine (no LAN and only ppp working connection to ISP) > > > almost don't make troubles, but if i want to run apache > > > for my own machine (localhost, no web) apache startup says: > > > > > > httpd: Could not determine the server's fully qualified domain > > > name, using 127.0.0.1 for ServerName > > > /usr/local/sbin/apachectl start: httpd could not be started > > > > Add your hostname to /etc/hosts. > > still not working here this is /etc/hosts file contents: > 127.0.0.1 localhost kris.com Is this the same as the output of hostname(1)? Does your httpd.conf contain any external domain-names that aren't listed in /etc/hosts? -- Jonathan Chen ---------------------------------------------------------------------- When all else fails, RTFM To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message