Warning message

  • This translation is outdated. For the most up-to-date information, please refer to the English version.
  • A translation for your language preference does not exist.

Apache を起動する際に "httpd: apr_sockaddr_info_get() failed for domain.com" エラーを取得します

Solution Unverified - 업데이트됨 - 한국어 번역 요청

환경

  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 6
  • Apache v2

문제

  • Apache サービスを開始すると以下のエラーを取得します。

    /etc/init.d/httpd restart
    Stopping httpd:                                            [  OK  ]
    Starting httpd: httpd: apr_sockaddr_info_get() failed for domain.com
    httpd:Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName    [  OK  ]
    

해결

  • サーバーに対して FQDN を設定します。FQDN の例は、"host.domain.com" のようになります。

または、

  • Apache に対して "ServerName" を設定します。"ServerName" を設定するには、"/etc/httpd/conf/httpd.conf" に以下を設定します。

    ServerName host.domain.com:80
    

근본 원인

ホスト名が FQDN フォーマットではなく、Apache が "ServerName" を設定できない場合は、デフォルトで "hostname" を "ServerName" として設定します。

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

댓글