upiano 发表于 2015-08-21 10:08

FastDFS V5.05新增Storage启动失败

1.系统里已有FastDFS部署,一台Tracker、一台Storage;现在想增加一台Storage服务器,和之前的Storage为同一Group关系;


2.按照V5.05的INSTALL文档安装成功后,将线上正在运行的Storage配置文件直接同步到新Storage服务器中使用;


3.通过/usr/bin/fdfs_storage /etc/fdfs/storage.conf 启动服务,netstat观察端口情况以及Storage日志情况,发现Storage启动失败;


4.日志如下:

INFO - FastDFS v5.05, base_path=/opt/fastdfs, store_path_count=1, subdir_count_per_path=256, group_name=root, run_by_group=fastdfs, run_by_user=fastdfs, connect_timeout=30s, network_timeout=60s, port=23000, bind_addr=, client_bind=1, max_connections=256, accept_threads=1, work_threads=4, disk_rw_separated=1, disk_reader_threads=1, disk_writer_threads=1, buff_size=256KB, heart_beat_interval=30s, stat_report_interval=60s, tracker_server_count=1, sync_wait_msec=50ms, sync_interval=0ms, sync_start_time=00:00, sync_end_time=23:59, write_mark_file_freq=500, allow_ip_count=-1, file_distribute_path_mode=0, file_distribute_rotate_count=100, fsync_after_written_bytes=0, sync_log_buff_interval=10s, sync_binlog_buff_interval=10s, sync_stat_file_interval=300s, thread_stack_size=512 KB, upload_priority=10, if_alias_prefix=, check_file_duplicate=0, file_signature_method=hash, FDHT group count=0, FDHT server count=0, FDHT key_namespace=, FDHT keep_alive=0, HTTP server port=8888, domain name=, use_access_log=0, rotate_access_log=0, access_log_rotate_time=00:00, rotate_error_log=0, error_log_rotate_time=00:00, rotate_access_log_size=0, rotate_error_log_size=0, log_file_keep_days=0, file_sync_skip_invalid_record=0, use_connection_pool=0, g_connection_pool_max_idle_time=3600s
ERROR - file: storage_ip_changed_dealer.c, line: 180, connect to tracker server 192.168.4.217:22122 fail, errno: 113, error info: No route to host

5.iptables关闭状态,selinux disabled, PingTrackerIP 可以通信


————————————————————————已经重新部署过几次,还是不行,各位大哥快现身说法,为小弟指条明路吧!————————————————————

fqj_1991 发表于 2015-08-24 16:33

打开防火墙了吗?我现在添加storage也遇到问题了

ccfish86 发表于 2015-09-09 17:09

还是Tracker服务器的设置问题
页: [1]
查看完整版本: FastDFS V5.05新增Storage启动失败