[rt-users] RT+Apache2+FastCGI Question

Mike Roest msroest at gmail.com
Mon Jun 20 13:30:11 EDT 2005


Hey Everyone,
   I'm attempting to RT running under FastCGI with apache2.

I've gotten everything configured and compiled, but when I goto start
apache I'm getting the following error in the error_log:
Can't locate /opt/rt3/etc/RT_SiteConfig.pm in @INC (@INC contains:
/opt/rt3/local/lib /opt/rt3/lib /opt/rt3/etc /etc/perl
/usr/lib/perl5/site_perl/5.8.5/i686-linux
/usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4
/usr/lib/perl5/site_perl/5.8.4/i686-linux /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.5/i686-linux
/usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.8.5/i686-linux /usr/lib/perl5/5.8.5
/usr/local/lib/site_perl .) at /opt/rt3/lib/RT.pm line 123.
BEGIN failed--compilation aborted at /opt/rt3/bin/webmux.pl line 77.
Compilation failed in require at /opt/rt3/bin/mason_handler.fcgi line 52.

Here is my apache conf for RT, I'm trying to run it in a subdir under my root: 

AddDefaultCharset UTF-8
Alias /rt/NoAuth/images/ /opt/rt3/share/html/NoAuth/images/
<Location /rt/NoAuth/images >
    SetHandler default-handler
    </Location>
FastCgiServer /opt/rt3/bin/mason_handler.fcgi -idle-timeout 120 -processes 6
ScriptAlias /rt/ /opt/rt3/bin/mason_handler.fcgi/


The error is coming from this line in lib/RT.pm
require $SITE_CONFIG_FILE
          || die ("Couldn't load RT config file  '$SITE_CONFIG_FILE'\n$@");

Above in the file is the following setup of SITE_CONFIG_FILE
$SITE_CONFIG_FILE = '/opt/rt3/etc/RT_SiteConfig.pm';

I've tried foing the same require statement just from the perl command
interpretor and it works fine.  Anyone have any ideas.

-- 
Mike
http://www.blahz.org/



More information about the rt-users mailing list