Apache2 problem with Include statements in apache2.conf
Hello,
Since yesterday I restarted apache2 and since then it didn't start anymore:
iserver:/etc/apache2# /etc/init.d/apache2 start
Starting web server: Apache2apache2: could not open document config
file /etc/apache2/conf.d/\x88A\x0f\b\x90`\v\b\x01
I am currently running testing, but I got the same error when
reinstalling apache2 from unstable (this error actually prevents apache2
from installing).
I found some pages on the internet complaining about the error "could
not open document config file", but none were very helpful. Am I the
only one experiencing this problem? It seems to be related to "Include"
statements in apache2.conf. As far as I know apache2 did not update in
the last week or so I doubt whether the error is related to apache2 at
all. Anybody any ideas?
Ronald
<<<Temp. solution & additional info:>>>
I have to change a few "Includes" statements in
/etc/apache2/apache2.conf (relevant part only):
# Include generic snippets of statements
###Include /etc/apache2/conf.d
Include /etc/apache2/conf.d/*
# Include the virtual host configurations:
###Include /etc/apache2/sites-enabled
Include /etc/apache2/sites-enabled/*
Both directories (/etc/apache2/conf.d/ and /etc/apache2/sites-enabled/)
exist, are empty, and the permissions seem OK.
<>drwxr-xr-x 8 root root 4096 2004-08-21 18:11 ./
<>drwxr-xr-x 147 root root 8192 2004-08-21 18:33 ../
<>-rw-r--r-- 1 root root 12423 2004-08-21 19:56 apache2.conf
<>drwxr-xr-x 2 root root 4096 2004-08-21 19:33 conf.d/
<>-rw-r--r-- 1 root root 0 2004-08-21 18:09 httpd.conf
<>drwxr-xr-x 2 root root 4096 2004-08-21 18:09 mods-available/
<>drwxr-xr-x 2 root root 4096 2004-04-04 16:47 mods-enabled/
<>-rw-r--r-- 1 root root 10 2004-08-21 18:09 ports.conf
<>drwxr-xr-x 2 root root 4096 2004-08-21 18:09 sites-available/
<>drwxr-xr-x 2 root root 4096 2004-04-04 16:47 sites-enabled/
<>drwxr-xr-x 2 root root 4096 2004-04-04 16:47 ssl/
<>
<>./conf.d:
<>total 8
<>drwxr-xr-x 2 root root 4096 2004-08-21 19:33 ./
<>drwxr-xr-x 8 root root 4096 2004-08-21 18:11 ../
<>
<><>./sites-enabled:
<>total 8
<>drwxr-xr-x 2 root root 4096 2004-04-04 16:47 ./
<>drwxr-xr-x 8 root root 4096 2004-08-21 18:11 ../
<>
Reply to: