LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 10-19-2007, 03:02 PM   #1
medic007
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
Code:
Can't locate apache2.pm 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 www.tlfreborn.net:80, exiting...
Where did I go wrong? =P
 
Old 10-20-2007, 09:29 AM   #2
vargadanis
Member
 
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, 04:39 PM   #3
r0b0
Member
 
Registered: Aug 2004
Location: Europe
Posts: 602

Rep: Reputation: 49
Do you have the file apache2.pm? 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-21-2007, 12:13 AM   #4
medic007
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.
 
  


Reply

Tags
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 04:18 AM
apache2 mod_perl unkn0wn Debian 1 07-05-2006 03:08 AM
Help needed with Centos 4.2 Apache2.0.5X mod_perl And AxKit Chaot_s Linux - Software 0 02-10-2006 12:23 PM
starting Apache2 chucker8 Linux - Software 5 01-29-2006 06:03 PM
Apache2/mod_perl 2.0/Mason problem lowpro2k3 Linux - Software 0 08-08-2005 12:31 PM


All times are GMT -5. The time now is 07:59 PM.

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