最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
apache启动错误提示:httpd: Could not reliably determine the server
时间:2022-06-25 00:21:37 编辑:袖梨 来源:一聚教程网
错误提示
在系统启动时apache,没有启动起来,查看“事件查看器”发现报一些错误:
The Apache service named reported the following error:
>>> httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.0.200 for ServerName
解决办法
1)进入apache配置文件的目录:(视个人安装情况而不同)
[root@centos /]# cd /etc/httpd //我安装时配置文件所在的目录为/etc/httpd
2)编辑httpd.conf文件,搜索"#ServerName",添加ServerName localhost:80
| 代码如下 | 复制代码 |
|
#ServerName www.111com.net:80 |
|
更改为:
| 代码如下 | 复制代码 |
|
ServerName localhost:80 |
|
再重新启动apache 即可。
相关文章
- 悠星大陆深渊乱斗怎么玩 深渊乱斗玩法介绍 07-31
- 《遥遥西土》峡谷唱片全收集攻略分享 07-31
- 王者荣耀英雄技能攻略(掌握技能,成就传奇王者) 07-31
- DDR4-3600 vs DDR5-5600游戏实测:低延迟与高带宽谁更适合游戏 07-31
- PS6光追性能暴涨10倍 AI与高刷新率或成主打 07-31
- 灌篮军团满级的零怎么培养 满级的零培养一览 07-31