apache が Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName エラーを出力する

Solution Verified - Updated -

Issue

  • httpd を起動すると以下のメッセージが表示されます。
`httpd`:"Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName"
  • Apache httpd configtest を実行すると以下のエラーメッセージが表示され、httpd が起動しません。
# service httpd configtest
httpd:Could not reliably determine the server's fully qualified domain name, using test.example.com for ServerName
Syntax OK

Environment

  • Red Hat Enterprise Linux (RHEL)
    • 6.4
  • Apache httpd 2.2.15

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.