1 |
Mrugesh Karnik wrote: |
2 |
> * Apache2 has detected a syntax error in your configuration files: |
3 |
> Usage: /usr/sbin/apache2 [-D name] [-d directory] [-f file] |
4 |
> [-C "directive"] [-c "directive"] |
5 |
> [-k start|restart|graceful|stop] |
6 |
> [-v] [-V] [-h] [-l] [-L] [-t] [-S] |
7 |
|
8 |
I doubt this error message is related to your recent webapp-config |
9 |
install (it's probably just now that you noticed it). Generally when |
10 |
this message comes up, there is a problem with your APACHE2_OPTS in |
11 |
/etc/conf.d/apache2, usually a forgotten -D somewhere. |
12 |
|
13 |
Make sure every item in APACHE2_OPTS has a -D before it. |
14 |
Example (from my apache 2.2 configuration): |
15 |
|
16 |
APACHE2_OPTS="-D DEFAULT_VHOST -D INFO -D LANGUAGE -D SSL -D |
17 |
SSL_DEFAULT_VHOST -D SUEXEC -D PHP4 -D MACRO -D USERDIR -D ERRORDOCS -D |
18 |
AUTH_PAM" |
19 |
|
20 |
-- |
21 |
Michael Stewart vericgar@g.o |
22 |
Gentoo Developer http://dev.gentoo.org/~vericgar |
23 |
|
24 |
GnuPG Key ID 0x08614788 available on http://pgp.mit.edu |
25 |
-- |