1 |
On Wednesday 03 May 2006 10:37, Michael Stewart (vericgar) wrote: |
2 |
> Mrugesh Karnik wrote: |
3 |
> > * Apache2 has detected a syntax error in your configuration files: |
4 |
> > Usage: /usr/sbin/apache2 [-D name] [-d directory] [-f file] |
5 |
> > [-C "directive"] [-c "directive"] |
6 |
> > [-k start|restart|graceful|stop] |
7 |
> > [-v] [-V] [-h] [-l] [-L] [-t] [-S] |
8 |
> |
9 |
> I doubt this error message is related to your recent webapp-config |
10 |
> install (it's probably just now that you noticed it). Generally when |
11 |
> this message comes up, there is a problem with your APACHE2_OPTS in |
12 |
> /etc/conf.d/apache2, usually a forgotten -D somewhere. |
13 |
> |
14 |
> Make sure every item in APACHE2_OPTS has a -D before it. |
15 |
> Example (from my apache 2.2 configuration): |
16 |
> |
17 |
> APACHE2_OPTS="-D DEFAULT_VHOST -D INFO -D LANGUAGE -D SSL -D |
18 |
> SSL_DEFAULT_VHOST -D SUEXEC -D PHP4 -D MACRO -D USERDIR -D ERRORDOCS |
19 |
> -D AUTH_PAM" |
20 |
|
21 |
That solved it, thanks. |
22 |
|
23 |
What do I do about the webapp-config error though? |
24 |
-- |
25 |
---------------------------------------- |
26 |
Mrugesh Karnik |
27 |
GPG Key 0xBA6F1DA8 |
28 |
Public key on http://wwwkeys.pgp.net |
29 |
---------------------------------------- |