[rt-users] Can't locate Apache/DBI.pm in @INC

Ruslan U. Zakirov Ruslan.Zakirov at acronis.com
Sun Jan 30 14:36:25 EST 2005


Because you've upgraded your perl from 5.8.1 to 5.8.6 and didn't rebuilt 
mod_perl. See http://wiki.bestpractical.com/?CompilingPerl

Everett Littles wrote:
> When I attempt to load Apache I get the following error message:
> 
> Syntax error on line 1078 of /etc/httpd/httpd.conf:
> Can't locate Apache/DBI.pm in @INC (@INC contains: /sw/lib/perl5 
> /sw/lib/perl5 /System/Library/Perl/5.8.1/darwin-thread-multi-2level 
> /System/Library/Perl/5.8.1 
> /Library/Perl/5.8.1/darwin-thread-multi-2level /Library/Perl/5.8.1 
> /Library/Perl /Network/Library/Perl/5.8.1/darwin-thread-multi-2level 
> /Network/Library/Perl/5.8.1 /Network/Library/Perl . /usr/ /usr/lib/perl) 
> at (eval 3) line 3.
> 
> /usr/sbin/apachectl start: httpd could not be started
> 
> This happened after I added the following code:
> 
> <VirtualHost 127.0.0.1>
> ServerName rt3.localhost
> DocumentRoot /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>
> 
> 
> I have Apache::DBI installed, and I am using Perl 5.8.6, so I am 
> wondering why I am getting this error message, and why I see Perl 5.8.1 
> in my @INC path.
> 
> Line 1078 in my httpd.conf is:
> PerlRequire /opt/rt3/bin/webmux.pl
> 
> Any clues?
> 
> Thanks
> 
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> 
> RT Administrator and Developer training is coming to your town soon! 
> (Boston, San Francisco, Austin, Sydney) Contact 
> training at bestpractical.com for details.
> 
> Be sure to check out the RT Wiki at http://wiki.bestpractical.com




More information about the rt-users mailing list