Warning message

This translation is outdated. For the most up-to-date information, please refer to the English version.

システムの起動時に httpd.service が起動できず Cannot assign requested address: AH00072: make_sock: could not bind to address エラーが発生する

Solution Verified - Updated -

Issue

以下の 2 つの条件が満たされると、システムの起動時に httpd.service が起動できません。

  • 特定の IP アドレスで httpd がリッスンするように設定されている
  • NetworkManager.service が無効になっている

システムの起動時に httpd サービスを起動しようとする際に、以下のメッセージが発生します。

httpd: (99)Cannot assign requested address: AH00072: make_sock: could not bind to address 12.34.56.78:80
httpd: no listening sockets available, shutting down
httpd: AH00015: Unable to open logs
systemd: httpd.service: main process exited, code=exited, status=1/FAILURE
kill: kill: cannot find process ""
systemd: httpd.service: control process exited, code=exited status=1
systemd: Failed to start The Apache HTTP Server.
systemd: Unit httpd.service entered failed state.
systemd: httpd.service failed.

Environment

  • Red Hat Enterprise Linux 7.3
    • httpd-2.4.6-45.el7.x86_64
    • NetworkManager-1.4.0-12.el7.x86_64

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.