LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 03-09-2010, 08:33 AM   #1
nicky77
LQ Newbie
 
Registered: Mar 2010
Posts: 16

Rep: Reputation: 0
Compiling LAMP from source - apache2 error “no MPM package installed”


Hi, I've compiled LAMP from source on a Ubuntu VPS. I had to remove a previously installed version of Apache then I manually compiled all the packages, which seems to have worked up unto a point - however, when I try to run commands like "/etc/init.d/apache2 restart" I get the following error - No apache MPM package installed. I have installed mpm-prefork so I don't know why i'm getting this problem. My configure command is as follows:

./configure --enable-so --enable-modules=most --with-mpm=prefork

I have deliberately not used apt-get to install anything and want to avoid this if possible.

Anyone have any guidance on how to resolve this error? Thanks in advance
 
Old 03-09-2010, 08:46 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

Why don't you run:
Code:
/usr/local/apache2/bin/apachectl start
and see if it works.
 
Old 03-09-2010, 09:19 AM   #3
nicky77
LQ Newbie
 
Registered: Mar 2010
Posts: 16

Original Poster
Rep: Reputation: 0
Hi Bathory, as you can see i've been battling to get this setup working! But thanks, your suggestion make sense of course - i was getting mixed up between the Ubuntu package of Apache (in /etc/) and the package i'd compiled from source in /usr/local. But at long last, I now have a phpinfo page showing the correct version of PHP i'd wanted (5.1.6). Major breakthrough! Hopefully i'll have a better understanding of linux and apache after this exercise
 
  


Reply



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
No apache MPM package installed error windom Linux - Desktop 1 02-02-2010 03:10 PM
Force remove apache2-mpm-prefork jchambers Linux - Newbie 4 04-20-2009 02:19 PM
Error compiling KTorrent from source: No KDE Headers Installed JamesHall Linux - Software 5 06-01-2006 03:35 AM
Replacing apache2-mpm-prefork iNeo Debian 1 02-06-2006 02:17 PM
Apache2 & prefork MPM, PHP4 XTJ7 Linux - Software 6 04-29-2004 02:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:52 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration