Translated message

A translation of this page exists in English.

システムの起動時に 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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content