Apache 排错
原创xiaoyun222 博主文章分类:system ©著作权
©著作权归作者所有:来自51CTO博客作者xiaoyun222的原创作品,请联系作者获取转载授权,否则将追究法律责任
Apache
review httpd use configuration file
[root@aa-test-01 proc]# httpd -S
VirtualHost configuration:
wildcard NameVirtualHosts and _default_ servers:
*:80 dummy-host.example.com (/etc/httpd/conf.d/host.conf:1)
Syntax OK
[root@aa-test-01 proc]#
configuration check
[root@aa-test-01 proc]# apachectl -t
Syntax OK
[root@aa-test-01 proc]#
httpd error
[root@aa-syslog-01 log]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: httpd: apr_sockaddr_info_get() failed for aa-syslog-01.puppet.com
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[ OK ]
[root@aa-syslog-01 conf]# vim httpd.conf
#ServerName www.example.com:80
ServerName localhost:80
[root@aa-syslog-01 conf]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: [ OK ]
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
Apache Hive
Apache Hive的相关知识,包括简单介绍,环境配置,和使用简介
mysql Hive SQL