[rt-users] Error starting Apache...

Bruce Campbell bruce_campbell at ripe.net
Sat Feb 2 14:43:41 EST 2002


On Sat, 2 Feb 2002, Olav [ISO-8859-1] Lindkjølen wrote:

> Anyway when I try to start up Apache i get the following error:
> =======================Start error message
> Starter httpd: Syntax error on line 750 of /etc/httpd/conf/httpd.conf:
> Can't locate Apache/DBI.pm in @INC (@INC contains:

>      PerlModule Apache::DBI #<-----line 750

In one of your @INC directories, there should be a subdirectory named
'Apache'.  In that directory, DBI.pm should exist.  If it does, you have a
permissions problem (the user running the web server must be able to read
the file, and have at least execute permission on all directories leading
to where the file is).

You can find the file by invoking 'locate', ie:  (note that not any old
DBI.pm will do, we want one in a directory named 'Apache')

	locate DBI.pm | grep Apache

If that doesn't work, brute force will:

	find / -path \*Apache/DBI.pm -print

If you really don't have Apache/DBI.pm, you need to install it manually,
via:

	perl -MCPAN -e'install Apache::DBI'

( you will probably also need to rinse and repeat for Apache::Session.
  See http://www.fsck.com/rtfm/ and search for 'Apache::' )

> /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 4)
> line 3.

Regards,


-- 
                             Bruce Campbell                            RIPE
                   Systems/Network Engineer                             NCC
                 www.ripe.net - PGP562C8B1B                      Operations





More information about the rt-users mailing list