[rt-users] Installation woes
Chris Dunning
chris at bluenoteweb.com
Fri Feb 3 09:18:34 EST 2006
I'm trying to get RT up and running on my server, it's been interesting
to say the least.
I finally made it through "make testdeps" by compiling a few of the Perl
modules by hand. When I made the addition to httpd.conf and restarted
Apache, I saw this in the error log and Apache refused to start:
> [Thu Feb 02 23:24:33 2006] [error] Can't locate loadable object for
> module Apache::Constants in @INC (@INC contains:
> /usr/lib/perl5/5.8.3/i386-linux-thread-multi /usr/lib/perl5/5.8.3
> /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2
> /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0
> /usr/lib/perl5/site_perl
> /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2
> /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0
> /usr/lib/perl5/vendor_perl . /etc/httpd/ /etc/httpd/lib/perl) at
> /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/mod_perl.pm line
> 14\nCompilation failed in require at
> /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/Apache.pm line
> 6.\nBEGIN failed--compilation aborted at
> /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/Apache.pm line
> 6.\nCompilation failed in require at /usr/lib/perl5/5.8.3/CGI.pm line
> 189.\nCompilation failed in require at /opt/rt3/bin/webmux.pl line
> 56.\nBEGIN failed--compilation aborted at /opt/rt3/bin/webmux.pl line
> 56.\nCompilation failed in require at (eval 2) line 1.\n
The first thing to try was installing Apache::Constants:
> cpan> install Apache::Constants
> CPAN: Storable loaded ok
> Going to read /root/.cpan/Metadata
> Database was generated on Thu, 02 Feb 2006 22:14:25 GMT
> Apache::Constants is up to date (1.09).
>
I went to /usr/lib/perl5 and ran the command:
ls -lR | grep -i apache
This showed me a lot of output, including this:
> ./site_perl/5.8.0/i386-linux-thread-multi/Apache:
> ./site_perl/5.8.0/i386-linux-thread-multi/Apache/Constants:
Looks like the Apache::Constants module is installed in
./site_per/5.8.0/i386-linux-thread-multi/ which is in the @INC list above.
Here's some information that may be pertinent:
-The server runs CentOS 3
-Using Apache 2
-DirectAdmin control panel manages most things
-RT was the latest version when I downloaded it a few days ago
What should I try next?
More information about the rt-users
mailing list