Gentoo Archives: gentoo-user

From: Mrugesh Karnik <mrugeshkarnik@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Webapp-config trouble
Date: Wed, 03 May 2006 05:51:33
Message-Id: 200605031105.07710.mrugeshkarnik@gmail.com
In Reply to: Re: [gentoo-user] Webapp-config trouble by "Michael Stewart (vericgar)"
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 ----------------------------------------