免费注册 查看新帖 |

Chinaunix

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

[FastDFS] 关闭 storage 节点 nginx的时候报错 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2012-09-10 14:37 |只看该作者 |倒序浏览
分组情况是这样的 192.168.40.50 : tracker ,storage(指向50 tracker_server=192.168.40.50)
                       192.168.40.50 :   storage(tracker_server=192.168.40.50)。

启动 51 nginx 报错
[2012-09-10 14:35:30] ERROR - file: ../tracker/tracker_proto.c, line: 571, connect to tracker server 192.168.40.51:22122 fail, errno: 111, error info: Connection refused
[2012-09-10 14:35:30] INFO - fastdfs apache / nginx module v1.09, response_mode=redirect, base_path=/home/fastdfs, path_count=1, connect_timeout=2, network_timeout=30, tracker_server_count=1, storage_server_port=23000, group_name=group1, if_alias_prefix=, local_host_ip_count=2, need_find_content_type=0, default_content_type=, anti_steal_token=0, token_ttl=0s, anti_steal_secret_key length=0, token_check_fail content_type=, token_check_fail buff length=0, storage_sync_file_max_delay=86400s

关闭 51 nginx 报错
[root@localhost conf]# /usr/local/nginx-1.3.4/sbin/nginx -s quit
ngx_http_fastdfs_set pid=9590
[2012-09-10 14:28:24] INFO - local_host_ip_count: 2,  127.0.0.1  192.168.40.51
[2012-09-10 14:28:27] ERROR - file: ../tracker/tracker_proto.c, line: 571, connect to tracker server 192.168.40.51:22122 fail, errno: 111, error info: Connection refused
[2012-09-10 14:28:27] INFO - fastdfs apache / nginx module v1.09, response_mode=redirect, base_path=/home/fastdfs, path_count=1, connect_timeout=2, network_timeout=30, tracker_server_count=1, storage_server_port=23000, group_name=group1, if_alias_prefix=, local_host_ip_count=2, need_find_content_type=0, default_content_type=, anti_steal_token=0, token_ttl=0s, anti_steal_secret_key length=0, token_check_fail content_type=, token_check_fail buff length=0, storage_sync_file_max_delay=86400s

论坛徽章:
0
2 [报告]
发表于 2012-09-10 14:51 |只看该作者
嘎嘎
鱼大。
偶知道鸟。
/etc/fdfs/mod_fastdfs.conf
是这个下面的tracker_server=192.168.40.50:22122
nginx fastdfs-nginx-module 插件对应的 tracker_server呀

论坛徽章:
2
狮子座
日期:2014-06-14 17:14:48射手座
日期:2014-06-14 17:39:13
3 [报告]
发表于 2012-09-14 10:11 |只看该作者
我觉得fdfs对自身的节点异常处理还需要改进吧

论坛徽章:
0
4 [报告]
发表于 2012-09-19 08:37 |只看该作者
localhost2010 发表于 2012-09-14 10:11
我觉得fdfs对自身的节点异常处理还需要改进吧



看鱼大了

论坛徽章:
4
2015年辞旧岁徽章
日期:2015-03-03 16:54:152015年迎新春徽章
日期:2015-03-04 09:56:11IT运维版块每日发帖之星
日期:2016-08-11 06:20:00IT运维版块每日发帖之星
日期:2016-08-15 06:20:00
5 [报告]
发表于 2012-09-19 10:46 |只看该作者
回复 2# idmind

扩展模块在web server启动时,连接tracker server,以获得2个配置参数。
如果连不上时或者获取失败,会使用缺省值。
因此连接tracker server不是必需的。即使不能正常连接tracker server,完全不影响扩展模块的正常功能!

论坛徽章:
0
6 [报告]
发表于 2012-09-20 16:46 |只看该作者
回复 5# happy_fish100


    内牛满面
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP