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

简介:
解决httpd: Could not reliably determine the server's fully qualified domain name
在windows 中安装完apache,如果在检验Apache是否安装成功时(在linux下使用./apachectl start, 在dos窗中输入httpd)如果出现httpd: Could not reliably determine the server's fully qualified domain name
解决方案:
进入apache的安装目录,再进入其下的\Apache2.2\conf
用vi打开httpd.conf
将里面的#ServerName  localhost:80 注释去掉即可。
再执行httpd
然后可以通过浏览器访问 http://localhost ,如果页面显示“It works!”,即表示apache已安装并启动成功。


本文转自 tianya23 51CTO博客,原文链接:http://blog.51cto.com/tianya23/243001,如需转载请自行联系原作者
相关文章
|
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‘ 问题
742 0
|
XML 应用服务中间件 数据格式
控制台报错: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting proper
控制台报错: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting proper
103 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.
143 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有问题。
1468 0