Solved

Compiling Apache with the 'prefork' or 'worker' MPM

Posted on 2008-10-17
1
2,834 Views
Last Modified: 2013-12-06
While trying to install Phusion Passenger ( http://www.modrails.com/ ) , I came across the following message:
WARNING: Apache doesn't seem to be compiled with the 'prefork' or 'worker' MPM

Passenger has only been tested on Apache with the 'prefork' and the 'worker'
MPM. Your Apache installation is compiled with the '' MPM. We recommend
you to abort this installer and to recompile Apache with either the 'prefork'
or the 'worker' MPM.

When I try to continue the installation , all seems to go well, however, after updating my apache configuration , I get the following error :
Syntax error on line 1321 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/lib/ruby/gems/1.8/gems/passenger-2.0.3/ext/apache2/mod_passenger.so into server: /usr/lib/ruby/gems/1.8/gems/passenger-2.0.3/ext/apache2/mod_passenger.so: undefined symbol: apr_bucket_destroy_noop
/usr/sbin/httpd start: httpd could not be started


So, I now suppose that it may be the best to recompile apache with one of those "MPM"s, however, I don't have experience with compiling apache, let alone with extra items.

Extra Information, from phpinfo file:
APACHE_INCLUDE       no value
APACHE_TARGET       no value
Apache Version       Apache/1.3.39 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.4.7 FrontPage/5.0.2.2635.SR1.2
Apache Release       10339100
Apache API Version       19990320
User/Group       nobody(99)/99
Max Requests       Per Child: 0 - Keep Alive: on - Max Per Connection: 500
Timeouts       Connection: 50 - Keep-Alive: 15
Server Root       /usr/local/apache
Loaded Modules       mod_auth_passthrough, mod_log_bytes, mod_bwlimited, mod_php4, mod_frontpage, mod_setenvif, mod_so, mod_expires, mod_auth, mod_access, mod_rewrite, mod_alias, mod_userdir, mod_actions, mod_imap, mod_asis, mod_cgi, mod_dir, mod_autoindex, mod_include, mod_status, mod_negotiation, mod_mime, mod_log_config, mod_env, http_core

Thanks!
0
Comment
Question by:GertoWS
1 Comment
 
LVL 27

Accepted Solution

by:
caterham_www earned 500 total points
ID: 22748268
> /ext/apache2/mod_passenger.so

Are you trying to load a module designed for apache2 into apache 1.3.39? It's very likely that this will fail, since there are many changes between apache 1.3 API and 2.x API which require code changes in your 3rd party module.

MPMs (Multi-Processing-Module) were introduced with apache2.0.
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Linux SSH Error 9 91
Expand a partition in Centos 7 Linux with Virtualmin 1 56
Only allow one site in Internet Explorer on XenApp. 9 51
Mysql Crashing Intermittently 16 82
Over the last year I have answered a couple of basic URL rewriting questions several times so I thought I might as well have a stab at: explaining the basics, providing a few useful links and consolidating some of the most common queries into a sing…
This document is written for Red Hat Enterprise Linux AS release 4 and ORACLE 10g.  Earlier releases can be installed using this document as well however there are some additional steps for packages to be installed see Metalink. Disclaimer: I hav…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now