关注互联网与Web前端技术,这里是我记录网上折腾与生活感悟的地方.

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 ServerName

原因

httpd.conf 文件未配置ServerName

解决办法

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

1.
vim /etc/apache2/httpd.conf

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

3.重启apache
service httpd restart

未经允许不得转载:Yusky » httpd: Could not reliably determine the server’s fully qualified domain name, using server.abc.com for ServerName

分享到:更多 ()

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址