[rt-users] Perl install problems

Miles Scruggs rt at garnetweb.com
Thu Jul 14 12:53:08 EDT 2005


I'm having some issues getting rt installed on my box.  I'm using apache
2.0.51 on fedora core1 with Mod Perl 2

I followed the Fedora core 1 install guide which I feel is lacking
something.

If I follow the guide to the letter then I get 

[Thu Jul 14 09:31:57 2005] [error] failed to resolve handler `RT::Mason'
[Thu Jul 14 09:31:57 2005] [error] [client 66.62.165.53] Can't locate
RT/Mason.pm in @INC (@INC contains:
/usr/lib/perl5/5.8.3/i386-linux-thread-multi /usr/lib/perl5/5.8.3
/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2
/usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2
/usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0
/usr/lib/perl5/vendor_perl . /etc/httpd/ /etc/httpd/lib/perl) at (eval 8)
line 3.\n

While this doesn't stop apache from operating it doesn't let RT run either.I
figured this came from the lack of 

PerlRequire /usr/local/rt3/bin/webmux.pl

In the conf.d/rt.conf  

So I added that line, then I would get:

[Thu Jul 14 09:02:30 2005] [error] Can't locate Apache.pm in @INC (@INC
contains: /usr/lib/perl5/5.8.3/i386-linux-thread-multi /usr/lib/perl5/5.8.3
/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2
/usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2
/usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0
/usr/lib/perl5/vendor_perl . /etc/httpd/ /etc/httpd/lib/perl) at
/usr/lib/perl5/5.8.3/CGI.pm line 190.\nCompilation failed in require at
/usr/local/rt3/bin/webmux.pl line 56.\nBEGIN failed--compilation aborted at
/usr/local/rt3/bin/webmux.pl line 56.\nCompilation failed in require at
(eval 1) line 1.\n
[Thu Jul 14 09:02:30 2005] [error] Can't load Perl file:
/usr/local/rt3/bin/webmux.pl for server rt.garnetweb.com:80, exiting...\n


I'm really lost as to which way to proceed on this one.  I installed your
system about 2 years ago, and was pretty happy with it, and would like to
get it running again.

Here is my conf.d/rt.conf  commented out lines just represent attempts to
try different things.  Thanks.

<VirtualHost IP:80>
        ServerName   rt.host.com:80
        ServerAdmin  "email at com.com"
        DocumentRoot /usr/local/rt3/share/html
        
        <IfModule mod_ssl.c>
                SSLEngine off
        </IfModule>
           # these four lines apply to Apache2+mod_perl2 only: {{{
        PerlSetVar MasonArgsMethod CGI
        PerlModule Apache2 Apache::compat
        RewriteEngine On
        RewriteRule ^(.*)/$ $1/index.html
        # }}}

        PerlModule Apache::DBI
        #PerlRequire /usr/local/rt3/bin/webmux.pl
        <Location />
                SetHandler perl-script
                PerlHandler ModPerl::Registry
                Options ExecCGI
                #PerlHandler RT::Mason
        </Location>
        <Directory /usr/local/rt3/share/html>
                Options -Includes +ExecCGI
        </Directory>
</VirtualHost> 







More information about the rt-users mailing list