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

Randy Millis (Lists Acct.) rmillisl at fse.enel.ucalgary.ca
Fri Mar 1 15:57:52 EST 2002


Startring apache I get the following error:

 /etc/init.d/httpd start
Starting httpd: Syntax error on line 1465 of /etc/httpd/conf/httpd.conf:
Can't locate Apache/DBI.pm in @INC (@INC contains: /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl . /etc/httpd/ /etc/httpd/lib/perl) at (eval 3) line 3.

After adding the following to httpd.conf:

<VirtualHost xxx.xxx.xxx.xxx >
DocumentRoot /opt/rt2/WebRT/html
ServerName server.my.domain
PerlModule Apache::DBI
PerlFreshRestart On
PerlRequire /opt/rt2/bin/webmux.pl
<Location />
 SetHandler perl-script
 PerlHandler RT::Mason
</Location>
</VirtualHost>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20020301/2f270b86/attachment.htm>


More information about the rt-users mailing list