Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 May 2000 08:21:02 +1000
From:      Danny <dannyh@idx.com.au>
To:        John Holland <johnholland@mindspring.com>, questions@FreeBSD.ORG
Subject:   Re: Apache won't start
Message-ID:  <00050408231501.00340@freebsd.freebsd.org>
References:  <4.3.1.0.20000502163513.00ad36e0@mail.mindspring.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00050408231501.00340>