[root@rusky]# service httpd start
Starting httpd: httpd: apr_sockaddr_info_get() failed for rusky
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
***********************
解决方法:
修改httpd.conf配置文件:
vi /etc/httpd/conf/httpd.conf 加入一句 ServerName localhost:80
重新启动正常:
[root@rusky]# service httpd stop
Stopping httpd: [ OK ]
[root@rusky]# service httpd start
Starting httpd: [ OK ]