- 论坛徽章:
- 0
|
本帖最后由 jiang5feng 于 2012-07-02 15:47 编辑
root@netadmin FastDFS]# fdfs_monitor ./conf/storage.conf
[2012-07-03 12:42:37] INFO - base_path=/data/fastdfs, connect_timeout=30, network_timeout=60, tracker_server_count=1, anti_steal_token=0, anti_steal_secret_key length=0
server_count=1, server_index=0
tracker server is 192.168.9.31:22122
group count: 1
Group 1:
group name = group1
disk free space = 0 GB
trunk free space = 0 GB
storage server count = 1
active server count = 0
storage server port = 23000
storage HTTP port = 8888
store path count = 1
subdir count per path = 256
current write server index = 0
current trunk file id = 0
Storage 1:
ip_addr = 192.168.9.32 OFFLINE
http domain =
version = 3.08
join time = 2012-07-03 11:34:09
up time =
total storage = 7GB
free storage = 7GB
upload priority = 10
store_path_count = 1
subdir_count_per_path = 256
storage_port = 23000
storage_http_port = 8888
current_write_path = 0
[root@netadmin FastDFS]# ./client/fdfs_test ./conf/client.conf upload 2.jpg
This is FastDFS client test program v3.08
Copyright (C) 2008, Happy Fish / YuQing
FastDFS may be copied only under the terms of the GNU General
Public License V3, which may be found in the FastDFS source kit.
Please visit the FastDFS Home Page http://www.csource.org/
for more detail.
[2012-07-03 12:37:49] INFO - base_path=/home/fastdfs, connect_timeout=30, network_timeout=60, tracker_server_count=1, anti_steal_token=0, anti_steal_secret_key length=0
[2012-07-03 12:37:49] DEBUG - file: tracker_proto.c, line: 48, server: 192.168.9.31:22122, response status 2 != 0
[2012-07-03 12:37:49] DEBUG - file: tracker_proto.c, line: 48, server: 192.168.9.31:22122, response status 2 != 0
tracker_query_storage fail, error no: 2, error info: No such file or directory
服务已经重启了。
端口也是开的。
[root@netadmin FastDFS]# netstat -an|grep 2300
tcp 0 0 0.0.0.0:23000 0.0.0.0:* LISTEN- [2012-07-03 11:56:57] INFO - FastDFS v3.08, base_path=/data/fastdfs, store_path_count=1, subdir_count_per_path=256, group_name=group1, run_by_group=, run_by_user=, connect_timeout=30s, network_timeout=60s, port=23000, bind_addr=, client_bind=1, max_connections=256, 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, FDHT group count=0, FDHT server count=0, FDHT key_namespace=, FDHT keep_alive=0, HTTP server port=8888, domain name=[2012-07-03 11:56:57] INFO - HTTP supported: server_port=8888, http_trunk_size=262144, default_content_type=, anti_steal_token=0, token_ttl=0s, anti_steal_secret_key length=0, token_check_fail content_type=, token_check_fail buff length=0[2012-07-03 11:56:57] INFO - file: storage_param_getter.c, line: 119, storage_ip_changed_auto_adjust=1, store_path=0, reserved_storage_space=4096 MB, 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[2012-07-03 11:56:57] INFO - local_host_ip_count: 2, 127.0.0.1 192.168.9.32[2012-07-03 11:56:58] INFO - file: tracker_client_thread.c, line: 307, successfully connect to tracker server 192.168.9.31:22122, as a tracker client, my ip is 192.168.9.32[2012-07-03 11:56:58] INFO - file: tracker_client_thread.c, line: 1103, tracker server 192.168.9.31:22122, set tracker leader: 192.168.9.31:22122[2012-07-03 12:00:07] WARNING - file: ../common/fdfs_http_shared.c, line: 40, file: 00/00/wKgJIE_ybkODSUgzAAAeTSeWzAo0212188_big does not have extension name, set to default content type:
复制代码 |
|