Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name 解决
原文地址: http://digitaldeviation.com/articles/linux/apache-error-could-not-reliably-determine-the-servers-fully-qualified-domain-name
When starting Apache for the first time or after a networking change you get the following error:
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
This message is more of a warning than an error. If you check your running processes you will see the httpd process running. Basically Apache is telling you that it doesn't know the host name of your server. This is a simple fix.
Note that the instructions below are for CentOS/Redhat. They may be similar for your distro. You will need to know your IP address and the host name for your server. I will use Server1.example.com as the host name and 192.168.20.100 as the IP address.
- Edit /etc/hosts using your favorite editor The contents should look something like this:# Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1 localhost.localdomain localhost ::1 localhost6.localdomain6 localhost6
- At the end of the file add: 192.168.20.100 Server1.example.com That's a [tab] between the IP address and the host name
- Save the file
- Restart the network services to apply your changes service network restart
- Restart Apache service httpd restart
http://www.wallpaperama.com/forums/how-to-fix-could-not-determine-the-servers-fully-qualified-domain-name-t23.html
127.0.0.1 localhost
123.123.123.123 hostname.domain.de hostname
The fix is to edit the conf file and add in the ServerName setting (as the error message requests). In other words,
sudo vi /etc/apache2/httpd.conf
by adding the following string:,
# ServerName is to be specified to avoid warning during reload
ServerName MYSERVER
Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name 解决相关推荐
- Apache启动时报Could not reliably determine the server's fully qualified domain name
在系统启动时apache,没有启动起来,查看"事件查看器"发现报一些错误: The Apache service named reported the following err ...
- httpd: Could not reliably determine the server's fully qualified domain name
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for Se ...
- Apache windows启动时报错 httpd: Could not reliably determine the server's fully qualified domain name...
Apache windows启动调试时报错或警告 httpd: Could not reliably determine the server's fully qualified domain nam ...
- 解决httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for Se ...
- httpd: Could not reliably determine the server‘s fully qualified domain name
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using localho ...
- 解决httpd: Could not reliably determine the server's fully qualified domain name
启动apache遇到错误:httpd: Could not reliably determine the server's fully qualified domain name [root@serv ...
- mac下httpd: Could not reliably determine the server's fully qualified domain name, using
mac下出现httpd: Could not reliably determine the server's fully qualified domain name, using MacBook-Pr ...
- 解决AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using local
一.启动apache遇到错误: httpd: Could not reliably determine the server's fully qualified domain name 二·.修改配置 ...
- 解决AH00558: httpd: Could not reliably determine the server‘s fully qualified domain name, using local
1.启动apache遇到错误: httpd: Could not reliably determine the server's fully qualified domain name 2·.修改ht ...
最新文章
- c++详解【智能指针】
- 防止头文件重复包含之pragma once与#ifndef
- jssdk 保存文件到手机_手机混用闪存到底是真是假?教你查手机闪存型号
- mysql的常用命令总结
- 探索 OpenStack 之(7):Neutron 深入探索之 Open vSwitch (OVS) + GRE 之 Neutron节点篇
- FeliCa简介____带命令协议说明
- pdf阅读器怎么样去拆分文档啊
- 硬盘重新分区,给C盘重新分配空间
- python - 例题分析:工时与工资
- MySQL基础学习_第016章节_简单的查询语句
- SpringCloud之蓝绿部署
- 2022081班李亚楠20220920
- java中String与int/float/double/byte/数组
- apache atlas 编译包下载
- 如何提高效率By Aaron Swartz (转载)
- Java的诞生以及发展
- IStat Menus 5.02 5.03 的注册码
- 修改YAML/YML文件的字体颜色
- 单目相机空间定位文献阅读
- Minecraft 1.16.5模组开发(二十八) 自定义生态群系(biome)