最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
Ubuntu14.04启动Apache2报错AH00558问题解决办法
时间:2022-06-30 19:11:48 编辑:袖梨 来源:一聚教程网
在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导致的。
相关文章
- 幻兽帕鲁饲料箱怎么做 饲料箱制造方法介绍 07-31
- 燕云十六声天泉地位怎么晋升 天泉门派晋升方法 07-31
- 明末渊虚之羽龟纽金宝有什么用 龟纽金宝用途介绍 07-31
- 幻兽帕鲁怎么去掉无用词条 去掉无用词条方法介绍 07-31
- 人渣SCUM未安装EasyAntiCheat启动错误如何解决 解决方法一览 07-31
- 明末渊虚之羽羽族遗骸有什么用 羽族遗骸获取位置介绍 07-31