Apache conf problems with DBI.pm

I’ve only just subscribed to this list and I know from searching the
archives this is probably a common question, but I haven’t been able to
find the answer.

I’ve installed rt–2-0-5_03 and fixed all the dependencies (according to
testdeps) rt it installed successfully and now I’ve started configging
the apache virtualhost as it says in the README. I’ve basically copied
and pasted the virtualhost section from the readme and fixed the paths.
Now when I run “apachectl configtest” I get the following error:
root@lord [/usr/local/rt2/etc> apachectl configtest
Syntax error on line 1046 of /usr/local/etc/apache/httpd.conf:
Can’t locate Apache/DBI.pm in @INC (@INC contains:
/usr/local/lib/site_perl/5.00503/i386-freebsd
/usr/libdata/perl/5.00503/mach /usr/libdata/perl/5.00503
/usr/local/lib/perl5/site_perl/5.005/i386-freebsd
/usr/local/lib/perl5/site_perl/5.005 . /usr/local/ /usr/local/lib/perl)
at (eval 3) line 3.
But I have installed the DBI modules and am running apache 1.3.19_1 with
mod_perl on a freebsd 4.3-release box.

Anybody know what’s going wrong, and how to fix it?

Sjoerd Oostdijck Support Engineer

Some mornings, it’s just not worth chewing through the leather straps.

Make sure that when you resolved your dependencies, you didn’t inadvertantly
upgrade your Perl. From this output, it looks like your apache is using
perl 5.005_03. From the command line, type perl --version. If it’s not
5.005_03, that’s your problem – your modules got installed under the later
version.

Trevor Sky Garside
trevor@trevorsky.com----- Original Message -----
From: “Sjoerd Oostdijck” sjoerd@nl.demon.net
To: rt-users@lists.fsck.com
Sent: Friday, August 24, 2001 1:58 AM
Subject: [rt-users] apache conf problems with DBI.pm

I’ve only just subscribed to this list and I know from searching the
archives this is probably a common question, but I haven’t been able to
find the answer.

I’ve installed rt–2-0-5_03 and fixed all the dependencies (according to
testdeps) rt it installed successfully and now I’ve started configging
the apache virtualhost as it says in the README. I’ve basically copied
and pasted the virtualhost section from the readme and fixed the paths.
Now when I run “apachectl configtest” I get the following error:

root@lord [/usr/local/rt2/etc> apachectl configtest
Syntax error on line 1046 of /usr/local/etc/apache/httpd.conf:
Can’t locate Apache/DBI.pm in @INC (@INC contains:
/usr/local/lib/site_perl/5.00503/i386-freebsd
/usr/libdata/perl/5.00503/mach /usr/libdata/perl/5.00503
/usr/local/lib/perl5/site_perl/5.005/i386-freebsd
/usr/local/lib/perl5/site_perl/5.005 . /usr/local/ /usr/local/lib/perl)
at (eval 3) line 3.

But I have installed the DBI modules and am running apache 1.3.19_1 with
mod_perl on a freebsd 4.3-release box.

Anybody know what’s going wrong, and how to fix it?


Sjoerd Oostdijck Support Engineer

Some mornings, it’s just not worth chewing through the leather straps.


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Make sure that when you resolved your dependencies, you didn’t
inadvertantly upgrade your Perl. From this output, it looks like your
apache is using perl 5.005_03. From the command line, type perl
–version. If it’s not 5.005_03, that’s your problem – your modules
got installed under the later version.

Nope it still says I have perl 5.005_03 installed, so I don’t think
that’s the problem.

----- Original Message -----
From: “Sjoerd Oostdijck” sjoerd@nl.demon.net
To: rt-users@lists.fsck.com
Sent: Friday, August 24, 2001 1:58 AM
Subject: [rt-users] apache conf problems with DBI.pm

I’ve only just subscribed to this list and I know from searching the
archives this is probably a common question, but I haven’t been able
to find the answer.

I’ve installed rt–2-0-5_03 and fixed all the dependencies (according
to testdeps) rt it installed successfully and now I’ve started
configging the apache virtualhost as it says in the README. I’ve
basically copied and pasted the virtualhost section from the readme
and fixed the paths. Now when I run “apachectl configtest” I get the
following error: -----
root@lord [/usr/local/rt2/etc> apachectl configtest
Syntax error on line 1046 of /usr/local/etc/apache/httpd.conf:
Can’t locate Apache/DBI.pm in @INC (@INC contains:
/usr/local/lib/site_perl/5.00503/i386-freebsd
/usr/libdata/perl/5.00503/mach /usr/libdata/perl/5.00503
/usr/local/lib/perl5/site_perl/5.005/i386-freebsd
/usr/local/lib/perl5/site_perl/5.005 . /usr/local/
/usr/local/lib/perl) at (eval 3) line 3.

But I have installed the DBI modules and am running apache 1.3.19_1
with mod_perl on a freebsd 4.3-release box.

Anybody know what’s going wrong, and how to fix it?


Sjoerd Oostdijck Support
Engineer

Some mornings, it’s just not worth chewing through the leather
straps.


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Sjoerd Oostdijck Support Engineer

Some mornings, it’s just not worth chewing through the leather straps.

The readme tells you that you need to install Apache::DBI by hand.
Install Apache::DBI by hand.On Fri, Aug 24, 2001 at 10:58:25AM +0200, Sjoerd Oostdijck wrote:

I’ve only just subscribed to this list and I know from searching the
archives this is probably a common question, but I haven’t been able to
find the answer.

I’ve installed rt–2-0-5_03 and fixed all the dependencies (according to
testdeps) rt it installed successfully and now I’ve started configging
the apache virtualhost as it says in the README. I’ve basically copied
and pasted the virtualhost section from the readme and fixed the paths.
Now when I run “apachectl configtest” I get the following error:

root@lord [/usr/local/rt2/etc> apachectl configtest
Syntax error on line 1046 of /usr/local/etc/apache/httpd.conf:
Can’t locate Apache/DBI.pm in @INC (@INC contains:
/usr/local/lib/site_perl/5.00503/i386-freebsd
/usr/libdata/perl/5.00503/mach /usr/libdata/perl/5.00503
/usr/local/lib/perl5/site_perl/5.005/i386-freebsd
/usr/local/lib/perl5/site_perl/5.005 . /usr/local/ /usr/local/lib/perl)
at (eval 3) line 3.

But I have installed the DBI modules and am running apache 1.3.19_1 with
mod_perl on a freebsd 4.3-release box.

Anybody know what’s going wrong, and how to fix it?


Sjoerd Oostdijck Support Engineer

Some mornings, it’s just not worth chewing through the leather straps.


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

http://www.bestpractical.com/products/rt – Trouble Ticketing. Free.