Apache httpd attempts to start before the network has started
Issue
- After reboot, Httpd attempts to start before networking on the host has started (resulting in failure).
- After reboot, Httpd fails to start.
- How can I make the Httpd service dependent on the network services?
- Apache httpd attempts to start before the network has started and fails with error like as follows.
httpd[1958]: no listening sockets available, shutting down
httpd[1958]: (99)Cannot assign requested address: AH00072: make_sock: could not bind to address xx.yy.zz.aa:80
systemd[1]: httpd.service: Failed with result 'exit-code'.
systemd[1]: httpd.service: Main process exited, code=exited, status=1/FAILURE
Environment
- Red Hat Enterprise Linux (RHEL) 8.x
- Apache httpd 2.4.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.