在Ubuntu14.04启动Apache时出现了,如下错误。
# service apache2 reload
* Restarting web server apache2
AH00557: apache2: apr_sockaddr_info_get() failed for zabbix.cc
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message
[ OK ]
# vi /etc/apache2/conf-available/servername.conf
ServerName localhost
# a2enconf servername
Enabling conf servername.
To activate the new configuration, you need to run:
service apache2 reload
再次重启Apache2,不提示错误了。
# service apache2 restart
* Restarting web server apache2 [ OK ]
当没有指定ServerName时,Apache会尝试通过IP地址解析ServerName导致的。
deepin20语音记事本在哪? deepin语音记事本的使用方法
deepin20隐藏文件怎么取消隐藏? deepin显示隐藏文件的方法
deepin20系统监视器怎么打开? deepin打开系统监视器的三种方法
linux系统中sed命令怎么用? sed锁定某一行数据进行替换的技巧
deepin20怎么下载安装code blocks?
deepin20怎么打开多个终端窗口? deepin打开终端命令窗口的技巧