Chinaunix

标题: HTTP配置问题!!!救解啊!! [打印本页]

作者: mzj_xm    时间: 2011-12-13 15:00
标题: HTTP配置问题!!!救解啊!!
在使用FastDFS中,如果在编译的时候不选HTTP功能,则运行tracker和storaged服务一切正常也可正常上传文件。
但想实现HTTP的功能,在编译的时候选上WITH_HTTPD=1,编译能通过,在各个conf中也选上HTTP功能,但在运行storage服务时报错如下:
[2011-12-13 14:37:55] INFO - HTTP supported: server_port=8080, http_trunk_size=262144, default_content_type=application/octet-stream, anti_steal_token=0, token_ttl=0s, anti_steal_secret_key length=0, token_check_fail content_type=, token_check_fail buff length=0
[2011-12-13 14:37:56] INFO - file: storage_param_getter.c, line: 228, storage_ip_changed_auto_adjust=1
[2011-12-13 14:37:56] ERROR - file: tracker_proto.c, line: 48, server: 192.168.1.128:22122, response status 2 != 0
[2011-12-13 14:37:56] CRIT - file: storage_httpd.c, line: 261, evhttp_start fail, errno: 98, error info: Address already in use
[2011-12-13 14:37:57] CRIT - file: fdfs_storaged.c, line: 248, storage_httpd_start fail, program exit!

请问这是怎么回事啊!!!!
作者: happy_fish100    时间: 2011-12-13 16:54
回复 1# mzj_xm

不建议使用内置web server。
LZ你直接使用nginx或者apache扩展模块好了。
作者: mzj_xm    时间: 2011-12-13 17:04
这。。。。。。{:2_177:}




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2