root@zabbixserv:# /etc/init.d/apache2 restart
* Restarting web server apache2
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using IP. Set the 'ServerName' directive globally to suppress this message [ OK ]
解决方案:
1.vi /etc/apache2/apache2.conf
在此文件内增加 ServerName IP
2.重新启动
root@zabbixserv:# /etc/init.d/apache2 restart
* Restarting web server apache2 [ OK ]
本文介绍了解决Apache2无法可靠地确定服务器全限定域名的问题。通过在配置文件中设置ServerName指令,并重新启动服务来解决此问题。
4763

被折叠的 条评论
为什么被折叠?



