[rt-users] installation issue w/ RT 2: mod_perl + apache won't start
justin m. clayton
justincl at u.washington.edu
Thu Feb 14 13:11:09 EST 2002
While attempting to install RT 2.0.11, I find that I cannot start apache
after adding in the virtualhost block to my httpd.conf. The error is this:
<BEGIN PUKE>
perl_tie_hash: Can't locate object method "TIEHASH" via package
"Apache::Table" (perhaps you forgot to load "Apache::Table"?) at
/usr/local/pkgs/perl/lib/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm line
365.
[Thu Feb 14 09:57:08 2002] [error] Can't locate object method "get" via
package "Apache::Table" (perhaps you forgot to load "Apache::Table"?) at
/usr/local/pkgs/perl/lib/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm line
365.
Compilation failed in require at /usr/local/pkgs/rt2/bin/webmux.pl line
20.
BEGIN failed--compilation aborted at /usr/local/pkgs/rt2/bin/webmux.pl line 20.
Compilation failed in require at (eval 5) line 1.
Syntax error on line 944 of /usr/local/pkgs/apache/conf/httpd.conf: Can't
locate object method "get" via package "Apache::Table" (perhaps you forgot
to load "Apache::Table"?) at
/usr/local/pkgs/perl/lib/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm line
365.
Compilation failed in require at /usr/local/pkgs/rt2/bin/webmux.pl line
20.
BEGIN failed--compilation aborted at /usr/local/pkgs/rt2/bin/webmux.pl
line 20.
Compilation failed in require at (eval 5) line 1.
/usr/local/pkgs/apache/bin/apachectl start: httpd could not be started
</PUKE>
I know that Apache::Table is installed.
Someone told me to add this line to my mason handler:
use HTML::Mason::ApacheHandler(args_method=>'mod_perl');
But that didn't fix anything.
Someone else told me to create a mod_perl_startup.pl to be called by
apache and add the location of Apache.pm explicitly:
use lib qw(/usr/local/pkgs/perl/lib/site_perl/5.6.1/i686-linux);
1;
But that didn't work either.
If I run
perl -e 'use Apache::Table;'
it exits cleanly, so I know perl can find the module.
Any suggestions?
--
Justin Clayton
VLSI Research System Administrator
University of Washington
Electrical Engineering Dept
justincl at u.washington.edu
206/543.2523 EE/CSE 307F
More information about the rt-users
mailing list