Red Hat Bugzilla – Bug 986426
httpd won't start when nscd is running
Last modified: 2013-08-09 13:10:36 EDT
Description of problem:
httpd does not start when the nscd service is enabled.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. enable the httpd service
2. enable the nscd service
3. reboot the system
Httpd is not running, /var/log/httpd/error_log shows:
[unique_id:alert] [pid 1011] (EAI 2)Name or service not known: AH01564: unable to find IPv4 address of "cholla.mmto.arizona.edu"
httpd would just start up.
If I do systemctl disable nscd.service and reboot, voila, I get httpd running.
I am filing this under systemd because this smells like some kind of race in
the way services get started in parallel, but I could be entirely wrong.
The workaround is to not run nscd, or to start either httpd or nscd by hand
after the system boots -- provided you are around and alert and remembering to
do do when the system boots.
I have only started noticing this with Fedora 19, but it could have been lurking
with Fedora 18 as I rarely rebooted my system prior to the F19 upgrade. No way to tell at this time.
(In reply to Tom Trebisky from comment #0)
> I am filing this under systemd because this smells like some kind of race in
> the way services get started in parallel,
A race it may be, but first the problem should be looked at by the maintainers of the services involved. systemd just starts what it's told and it upholds the ordering dependencies expressed in unit files.
>[unique_id:alert] [pid 1011] (EAI 2)Name or service not known: AH01564: unable to find IPv4 address of "cholla.mmto.arizona.edu"
This is known problem we have fixed upstream and in rawhide already. There should be httpd-2.4.6 release soon (maximally in days). If it's not urgent, I would wait for the 2.4.6 release which we want to push into F19 too.
httpd-2.4.6-2.fc19 has been submitted as an update for Fedora 19.
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing httpd-2.4.6-2.fc19'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
httpd-2.4.6-2.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.