Bug 715468

Summary: httpd.worker fails to start on boot
Product: [Fedora] Fedora Reporter: Joseph D. Wagner <joe>
Component: httpdAssignee: Joe Orton <jorton>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 15CC: jorton, pahan
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-10 01:51:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
httpd.conf none

Description Joseph D. Wagner 2011-06-23 00:59:24 UTC
Created attachment 506098 [details]
httpd.conf

Description of problem:
When configured to use worker instead of prefork, httpd does not start on boot.

Version-Release number of selected component (if applicable):
httpd-2.2.17-10.fc15.1.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Uncomment the line "HTTPD=/usr/sbin/httpd.worker" in /etc/sysconfig/httpd
2. Execute "systemctl enable httpd.service"
3. Reboot
  
Actual results:
systemctl status httpd.service says "failed"

Expected results:
systemctl status httpd.service should say "active"

Additional info:
I'll admit I'm a newbie, so I'm not sure where to start looking for this error.  Any help you can offer would be appreciated.

Comment 1 Joseph D. Wagner 2011-06-23 01:03:24 UTC
I want to clarify that it will start when using "systemctl restart httpd.service".

Comment 2 Joseph D. Wagner 2011-06-24 00:48:00 UTC
I confirmed that disabling NetworkManager and switching to the old network service allows httpd.worker to successfully start on boot.

Comment 3 Joe Orton 2011-11-10 01:51:38 UTC
With systemd, the different MPMs are different services, so you'd disable the httpd service and enable the httpd-worker service, rather than than tweak the sysconfig file.