Bug 715468 - httpd.worker fails to start on boot
Summary: httpd.worker fails to start on boot
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: httpd
Version: 15
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Joe Orton
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-23 00:59 UTC by Joseph D. Wagner
Modified: 2011-11-10 01:51 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-11-10 01:51:38 UTC
Type: ---


Attachments (Terms of Use)
httpd.conf (33.63 KB, application/octet-stream)
2011-06-23 00:59 UTC, Joseph D. Wagner
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.