From owner-freebsd-questions Tue Mar 21 21:44:55 2000 Delivered-To: freebsd-questions@freebsd.org Received: from hotmail.com (f112.law4.hotmail.com [216.33.149.112]) by hub.freebsd.org (Postfix) with SMTP id 6491F37C0B2 for ; Tue, 21 Mar 2000 21:44:53 -0800 (PST) (envelope-from los_alamos@hotmail.com) Received: (qmail 58821 invoked by uid 0); 22 Mar 2000 05:44:52 -0000 Message-ID: <20000322054452.58820.qmail@hotmail.com> Received: from 131.104.128.224 by www.hotmail.com with HTTP; Tue, 21 Mar 2000 21:44:52 PST X-Originating-IP: [131.104.128.224] From: "Jon ." To: freebsd-questions@freebsd.org Subject: Re: starting apache Date: Wed, 22 Mar 2000 00:44:52 EST Mime-Version: 1.0 Content-Type: text/plain; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >On 21 Mar 00, at 22:45, outlawtx@bga.com wrote: > > However, I can not access Apache from any other machine on the LAN or > > from the internet. > > > > Also, "ps aux" reveals no "httpd" in the list. > > > > What's wrong? Try apachectl start Running httpd directly does nothing but run and then exit the program., therefore, it won't be in the process list because it's not running. apachectl is the command to start/stop the server, among other things. if that returns an error, make sure your hostname settings are right, and that an httpd.pid file has been created. >The answer is in the error log file for apache. This may be located >in /usr/local/apache/logs/error-log (or some similar filename), or it >might be in /var/log/(something_involving_apache). This depends >on how it was installed. try /var/log/apache/error_log, if my memory serves correctly. >You should be able to find out via strings and grep: > >strings `which httpd` | grep -i HTTPD_ROOT >gives you the default ServerRoot > >The command >strings `which httpd` | grep -i DEFAULT_ERRORLOG >gives you the default location of the error logfile. > >Combine the two, and you should find your error log, which will >explain your problem (usually something to do with httpd.conf, >where it is, where it ain't, or what it says that it shouldn't). > >There's a simpler answer, but I'm on a Windoze box right now, and >have no access to the default port install of apache. > >Once you find out the error, if you're still confused, >http://www.apache.org/httpd has wonderful, searchable >documentation (click on Server Documentation -> Search for key >words). If you're still confused, send me or the mailing list the error. > >-Todd jon ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message