apache启动问题: Could not reliably determine the server's fully qualified domain name

[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 ]

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。