I have installed mod_perl 1.3 and Apache 1.39 on a CentOS 5 system in
order get Request Tracker running. When I attempt to start apache I get
the following error:

 

Syntax error on line 969 of /usr/local/apache/conf/httpd.conf: Can't
locate Apache/DBI.pm in @INC 

 

(@INC contains: 

/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi 

/usr/lib/perl5/site_perl/5.8.8 

/usr/lib/perl5/site_perl 

/usr/lib/perl5/vendor_perl/5.8.8/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 

/usr/lib/perl5/5.8.8/i386-linux-thread-multi 

/usr/lib/perl5/5.8.8 . 

/usr/local/apache/ 

/usr/local/apache/lib/perl) at (eval 7) line 3.

__________________________________________________

 

I have located the file in the following directories:

 

/opt/.cpan/build/Apache-Session-1.84-Ad18Dp/Session/Store/DBI.pm

/opt/.cpan/build/Apache-Session-1.84-Ad18Dp/blib/lib/Apache/Session/Stor
e/DBI.pm

/usr/lib/perl5/site_perl/5.8.8/Apache/Session/Store/DBI.pm

/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/DBI.pm

/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/Bundle/DBI.pm

 

I have tried copying the file to
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Apache directory.
Apache starts but it throws a lot of strange errors which makes me think
manually copying the file is not the correct way to resolve the error.

 

 

My httpd.conf file looks like this:

 

<VirtualHost *:80>

   ServerName support.fakename.com

   DocumentRoot /opt/rt3/share/html

   AddDefaultCharset UTF-8

 

# this line applies to Apache2+mod_perl2 only

# Below line might be incorrect, I had to use:

#     PerlModule Apache2::compat

# mod_perl 2.0.1 from FC4 Linux

# PerlModule Apache2 Apache::compat

 

 PerlModule Apache::DBI

 PerlRequire /opt/rt3/bin/webmux.pl

 

   <Location />

       SetHandler perl-script

       PerlHandler RT::Mason

   </Location>

</VirtualHost>

 

 

Anyone know what might be the problem?

 

Thanks,

 

Mike

 

_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we'll take
up to 20 percent off the price. This sale won't last long, so get in touch 
today. 
    Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.


Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Reply via email to