LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-29-2014, 11:29 AM   #1
rshepard
Member
 
Registered: Oct 2007
Location: Troutdale, Oregon
Distribution: Slackware
Posts: 159

Rep: Reputation: 16
AH00534: httpd: Configuration error: No MPM loaded.


Last evening I applied the newly released httpd patch on -14.1. This morning I tweaked /etc/httpd/httpd.conf to add back the site-specific includes and tried to restart the processes. Cannot start httpd because of the subject line: AH00534: httpd: Configuation error: no MPM loaded.

The only references to MPM I see in httpd.conf are:
#LoadModule mpm_event_module lib/httpd/modules/mod_mpm_event.so
which was commented out because that library was not found and

Include /etc/httpd/extra/httpd-mpm.conf

Could this be due to my overwriting the new httpd.conf with the locally modified version that worked here? If so, I'll go to the mirror and re-install the patch.

TIA,

Rich
 
Old 03-29-2014, 11:39 AM   #2
55020
Member
 
Registered: Sep 2009
Location: Yorks. W.R. 167397
Distribution: Slackware
Posts: 829
Blog Entries: 4

Rep: Reputation: 956Reputation: 956Reputation: 956Reputation: 956Reputation: 956Reputation: 956Reputation: 956Reputation: 956
To merge the httpd.conf.new correctly, you need to replace the old line

LoadModule mpm_event_module lib64/httpd/modules/mod_mpm_event.so

with the new line

LoadModule mpm_worker_module lib64/httpd/modules/mod_mpm_worker.so
 
1 members found this post helpful.
Old 03-29-2014, 11:55 AM   #3
rshepard
Member
 
Registered: Oct 2007
Location: Troutdale, Oregon
Distribution: Slackware
Posts: 159

Original Poster
Rep: Reputation: 16
Found and solved the problem: I had neglected to copy httpd.conf.new to httpd.conf, then adjust ServerAdmin and ServerName, and add in the two includes I need. Once I did this there were no issues starteing httpd.

Thanks,

Rich
 
Old 03-29-2014, 07:25 PM   #4
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 3,205

Rep: Reputation: 722Reputation: 722Reputation: 722Reputation: 722Reputation: 722Reputation: 722Reputation: 722
This will be fixed on the next update as well
 
Old 09-20-2015, 09:10 AM   #5
rshepard
Member
 
Registered: Oct 2007
Location: Troutdale, Oregon
Distribution: Slackware
Posts: 159

Original Poster
Rep: Reputation: 16
AH00534: httpd: Configuration error: No MPM loaded.

This issue is back. Had to reboot this host yesterday (14.1/x86); it's current on all patches. When I try to access a local application the subject error message appears when I restart httpd. The earlier version of this thread does not provide a solution.

Changing the MPM module from _event to _worker throws a different error. ServerAdmin and ServerName are correct.

I've rebooted this host a couple of times since the original thread with no problem reaching an included application. My Web seardhes find this thread to be the only applicable one since each hit is distribution-specific. Not having any idea what might be the problem this time I'd greatly appreciate your thoughts on how to get this repaired ASAP.

TIA,

Rich
 
Old 09-20-2015, 09:56 AM   #6
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 3,205

Rep: Reputation: 722Reputation: 722Reputation: 722Reputation: 722Reputation: 722Reputation: 722Reputation: 722
please give the output when starting httpd from command line
 
Old 09-21-2015, 10:07 AM   #7
rshepard
Member
 
Registered: Oct 2007
Location: Troutdale, Oregon
Distribution: Slackware
Posts: 159

Original Poster
Rep: Reputation: 16
Willy,

[root@salmo ~]# /etc/rc.d/rc.httpd restart
AH00534: httpd: Configuration error: No MPM loaded.

I will send httpd.conf if you wish.

Thanks,

Rich
 
Old 09-21-2015, 12:55 PM   #8
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 3,205

Rep: Reputation: 722Reputation: 722Reputation: 722Reputation: 722Reputation: 722Reputation: 722Reputation: 722
i think it's better to paste it somewhere public if you don't mind
 
Old 09-21-2015, 07:21 PM   #9
rshepard
Member
 
Registered: Oct 2007
Location: Troutdale, Oregon
Distribution: Slackware
Posts: 159

Original Poster
Rep: Reputation: 16
I finally remembered to look in the error_log. For some reason now the line in httpd.conf for mod_ldap needs to be uncommented (although I don't use ldap here). Regardless, now httpd starts.

The local accounting application does not correctly load, but that's an issue for that mail list, not here.

Thanks, Willy,

Rich
 
  


Reply

Tags
httpdconf


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
Compiling LAMP from source - apache2 error “no MPM package installed” nicky77 Linux - Software 2 03-09-2010 09:19 AM
No apache MPM package installed error windom Linux - Desktop 1 02-02-2010 03:10 PM
Starting httpd: httpd: Syntax error on line 209 of /etc/httpd/conf/httpd.conf: Syntax sethukpathi Linux - Networking 6 04-12-2008 11:26 AM
what should i set in worker MPM and prefork MPM? modpriest Linux - Newbie 5 02-21-2008 06:25 PM
Failed to start apache :Starting httpd: Syntax error on line 1027 of /etc/httpd/conf/ payjoe Linux - Newbie 3 09-21-2007 07:24 AM


All times are GMT -5. The time now is 04:42 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration