免费注册 查看新帖 |

Chinaunix

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

[FastDFS] [SOLVED] 集群配置时时 tracker server 启动时出现ERROR信息 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2012-01-31 11:16 |只看该作者 |倒序浏览
本帖最后由 amusemelu 于 2012-02-02 09:19 编辑

机器配置如下:
CentOS 6.2
FastDFS_v3.06
libevent-1.4.14b-stable

我配置了两个tracker,四个组(group[1-4]),每个group两个storage server.

---------------------------
在启动完组后在tracker server出现如下错误:

[2012-01-31 10:13:27] ERROR - file: tracker_service.c, line: 531, client ip: 192.168.166.65, invalid group_name: group3
[2012-01-31 10:13:27] ERROR - file: tracker_service.c, line: 531, client ip: 192.168.166.65, invalid group_name: group4
[2012-01-31 10:13:27] ERROR - file: tracker_mem.c, line: 4184, client ip: 192.168.166.65:23000, invalid storage status -1, in the group "group3"
[2012-01-31 10:13:27] INFO - file: tracker_service.c, line: 1297, lock by client: 192.168.166.60, locked count: 1
[2012-01-31 10:13:27] INFO - file: tracker_service.c, line: 1278, unlock by client: 192.168.166.60, locked count: 0
[2012-01-31 10:13:27] ERROR - file: tracker_mem.c, line: 4184, client ip: 192.168.166.65:24000, invalid storage status -1, in the group "group4"
[2012-01-31 10:13:27] INFO - file: tracker_relationship.c, line: 371, selecting leader...
[2012-01-31 10:13:27] INFO - file: tracker_relationship.c, line: 389, I am the new tracker leader 192.168.166.60:22122
[2012-01-31 10:13:52] ERROR - file: tracker_service.c, line: 542, client ip: 192.168.166.64, group_name: group3, storage server: 192.168.166.64 not exist
[2012-01-31 10:13:52] ERROR - file: tracker_service.c, line: 542, client ip: 192.168.166.64, group_name: group4, storage server: 192.168.166.64 not exist
[2012-01-31 10:13:52] ERROR - file: tracker_mem.c, line: 4184, client ip: 192.168.166.64:23000, invalid storage status -1, in the group "group3"
[2012-01-31 10:13:52] ERROR - file: tracker_mem.c, line: 4184, client ip: 192.168.166.64:24000, invalid storage status -1, in the group "group4"
[2012-01-31 10:13:57] ERROR - file: tracker_service.c, line: 1627, client ip: 192.168.166.65, sync src server: 192.168.166.64 not exists
[2012-01-31 10:13:57] ERROR - file: tracker_service.c, line: 1627, client ip: 192.168.166.65, sync src server: 192.168.166.64 not exists
[2012-01-31 10:14:04] ERROR - file: tracker_service.c, line: 531, client ip: 192.168.166.63, invalid group_name: group1
[2012-01-31 10:14:04] ERROR - file: tracker_service.c, line: 531, client ip: 192.168.166.63, invalid group_name: group2
[2012-01-31 10:14:05] ERROR - file: tracker_mem.c, line: 4184, client ip: 192.168.166.63:23000, invalid storage status -1, in the group "group1"
[2012-01-31 10:14:05] ERROR - file: tracker_mem.c, line: 4184, client ip: 192.168.166.63:24000, invalid storage status -1, in the group "group2"
[2012-01-31 10:14:12] ERROR - file: tracker_service.c, line: 542, client ip: 192.168.166.62, group_name: group1, storage server: 192.168.166.62 not exist
[2012-01-31 10:14:12] ERROR - file: tracker_service.c, line: 542, client ip: 192.168.166.62, group_name: group2, storage server: 192.168.166.62 not exist
[2012-01-31 10:14:12] ERROR - file: tracker_mem.c, line: 4184, client ip: 192.168.166.62:23000, invalid storage status -1, in the group "group1"
[2012-01-31 10:14:13] ERROR - file: tracker_mem.c, line: 4184, client ip: 192.168.166.62:24000, invalid storage status -1, in the group "group2"
[2012-01-31 10:14:35] ERROR - file: tracker_mem.c, line: 4184, client ip: 192.168.166.63:23000, invalid storage status -1, in the group "group1"
[2012-01-31 10:14:35] ERROR - file: tracker_mem.c, line: 4184, client ip: 192.168.166.63:24000, invalid storage status -1, in the group "group2"


================================

1. invalid group_name: group3 这个名字为什么是无效的。

我在storage.conf是这样配置的

# the name of the group this storage server belongs to
group_name=group1

我把tracker中的storage_groups_new.dat打出来,好像是没有问题的。

# global section
[Global]
        group_count=4

# group: group1
[Group001]
        group_name=group1
        storage_port=23000
        storage_http_port=8888
        store_path_count=1
        subdir_count_per_path=256
        current_trunk_file_id=0
        trunk_server=

# group: group2
[Group002]
        group_name=group2
        storage_port=24000
        storage_http_port=8888
        store_path_count=1
        subdir_count_per_path=256
        current_trunk_file_id=0
        trunk_server=

# group: group3
[Group003]
        group_name=group3
        storage_port=23000
        storage_http_port=8888
        store_path_count=1
        subdir_count_per_path=256
        current_trunk_file_id=0
        trunk_server=

# group: group4
[Group004]
        group_name=group4
        storage_port=24000
        storage_http_port=8888
        store_path_count=1

用fdfs_monitor看也没有问题。

2. invalid storage status -1, in the group "group3" 这个不知道是什么意思?


论坛徽章:
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
2 [报告]
发表于 2012-01-31 16:02 |只看该作者
回复 1# amusemelu

重启一下storage server试试。

论坛徽章:
0
3 [报告]
发表于 2012-01-31 16:36 |只看该作者
嗯,重新再来重启一次就没有了。

多谢啊
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP