From owner-freebsd-questions Tue May 2 15:17:24 2000 Delivered-To: freebsd-questions@freebsd.org Received: from pop.idx.com.au (pop.idx.com.au [203.14.30.10]) by hub.freebsd.org (Postfix) with ESMTP id 9041237C004 for ; Tue, 2 May 2000 15:17:19 -0700 (PDT) (envelope-from dannyh@idx.com.au) Received: from freebsd.freebsd.org (tntwc01-3-153.idx.com.au [203.166.3.153]) by pop.idx.com.au (8.9.3/8.9.3) with SMTP id IAA32412; Wed, 3 May 2000 08:17:09 +1000 From: Danny To: John Holland , questions@FreeBSD.ORG Subject: Re: Apache won't start Date: Thu, 4 May 2000 08:21:02 +1000 X-Mailer: KMail [version 1.0.21] Content-Type: text/plain References: <4.3.1.0.20000502163513.00ad36e0@mail.mindspring.com> MIME-Version: 1.0 Message-Id: <00050408231501.00340@freebsd.freebsd.org> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG You might have something wrong with your httpd.conf After you install Apache you have to specify such things as the DocumentRoot IF you haven't done that or the current DocumentRoot points to /nothing then it will cause an error message. If you don't show a error message have you looked in /var/log/ for a http.log(or something simlar)? On Wed, 03 May 2000, John Holland wrote: > root@samwise:~/tmp # uname -a > FreeBSD samwise.kazoocmh.org 4.0-STABLE FreeBSD 4.0-STABLE #0: Wed Apr 26 > 14:10:48 EDT > 2000 toor@samwise.kazoocmh.org:/usr/src/sys/compile/SAMWISE i386 > > > I installed apache13 from a fresh cvsup of ports. The port apparently > compiled and installed fine. However, httpd does not get started from > /usr/local/etc/apache.sh. In fact, running httpd returns with no errors > and no messages at all, but with no httpd entries from ps ax > > Why won't httpd run? Am I overlooking something simple? > > Does httpd depend on suexec? If so, the port is not installing it. > > -------------------------------------------------- > > root@samwise:~/tmp # httpd -V > Server version: Apache/1.3.12 (Unix) > Server built: Apr 27 2000 16:20:42 > Server's Module Magic Number: 19990320:7 > Server compiled with.... > -D HAVE_MMAP > -D USE_MMAP_SCOREBOARD > -D USE_MMAP_FILES > -D USE_FLOCK_SERIALIZED_ACCEPT > -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT > -D HTTPD_ROOT="/usr/local" > -D SUEXEC_BIN="/usr/local/sbin/suexec" > -D DEFAULT_PIDLOG="/var/run/httpd.pid" > -D DEFAULT_SCOREBOARD="/var/run/httpd.scoreboard" > -D DEFAULT_LOCKFILE="/var/run/httpd.lock" > -D DEFAULT_XFERLOG="/var/log/httpd-access.log" > -D DEFAULT_ERRORLOG="/var/log/httpd-error.log" > -D TYPES_CONFIG_FILE="etc/apache/mime.types" > -D SERVER_CONFIG_FILE="etc/apache/httpd.conf" > -D ACCESS_CONFIG_FILE="etc/apache/access.conf" > -D RESOURCE_CONFIG_FILE="etc/apache/srm.conf" > > root@samwise:~/tmp # httpd -l > Compiled-in modules: > http_core.c > mod_env.c > mod_log_config.c > mod_mime.c > mod_negotiation.c > mod_status.c > mod_include.c > mod_autoindex.c > mod_dir.c > mod_cgi.c > mod_asis.c > mod_imap.c > mod_actions.c > mod_userdir.c > mod_alias.c > mod_access.c > mod_auth.c > mod_so.c > mod_setenvif.c > suexec: disabled; invalid wrapper /usr/local/sbin/suexec > > root@samwise:~/tmp # httpd -t > Syntax OK > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message