httpd: Could not reliably determine the server's fully qualified domain name

简介:

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, using 127.0.0.1 for ServerName 

解决办法: 
    1.进入apache安装目录下,编辑配置文件./conf/httpd.conf 
     将httpd.conf文件中的一行: 
           # ServerName www.example.com:80 前的注释#去掉。 
      或者增加一行: 
           ServerName localhost:80

 


本文转自 holy2009 51CTO博客,原文链接:http://blog.51cto.com/holy2010/355035

相关文章
|
8月前
|
SQL druid Java
解决 ‘The last packet successfully received from the server was xxx milliseconds ago‘ 问题
解决 ‘The last packet successfully received from the server was xxx milliseconds ago‘ 问题
4860 0
|
9月前
|
Linux
ERROR: 2 matches found based on name: network product-server_default is ambiguous
ERROR: 2 matches found based on name: network product-server_default is ambiguous
94 0
|
XML 应用服务中间件 数据格式
控制台报错: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting proper
控制台报错: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting proper
78 0
控制台报错: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting proper
|
应用服务中间件 Android开发
Could not publish server configuration for Tomcat v6.0 Server at localhost. Multiple Contexts.
Could not publish server configuration for Tomcat v6.0 Server at localhost. Multiple Contexts.
107 0
Could not publish server configuration for Tomcat v6.0 Server at localhost. Multiple Contexts.
|
Java 关系型数据库 MySQL
问题记录:The last packet sent successfully to the server was ****
集成Mybatis的项目中出现了这个问题,初看很蒙比,最近一次成功发送请求到达服务器,你报错干什么?首先必须说的是这个一个关于Mybatis的报错,那什么原因导致了这个问题呢?
413 0
|
Kubernetes 容器
k8s报错:Error from server (NotFound): the server could not find the requested resource (get services h
k8s报错:Error from server (NotFound): the server could not find the requested resource (get services h
|
Linux 网络架构
Root-NFS: Unable to get mountd port number from server, using default
问题描述:         以前下载到开发板linux内核启动好好地,今天突然启动不了了,到达Root-NFS: Unable to get mountd port number from server, using default这个位置就停住了,过了一段时间就显示,如图:       很明显,我的nfs有问题。
1402 0