- 论坛徽章:
- 1
|
本帖最后由 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中多余的这台。可能是由于这个操作导致的…… |
|