Apache2 Fails to install/start
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Apache2 Web Server |
Fix Released
|
Unknown
|
|||
apache2 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Bug Description
Binary package hint: apache2
Setting up apache2-mpm-prefork (2.2.3-3.2build1) ...
* Starting web server (apache2)...
Syntax error on line 141 of /etc/apache2/
Invalid command 'order', perhaps misspelled or defined by a module not included in the server configuration
...fail!
invoke-rc.d: initscript apache2, action "start" failed.
Setting up apache2 (2.2.3-3.2build1) ...
Setting up php5-common (5.2.1-0ubuntu1) ...
Setting up libapache2-mod-php5 (5.2.1-0ubuntu1) ...
Creating config file /etc/php5/
Your apache2 configuration is broken, so we're not restarting it for you.
Setting up php5 (5.2.1-0ubuntu1) ...
More info here http://<email address hidden>
Changed in apache2: | |
status: | Unknown → Fix Released |
I have the same problem:
Error: apache2. conf:
apache2ctl -t
Syntax error on line 141 of /etc/apache2/
Invalid command 'Order', perhaps misspelled or defined by a module not
included in the server configuration
from 141 of apach2.conf
<Files ~ "^\.ht">
Order allow,deny
Deny from all
</Files>
Bug Reference: www.mail- archive. com/debian- apache% 40lists. debian. org/msg08152. html
http://
Did this bug get closed properly in Ubuntu?
Other Info: ======= ======= ======= ======= =======
=======
apache2ctl -l
Compiled in modules:
core.c
mod_log_config.c
mod_logio.c
worker.c
http_core.c
mod_so.c
apache2ctl -V MPM_DIR= "server/ mpm/worker" SYSVSEM_ SERIALIZE PTHREAD_ SERIALIZE LISTEN_ UNSERIALIZED_ ACCEPT RELIABLE_ PIPED_LOGS MODULE_ LIMIT=128 BIN="/usr/ lib/apache2/ suexec" PIDLOG= "/var/run/ apache2. pid" SCOREBOARD= "logs/apache_ runtime_ status" ERRORLOG= "logs/error_ log" CONFIG_ FILE="/ etc/apache2/ mime.types" CONFIG_ FILE="/ etc/apache2/ apache2. conf"
Server version: Apache/2.2.3
Server built: Jan 15 2007 18:11:52
Server's Module Magic Number: 20051115:3
Server loaded: APR 1.2.7, APR-Util 1.2.7
Compiled using: APR 1.2.7, APR-Util 1.2.7
Architecture: 32-bit
Server MPM: Worker
threaded: yes (fixed thread count)
forked: yes (variable process count)
Server compiled with....
-D APACHE_
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_
-D APR_USE_
-D SINGLE_
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_
-D DYNAMIC_
-D HTTPD_ROOT=""
-D SUEXEC_
-D DEFAULT_
-D DEFAULT_
-D DEFAULT_
-D AP_TYPES_
-D SERVER_
-- System Information: backports' ), (500, 'feisty'), (500, 'edgy-updates'), (500, 'edgy-security'), (500, 'edgy-proposed'), (500, 'edgy-backports'), (500, 'edgy') en_HK.UTF- 8 (charmap=UTF-8)
Debian Release: 4.0
APT prefers feisty-updates
APT policy: (500, 'feisty-updates'), (500, 'feisty-security'), (500, 'feisty-proposed'), (500, 'feisty-
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/dash
Kernel: Linux 2.6.20-15-generic
Locale: LANG=en_HK.UTF-8, LC_CTYPE=
Versions of packages apache2 depends on:
ii apache2-mpm-worker 2.2.3-3.2build1 High speed threaded model for Apac