免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 8759 | 回复: 4

[FastDFS] fastdfs删除一个storage后,进程起不来了 [复制链接]

论坛徽章:
0
发表于 2015-07-29 21:27 |显示全部楼层
  删除语句:/usr/bin/fdfs_monitor /etc/fdfs/client.conf delete group1 192.168.0.130

  删除后,启动trackerd,报错: ERROR - file: tracker_mem.c, line: 1535, the format of the file "/home/yuqing/fastdfs-tracker/data/storage_sync_timestamp.dat" is invalid, group_name: group1, colums: 5 > 4

  于是进入 storage_sync_timestamp.dat 文件,将group1,192.168.0.130,0,0,0 这行删掉

  再次启动,报错:ERROR - file: tracker_mem.c, line: 1535, the format of the file "/home/yuqing/fastdfs-tracker/data/storage_sync_timestamp.dat" is invalid, group_name: group1, colums: 5 > 4

  如何修改才能正常启动,非常感谢!

论坛徽章:
0
发表于 2015-08-06 15:56 |显示全部楼层
你是否用fastdfs-nginx-module模块,配置文件mod_fastdfs.conf中也有组信息的设置,需要删除。
我认为是配置文件哪里没对的上。

论坛徽章:
2
IT运维版块每日发帖之星
日期:2016-01-02 06:20:00IT运维版块每日发帖之星
日期:2016-01-14 06:20:00
发表于 2016-01-11 20:55 |显示全部楼层
去掉一个,0即可

论坛徽章:
0
发表于 2018-06-27 09:08 |显示全部楼层
也碰到这个问题,是不是bug?
删除一个离线的storage,启动后就报错了,.storage_sync_timestamp.dat 文件异常
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP