Norman Khine wrote:
Hello,
I have an issue with Apache in that when I enable vhosts I get this 503 error:
--
Service Temporarily Unavailable
The server is temporarily unable to service your request due to
maintenance downtime or capacity problems. Please try again later.
--
If I disable
# Virtual hosts
Include conf/extra/httpd-vhosts.conf
All works fine.
But as soon as I enable it, I get the "The server is temporarily
unable to service your request due to maintenance downtime or capacity
problems. Please try again later."
Here are my configuration options:
$ ./configure --enable-cgi --enable-vhost-alias --enable-rewrite
--enable-proxy --enable-headers
$ /usr/local/apache2/bin/httpd -V
Server version: Apache/2.2.12 (Unix)
Server built: Jul 29 2009 22:27:22
Server's Module Magic Number: 20051115:23
Server loaded: APR 1.3.7, APR-Util 1.3.8
Compiled using: APR 1.3.7, APR-Util 1.3.8
Architecture: 32-bit
Server MPM: Prefork
threaded: no
forked: yes (variable process count)
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=128
-D HTTPD_ROOT="/usr/local/apache2"
-D SUEXEC_BIN="/usr/local/apache2/bin/suexec"
-D DEFAULT_PIDLOG="logs/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="logs/accept.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"
I am on OS X 10.4.11
Is there a way to check what the problem is?
Yes.
Turn your vhosts back on, and enter
/usr/local/apache2/bin/httpd -t
or try to start Apache, and then look at the logfile error.log.
In all likelihood, one of the above will tell you what is wrong.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
" from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org