apache无法重启解决方案

来源:luqidong 发布时间:2014-01-09 21:43:32 点击数:

apache 无法重启出现这个错误:

Could not reliably determine the server's fully qualified domain name?

这个问题的解决方案其实很简单,我们只要找到etc/apache2/httpd.conf  这个文件,

然后用vi命令进行编辑,vi etc/apache2/httpd.conf  

78OA办公系统

里面的内容是空的,我们按i进行编辑:增加一行:

ServerName localhost 

然后再按esc见输入wq保存推出。之后在输入/etc/init.d/apache2 restart  重启

78OA办公系统