免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1873 | 回复: 3
打印 上一主题 下一主题

[FreeBSD] apache安装后配置 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-08-05 20:41 |只看该作者 |倒序浏览
在自己的本本上测试apache,
用package安装,
[~]$apachectl -v
Server version: Apache/2.2.9 (FreeBSD)
Server built:   Sep  8 2008 13:27:11
对配置没有进行更改。
[~]$sudo apachectl start
httpd: apr_sockaddr_info_get() failed for
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[Wed Aug 05 07:45:45 2009] [warn] (2)No such file or directory: Failed to enable the 'httpready' Accept Filter
在firefox中输入http://127.0.0.1/
Failed to Connect
Firefox can't establish a connection to the server at 127.0.0.1.

这是为什么?

论坛徽章:
0
2 [报告]
发表于 2009-08-05 23:46 |只看该作者
看 error_log

论坛徽章:
2
丑牛
日期:2013-09-29 09:47:222015七夕节徽章
日期:2015-08-21 11:06:17
3 [报告]
发表于 2009-08-06 07:49 |只看该作者
1:配置里面的servername你设置了没有?
2:Failed to enable the 'httpready' Accept Filter的问题参看http://www.bsdlover.cn/html/51/n-651.html

论坛徽章:
0
4 [报告]
发表于 2009-08-07 03:08 |只看该作者
ServerName localhost:80

http-error.log:
[Thu Aug 06 06:49:54 2009] [warn] Init: Session Cache is not configured [hint: SSLSessi    onCache]
[Thu Aug 06 06:49:54 2009] [alert] (EAI hostname nor servname provided, or not known:     mod_unique_id: unable to find IPv4 address of ""
Configuration Failed


[~/misc]$more /boot/loader.conf
snd_ich_load="YES"
cpufreq_load="YES"
accf_http_load="YES"

===================
感谢二三楼的帮助, 我设置了以后还是不行。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP