[rt-users] 500: Internal Server Errors and RT/Mason.pm
Josh Frome
jfrome at maildev.slcpl.org
Mon Apr 21 16:10:16 EDT 2008
Hello everyone,
I am experiencing a perplexing problem trying to install 3.6.6. I am getting the "Can't locate RT/Mason.pm in @INC" error in my httpd logs, and a 500- Internal Server Error. I have made sure to include "PerlRequire /opt/rt3/bin/webmux.pl" in httpd conf. I'm at a loss as to how to continue troubleshooting this. Below, I have attached some logs. Does anyone have any pointers for troubleshooting this some more?
Josh--
(logs below)
from httpd error_log:
[Mon Apr 21 14:08:27 2008] [error] [client hostname] failed to resolve handler `RT::Mason': Can't locate RT/Mason.pm in @INC (@INC contains: /opt/rt3/local/lib /opt/rt3/lib /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 . /etc/httpd) at (eval 209) line 3.\n
HTML::Mason appears to be installed:
# find / -name Mason.pm
/usr/share/doc/perl-HTML-Mason-1.37/eg/MyApp/Mason.pm
/usr/lib/perl5/vendor_perl/5.8.8/HTTP/Server/Simple/Mason.pm
/usr/lib/perl5/vendor_perl/5.8.8/Apache/Mason.pm
/usr/lib/perl5/vendor_perl/5.8.8/Bundle/HTML/Mason.pm
/usr/lib/perl5/vendor_perl/5.8.8/HTML/Mason.pm
failed to resolve handler `RT::Mason': Can't locate RT/Mason.pm in @INC (@INC contains:
/opt/rt3/local/lib
/opt/rt3/lib
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.8
/usr/lib/perl5/site_perl/5.8.7
/usr/lib/perl5/site_perl/5.8.6
/usr/lib/perl5/site_perl/5.8.5
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.8
/usr/lib/perl5/vendor_perl/5.8.7
/usr/lib/perl5/vendor_perl/5.8.6
/usr/lib/perl5/vendor_perl/5.8.5
usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/5.8.8
. /etc/httpd) at (eval 210) line 3.\n
from httpd.conf:PerlRequire /opt/rt3/bin/webmux.pl
# VirtualHost configuration for RT 3.6.6
<VirtualHost *:80>
ServerName servername
DocumentRoot /opt/rt3/share/html
AddDefaultCharset UTF-8
LogLevel debug
ErrorLog /var/log/httpd/servername/error_log
TransferLog /var/log/httpd/servername/access_log
PerlModule Apache::DBI
PerlRequire /opt/rt3/bin/webmux.pl
<Location /NoAuth/images>
SetHandler default
</Location>
<Directory /opt/rt3/share/html>
Order allow,deny
Allow from all
Options All
AllowOverride all
<Files *.*>
SetHandler perl-script
PerlHandler RT::Mason
</Files>
</Directory>
</VirtualHost>
More information about the rt-users
mailing list