apache が Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName エラーを出力する
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, tools, and much more.