开发者社区> 技术小阿哥> 正文
阿里云
为了无法计算的价值
打开APP
阿里云APP内打开

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,如需转载请自行联系原作者

版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。

相关文章
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有问题。
907 0
httpd: Could not reliably determine the server's fully qualified domain name
[root@luozhonghua sbin]# service httpd start Starting httpd: httpd: apr_sockaddr_info_get() failed for luozhonghua httpd: Could not reliably determine the server's fully qualified domain name, u
1061 0
Apache HTTP Server 'ap_pregsub()' Function Local Privilege Escalation Vulnerability
 http://www.halfdog.net/Security/2011/ApacheModSetEnvIfIntegerOverflow/DemoExploit.
633 0
Oracle GlassFish Server Administration Console Remote Authentication Bypass Vulnerability
 http://www.securityfocus.com/data/vulnerabilities/exploits/47818.
605 0
nginx Remote Source Code Disclosure and Denial of Service Vulnerabilities
http://www.example.com/index.html::$DATAhttp://www.
667 0
Ipswitch IMail Server Multiple Local Privilege Escalation Vulnerabilities
http://www.securityfocus.com/data/vulnerabilities/exploits/38109.
530 0
文章
问答
文章排行榜
最热
最新
相关电子书
更多
Network-Automation-Isn\'t-Your-Safe-Haven-Protocol-Analysis-And-Vulnerabilities-Of-Autonomic-Network
立即下载
MongoShake -- Multi Active-Active and Cross-Region Disaster Recoverable MongoDB Service
立即下载
How to overcome mysterious problems caused by large and multi-tenant hadoop cluster at Rakuten
立即下载