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

Everett Littles eslittles at ucdavis.edu
Sun Jan 30 12:09:01 EST 2005


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




More information about the rt-users mailing list