[rt-users] RT2 installation problem: Can't locate RT/Mason.pm

Ferguson, Kevin KFerguso at chi.navtech.com
Fri Jan 25 14:24:46 EST 2002


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.

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


ttfn,
kevin



> -----Original Message-----
> From: Phil Temples [mailto:ptemples at temples.com]
> Sent: Monday, January 21, 2002 1:16 PM
> To: rt-users at lists.fsck.com
> Subject: [rt-users] 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
> 5.6.1.  
> 
> 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 at 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
>     <Location />
> 	SetHandler perl-script
> 	PerlHandler RT::Mason
>     </Location>
> </VirtualHost>
> 
> 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:
> 
> /usr/local/lib/perl5/site_perl/5.6.1/HTML/Mason.pm
> /usr/local/lib/perl5/site_perl/5.6.1/Apache/Mason.pm
> /usr/local/lib/perl5/site_perl/5.6.1/Bundle/HTML/Mason.pm
> 
> --
> 
> 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
> 
> --
> Phil Temples <phil at temples dot com>
> 
> 
> 
> _______________________________________________
> rt-users mailing list
> rt-users at lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-users
> 




More information about the rt-users mailing list