免费注册 查看新帖 |

Chinaunix

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

[FastDFS] storage_sync_timestamp.dat无效错误 [复制链接]

论坛徽章:
1
寅虎
日期:2014-03-17 10:18:07
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2014-03-24 10:50 |只看该作者 |倒序浏览
本帖最后由 xjacks 于 2014-03-24 10:53 编辑

上周安装了FastDFS的一台tracer和两台storge(一台作为一个group,共两个group),配置成功并且正常运行。周末机器断电,今天开机后尝试启动tracker,提示以下错误:

[2014-03-24 10:42:52] INFO - FastDFS v5.01, base_path=/var/log/fastdfs, run_by_group=, run_by_user=, connect_timeout=30s, network_timeout=60s, port=22122, bind_addr=, max_connections=256, accept_threads=1, work_threads=4, store_lookup=2, store_group=, store_server=0, store_path=0, reserved_storage_space=10.00%, download_server=0, allow_ip_count=-1, sync_log_buff_interval=10s, check_active_interval=120s, thread_stack_size=64 KB, storage_ip_changed_auto_adjust=1, storage_sync_file_max_delay=86400s, storage_sync_file_max_time=300s, use_trunk_file=0, slot_min_size=256, slot_max_size=16 MB, trunk_file_size=64 MB, trunk_create_file_advance=0, trunk_create_file_time_base=02:00, trunk_create_file_interval=86400, trunk_create_file_space_threshold=20 GB, trunk_init_check_occupying=0, trunk_init_reload_from_binlog=0, trunk_compress_binlog_min_interval=0, use_storage_id=0, id_type_in_filename=ip, storage_id_count=0, rotate_error_log=0, error_log_rotate_time=00:00, rotate_error_log_size=0, store_slave_file_use_link=0, use_connection_pool=0, g_connection_pool_max_idle_time=3600s
[2014-03-24 10:42:52] INFO - local_host_ip_count: 2,  127.0.0.1  192.168.6.2
[2014-03-24 10:42:52] ERROR - file: tracker_mem.c, line: 1535, the format of the file "/var/log/fastdfs/data/storage_sync_timestamp.dat" is invalid, group_name: group1, colums: 4 > 3
[2014-03-24 10:42:52] CRIT - exit abnormally!

配置文件并没有修改过。
尝试将/var/log/fastdfs/data/storage_sync_timestamp.dat文件删除掉后tracker启动成功。不知道为何会出现这个错误?

补充:
上周成功运行后,我曾尝试将group2的那一台机器停止,然后修改配置文件加入group1,之后又改为gorup2,并且使用fdfs_monitor delete删除了group1中多余的这台。可能是由于这个操作导致的……
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP