[rt-users] Minor problem installing RT3 on RedHat 8

Gary Oberbrunner garyo at genarts.com
Fri Apr 25 11:23:04 EDT 2003


RedHat 8 comes with:
   httpd-2.0.40-8 (Apache2)
   mod_perl-1.99_05-3
and no fastcgi.

I am installing RT 3.0.2pre3, and ran into the following problem:

I have the following in conf.d/rt.conf:
   <VirtualHost *>
	Alias /rt /opt/rt3/share/html
         AddDefaultCharset UTF-8

         PerlModule Apache::DBI
         PerlRequire /opt/rt3/bin/webmux.pl

         <Location />
                 SetHandler perl-script
                 PerlHandler RT::Mason
         </Location>
   </VirtualHost>

but starting httpd, I got the following error:
% sudo /etc/init.d/httpd start
Starting httpd: [Fri Apr 25 11:06:21 2003] [error] Can't locate 
Apache.pm in @INC (@INC contains: /opt/rt3/lib /opt/rt3/local/lib 
/usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi 
/usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl 
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi 
/usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at 
/usr/lib/perl5/5.8.0/CGI.pm line 161.
Compilation failed in require at /opt/rt3/bin/webmux.pl line 41.
BEGIN failed--compilation aborted at /opt/rt3/bin/webmux.pl line 41.
Compilation failed in require at (eval 2) line 1.

[Fri Apr 25 11:06:21 2003] [error] Can't load Perl file: 
/opt/rt3/bin/webmux.pl for server penguin.genartsi.com:0, exiting...

I had to upgrade my CGI.pm from 2.81 (default, I believe) to 2.91 to fix 
this problem.  Maybe this version of CGI.pm should be included in the 
dependency list for RT3.0.2, at least if the installed versions of 
Apache and mod_perl are as above?



-- 
. . . . . . . . . . . . . . . . . . . . . . . . .
Gary Oberbrunner                garyo at genarts.com
GenArts, Inc.                   Tel: 617-492-2888
8 Clinton Street                Fax: 617-492-2852
Cambridge, MA 02139 USA         http://web.genarts.com





More information about the rt-users mailing list