RT2 installation problem: Can't locate RT/Mason.pm

Hi all,

I’ve searched several of the list archives, but I haven’t hit upon an RTFMable
answer yet.

I’m trying to install a new RT2.0 on a Solaris 8 box using Perl

I’ve confirmed via ‘make testdeps’ that I’ve satisified all dependencies.
The install of mod_perl (1.26) and Apache (1.3.20) went without incident.

I am using the following Virtual Server directive in my httpd.conf file:

<VirtualHost *>
ServerName rt.foobar.com
ServerAdmin webmaster@foobar.com
DocumentRoot /opt/rt2/bin/webmux.pl
ErrorDocument 404 /notfound.html
ErrorLog logs/foobar.com-error_log
CustomLog logs/foobar.com-access_log common

SetHandler perl-script
PerlHandler RT::Mason

When I fire up the server and access http://rt.foobar.com, I see the
following in the foobar.com-error_log:

[Mon Jan 21 13:45:15 2002] [error] Can’t locate RT/Mason.pm in @INC (@INC contains: /usr/local/lib/perl5/5.6.1/sun4-solaris /usr/local/lib/perl5/5.6.1 /usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris /usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl . /usr/local/apache/ /usr/local/apache/lib/perl) at (eval 7) line 3.

[Mon Jan 21 13:45:15 2002] [error] Undefined subroutine &RT::Mason::handler called.

A `find’ for Mason.pm yields:


Should Mason.pm “live” under a directory called RT instead of HTML?

Another question: I see references requiring suidperl. I do not have that
executable installed on my system. Nor can I find any references on the web
as to its source. The RT/FM Installation Guide talks about reconfiguring my
Perl setup to support “setuid scripts.” Any pointers on how this is done?

Thanks in advance,


Phil Temples

Hi Phil,

Looks like you mixed up a couple of your directives. The DocumentRoot
is supposed to be a path, not a file. The webmux.pl is part of the
PerlRequire directive. Here is a Vhosts example from the installation
guide. HTH.

DocumentRoot /path/to/rt2/WebRT/html ServerName rt.example.com PerlModule Apache::DBI PerlFreshRestart On PerlRequire /path/to/rt2/bin/webmux.pl SetHandler perl-script PerlHandler RT::Mason