foldrr's weblog

旧ブログ http://d.hatena.ne.jp/foldrr/

Apache で apr_sockaddr_info_get() failed for が発生する

service start httpd で以下のエラーが発生することがある。

httpd: apr_sockaddr_info_get() failed for xxxx.xxxx
Could not reliably determine the server's fully qualified domain name,

原因

  • /etc/hosts の設定忘れ。
  • /etc/sysconfig/network の設定忘れ。
  • service network restart の実行忘れ。
  • /etc/httpd/conf/httpd.conf の ServerName の設定忘れ。