忘记密码   免费注册 查看新帖 |

ChinaUnix.net

  平台 论坛 博客 文库 频道自动化运维 虚拟化 储存备份 C/C++ PHP MySQL 嵌入式 Linux系统
最近访问板块 发新帖
查看: 3441 | 回复: 2

[FastDFS] tracker日志报错,请大神解答。 [复制链接]

论坛徽章:
0
发表于 2017-03-23 13:49 |显示全部楼层
请大大们解惑。fastdfs5.08版本
2台服务器装了2个tracker节点,
tracker01日志:
[2017-03-23 13:47:43] ERROR - file: tracker_service.c, line: 2008, client ip: 192.168.10.80, read bytes: 437 != expect bytes: 438
[2017-03-23 13:47:49] ERROR - file: tracker_service.c, line: 2008, client ip: 192.168.10.80, read bytes: 437 != expect bytes: 438
[2017-03-23 13:47:49] ERROR - file: tracker_service.c, line: 2008, client ip: 192.168.10.80, read bytes: 437 != expect bytes: 438
[2017-03-23 13:48:07] ERROR - file: tracker_service.c, line: 2008, client ip: 192.168.10.80, read bytes: 437 != expect bytes: 438
[2017-03-23 13:48:13] ERROR - file: tracker_service.c, line: 2008, client ip: 192.168.10.80, read bytes: 437 != expect bytes: 438
[2017-03-23 13:48:19] ERROR - file: tracker_service.c, line: 2008, client ip: 192.168.10.80, read bytes: 437 != expect bytes: 438
[2017-03-23 13:48:19] ERROR - file: tracker_service.c, line: 2008, client ip: 192.168.10.80, read bytes: 437 != expect bytes: 438
[2017-03-23 13:48:37] ERROR - file: tracker_service.c, line: 2008, client ip: 192.168.10.80, read bytes: 437 != expect bytes: 438
[2017-03-23 13:48:43] ERROR - file: tracker_service.c, line: 2008, client ip: 192.168.10.80, read bytes: 437 != expect bytes: 438
[2017-03-23 13:48:49] ERROR - file: tracker_service.c, line: 2008, client ip: 192.168.10.80, read bytes: 437 != expect bytes: 438
[2017-03-23 13:48:50] ERROR - file: tracker_service.c, line: 2008, client ip: 192.168.10.80, read bytes: 437 != expect bytes: 438
[2017-03-23 13:49:07] ERROR - file: tracker_service.c, line: 2008, client ip: 192.168.10.80, read bytes: 437 != expect bytes: 438


tracker02日志:
[2017-03-23 13:48:50] ERROR - file: tracker_mem.c, line: 596, in the file "/fastdfs/tracker/data/storage_groups_new.dat", item "group_count" is not found
[2017-03-23 13:48:50] ERROR - file: tracker_mem.c, line: 4297, get sys files from other trackers fail, errno: 2
[2017-03-23 13:49:07] ERROR - file: tracker_proto.c, line: 48, server: 192.168.10.78:22122, response status 5 != 0
[2017-03-23 13:49:07] INFO - file: tracker_mem.c, line: 4213, sys files loaded from tracker server 192.168.10.78:22122
[2017-03-23 13:49:07] ERROR - file: tracker_mem.c, line: 596, in the file "/fastdfs/tracker/data/storage_groups_new.dat", item "group_count" is not found
[2017-03-23 13:49:07] ERROR - file: tracker_mem.c, line: 4297, get sys files from other trackers fail, errno: 2
[2017-03-23 13:49:13] ERROR - file: tracker_proto.c, line: 48, server: 192.168.10.78:22122, response status 5 != 0
[2017-03-23 13:49:13] INFO - file: tracker_mem.c, line: 4213, sys files loaded from tracker server 192.168.10.78:22122
[2017-03-23 13:49:13] ERROR - file: tracker_mem.c, line: 596, in the file "/fastdfs/tracker/data/storage_groups_new.dat", item "group_count" is not found
[2017-03-23 13:49:13] ERROR - file: tracker_mem.c, line: 4297, get sys files from other trackers fail, errno: 2
[2017-03-23 13:49:19] ERROR - file: tracker_proto.c, line: 48, server: 192.168.10.78:22122, response status 5 != 0
[2017-03-23 13:49:19] INFO - file: tracker_mem.c, line: 4213, sys files loaded from tracker server 192.168.10.78:22122
[2017-03-23 13:49:19] ERROR - file: tracker_mem.c, line: 596, in the file "/fastdfs/tracker/data/storage_groups_new.dat", item "group_count" is not found
[2017-03-23 13:49:19] ERROR - file: tracker_mem.c, line: 4297, get sys files from other trackers fail, errno: 2
[2017-03-23 13:49:20] ERROR - file: tracker_proto.c, line: 48, server: 192.168.10.78:22122, response status 5 != 0
[2017-03-23 13:49:20] INFO - file: tracker_mem.c, line: 4213, sys files loaded from tracker server 192.168.10.78:22122
[2017-03-23 13:49:20] ERROR - file: tracker_mem.c, line: 596, in the file "/fastdfs/tracker/data/storage_groups_new.dat", item "group_count" is not found
[2017-03-23 13:49:20] ERROR - file: tracker_mem.c, line: 4297, get sys files from other trackers fail, errno: 2

论坛徽章:
0
发表于 2017-03-23 21:21 |显示全部楼层
经过调试问题暂时解决了,是多个tracker   data数据不一致,没有自动同步。
删掉新加入节点的/data目录,拷贝当前Leader tracker目录下的 /data文件 过去即可(.pid不要拷贝)

论坛徽章:
0
发表于 2017-12-26 10:58 |显示全部楼层
感谢楼主,解决了困惑我一上午的问题。我按照这样操作后,解决了2个tracker报错的问题
您需要登录后才可以回帖 登录 | 注册

本版积分规则

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号 北京市公安局海淀分局网监中心备案编号:11010802020122
广播电视节目制作经营许可证(京) 字第1234号 中国互联网协会会员  联系我们:wangnan@it168.com
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP