-   Linux - Software (
-   -   Apache2 with mod_perl not starting (

medic007 10-19-2007 02:02 PM

Apache2 with mod_perl not starting
Hi - fresh install of Apache2 running fine on my Kubuntu box. Managed to install PHP and SQL without trouble, but mod_perl is a different story. After running ./configure with APXS and make / make install, Apache refuses to start.

The output in the apache log is

Can't locate in @INC(@INC contains: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl . /usr/local/apache2) at (eval 2) line 3.\n

Can't load Perl module Apache2 for server, exiting...

Where did I go wrong? =P

vargadanis 10-20-2007 08:29 AM

Did you recompile apache with mod perl extensions?
If u have used apt-get it would work I belive. It does for me.
apt-get update
apt-get install apache2-mod-perl2

r0b0 10-20-2007 03:39 PM

Do you have the file It looks like it's missing. Try copying it to one of the paths it mentions. I think you missed some step in the installation...

medic007 10-20-2007 11:13 PM

Ooh, never mind...commenting out the offending line in the httpd.conf allows the server to start; and according to the system log, mod_perl 2.0.3 is installed correctly. All I need now is to test it.

All times are GMT -5. The time now is 12:44 AM.