Gentoo Archives: gentoo-user

From: "Michael Stewart (vericgar)" <vericgar@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Webapp-config trouble
Date: Wed, 03 May 2006 05:15:11
Message-Id: 44583A8B.1070005@gentoo.org
In Reply to: [gentoo-user] Webapp-config trouble by Mrugesh Karnik
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 --

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] Webapp-config trouble Mrugesh Karnik <mrugeshkarnik@×××××.com>