Regarding the below email does anyone know why I am unable to start apache?
It seems like the fastcgi module is not installed but RT seems to report
that it is. Does anyone know how I can check this on Gentoo?
For your information please see my Apache options below:
APACHE2_OPTS="-D FASTCGI -D DEFAULT_VHOST -D INFO -D LANGUAGE -D SSL -D
SSL_DEFAULT_VHOST -D SUEXEC"
===== /etc/apache2/vhosts.d/rt_apache2_fcgi.conf =====
Tell FastCGI to put its temporary files somewhere sane.
Tell FastCGI that it should use apache’s “suexec” binary to call any
This is a GLOBAL setting
Apache 1.3 discards the user and group parameters on the FastCgiServer
Apache 2.0 requires them.
FastCgiServer RT_DIR/bin/mason_handler.fcgi -idle-timeout 120 -user rt
-group rt -processes 4
ServerName helpdesk.pikedom.com DocumentRoot HTDOCS ServerAdmin email@example.com AddDefaultCharset UTF-8 <IfDefine USERDIR> UserDir disabled </IfDefine> # Set the rt user and group as the executing user for this virtual
SuexecUserGroup rt rt AddHandler fastcgi-script fcgi ScriptAlias / RT_DIR/bin/mason_handler.fcgi/ <Directory "HTDOCS"> Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all </Directory>
vim: ts=4 filetype=apache
Can anyone see what I am doing wrong? Sorry if it’s obvious, I’m a bit of a
newbie so please try and be patient with me.
AndyFrom: Andrew Pike [mailto:firstname.lastname@example.org]
Sent: 20 August 2009 20:38
Subject: mod_fastcgi problems
I hope you can help. I am running Gentoo and installed RT v3.6.7 via
emerge. I have followed your instructions at
http://wiki.bestpractical.com/view/GentooInstallGuide and all seems to go
well until I:
cp /var/www/myrt/rt-3.6.1/etc/rt_apache2_fcgi.conf /etc/apache2/vhosts.d/
And then when I restart apache I receive the following error:
- apache2 has detected a syntax error in your configuration files:
Syntax error on line 3 of /etc/apache2/vhosts.d/rt_apache2_fcgi.conf:
Invalid command ‘FastCgiIpcDir’, perhaps misspelled or defined by a module
not included in the server configuration
If I run ‘perl sbin/rt-test-dependencies --with-fastcgi’ I get the following
rt group (rt)...found bin owner (rt)...found libs owner (rt)...found libs group (rt)...found web owner (apache)...found web group (apache)...found
Everything was found.
Many thanks for your help. Please advise if you would like to see the
contents of any other config file.