Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-19-2007, 02:02 PM   #1
LQ Newbie
Registered: Mar 2007
Location: Vancouver B.C.
Distribution: Kubuntu
Posts: 4

Rep: Reputation: 0
Unhappy 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
Old 10-20-2007, 08:29 AM   #2
Registered: Sep 2006
Posts: 248

Rep: Reputation: 30
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
Old 10-20-2007, 03:39 PM   #3
Registered: Aug 2004
Location: Europe
Posts: 602

Rep: Reputation: 49
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...
Old 10-20-2007, 11:13 PM   #4
LQ Newbie
Registered: Mar 2007
Location: Vancouver B.C.
Distribution: Kubuntu
Posts: 4

Original Poster
Rep: Reputation: 0
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.


apache2, apxs, modperl

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help can't get Apache2 with mod_perl to work rforrister Ubuntu 1 04-12-2007 03:18 AM
apache2 mod_perl unkn0wn Debian 1 07-05-2006 02:08 AM
Help needed with Centos 4.2 Apache2.0.5X mod_perl And AxKit Chaot_s Linux - Software 0 02-10-2006 11:23 AM
starting Apache2 chucker8 Linux - Software 5 01-29-2006 05:03 PM
Apache2/mod_perl 2.0/Mason problem lowpro2k3 Linux - Software 0 08-08-2005 11:31 AM

All times are GMT -5. The time now is 04:25 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration