[rt-users] Help with Debian package + FastCGI setup...
Sam Snow
sam.snow at christianheritageschool.org
Tue Mar 8 22:07:00 EST 2005
Hello,
I've searched a read the wiki and tried so many combos that my eyes are
ready to pop. Hopefully someone will have a suggestion as to where I
have messed up setting up the debian packages to work with Apache2.
Background: Debian Sarge box running Apache 2. I was trying to run via
fast-cgi. When trying to install mod_perl my normally well behaved
apache2 server will not do anything (no error messages to the error log
even) when perl is enabled as a module. Currently trying with the 3.4
debs from http://www.jadevine.org.uk/request-tracker/ .
My current error log:
[Tue Mar 08 19:39:53 2005] [notice] FastCGI: process manager initialized
(pid 1335)
[Tue Mar 08 19:39:53 2005] [warn] FastCGI: server
"/usr/share/request-tracker3.4/libexec/mason_handler.fcgi" started (pid
1336)
[Tue Mar 08 19:39:55 2005] [notice] Apache/2.0.53 (Debian GNU/Linux)
mod_fastcgi/2.4.2 PHP/4.3.10-8 mod_ssl/2.0.53 OpenSSL/0.9.7e configured
-- resuming normal operations
Can't locate /etc/request-tracker3.4/RT_SiteConfig.pm in @INC (@INC
contains: /usr/local/share/request-tracker3.4/lib
/usr/share/request-tracker3.4/lib /etc/perl /usr/local/lib/perl/5.8.4
/usr/local/share/perl/5.8.4 /usr/lib/perl5 /usr/share/perl5
/usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at
/usr/share/request-tracker3.4/lib/RT.pm line 123.
BEGIN failed--compilation aborted at
/usr/share/request-tracker3.4/libexec/webmux.pl line 79.
Compilation failed in require at
/usr/share/request-tracker3.4/libexec/mason_handler.fcgi line 52.
[Tue Mar 08 19:39:58 2005] [warn] FastCGI: server
"/usr/share/request-tracker3.4/libexec/mason_handler.fcgi" (pid 1336)
terminated by calling exit with status '13'
[Tue Mar 08 19:54:57 2005] [error] [client 24.164.226.14] FastCGI:
invalid (dynamic) server
"/usr/share/request-tracker3.4/html/index.html": access for server (uid
33, gid 33) not allowed: execute not allowed
Apache config outside of the virtual host section:
AddHandler fastcgi-script fcgi
#FastCgiIpcDir /var/run/fastcgi
FastCgiServer /usr/share/request-tracker3.4/libexec/mason_handler.fcgi
ScriptAlias /rt /usr/share/request-tracker3.4/libexec/mason_handler.fcgi
<Location /rt/>
DirectoryIndex index.html
</Location>
Apache config inside the virtual host section:
# Adding the following for RT (the ticket tracker)
Alias /rt /usr/share/request-tracker3.4/html
<Location /rt>
RewriteEngine On
RedirectMatch permanent (.*)/$ $1/index.html
AddDefaultCharset UTF-8
SetHandler fastcgi-script
</Location>
Anyone have any ideas where I might have gone wrong? I had to comment
out the FastCgiIpcDir /var/run/fastcgi line because otherwise I got an
error, "FastCgiIpcDir /var/run/fastcgi: already defined as
"/var/lib/apache2/fastcgi."
Thanks,
Sam
More information about the rt-users
mailing list