httpd: Could not reliably determine the server’s fully qualified domain name, using server.abc.com for ServerName

httpd: Could not reliably determine the server’s fully qualified domain name, using server.abc.com for ServerName

问题

Stopping httpd:                                            [  OK  ]
Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using server.abc.com for 

原因

httpd.conf 文件未配置ServerName

找到httpd.conf文件编辑(请根据自己编译的路径查找)

1.
vim /etc/2/httpd.conf

2.#添加此内容到 httpd.conf: 
ServerName localhost

3.重启apache
service httpd restart
分享到 :
相关推荐

Leave a Reply

Your email address will not be published. Required fields are marked *