httpd: apr_sockaddr_info_get() failed for への対応

Posted on Posted in 開発Tips

Apacheをインストールして実行したら以下のエラーが発生。
httpd: apr_sockaddr_info_get() failed for www6.xxxxxxxx.com
httpd: Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1 for ServerName

サーバ名が見当たらないみたい。

原因は /etc/sysconfig/network に書いてある HOSTNAME が見つからないとのこと。
/etc/hosts の 127.0.0.1 の部分に www6.xxxxxxxx.com www6と記述したらOKです。

Linux,Apache,PHP,MySQLでWebシステム開発はシステムインテグレートにご相談下さい。
http://www.system-integrate.com

iPhone開発,iPad開発はシステムインテグレートにご相談下さい。
http://www.system-integrate.com