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

相关文章
|
5月前
|
存储 JavaScript 算法
若依修改-Starting development server...10% building 0/1 modules 1 active ...-node
若依修改-Starting development server...10% building 0/1 modules 1 active ...-node
|
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‘ 问题
786 0
|
XML 应用服务中间件 数据格式
控制台报错: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting proper
控制台报错: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting proper
104 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.
144 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的报错,那什么原因导致了这个问题呢?
523 0
|
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有问题。
1469 0