AH00558: apache2: Could not reliably determine the server's fully qualified doma

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 ]

你可能感兴趣的:(apache,apache2)