- 论坛徽章:
- 0
|
本帖最后由 wuchengjiang 于 2013-05-13 14:21 编辑
鱼大,你好:
有个问题请教一下,我用fastdfs和fastdht上传文件有个问题:
版本信息 FastDFS_v4.06.tar.gz, FastDHT_v1.23.tar.gz
1.在没有和fastdht结合的时候
用这个命令上传文件是正常的,/usr/local/bin/fdfs_test /etc/fdfs/client.conf upload /root/install.log
2.但是和fastdht结合的时候以后,上传文件报如下错误
[root@fastdfs_24_11 fdfs]# /usr/local/bin/fdfs_test /etc/fdfs/client.conf upload /root/install.log
This is FastDFS client test program v4.06
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.
[2013-05-13 14:15:05] DEBUG - base_path=/home/fastdfs, connect_timeout=30, network_timeout=60, tracker_server_count=3, anti_steal_token=0, anti_steal_secret
_key length=0, use_connection_pool=0, g_connection_pool_max_idle_time=3600s, use_storage_id=0, storage server id count: 0
tracker_query_storage_store_list_without_group:
server 1. group_name=, ip_addr=10.8.24.10, port=23000
server 2. group_name=, ip_addr=10.8.24.8, port=23000
server 3. group_name=, ip_addr=10.8.24.9, port=23000
group_name=group1, ip_addr=10.8.24.3, port=23000
[2013-05-13 14:15:05] DEBUG - file: tracker_proto.c, line: 48, server: 10.8.24.3:23000, response status 22 != 0
[2013-05-13 14:15:05] DEBUG - file: tracker_proto.c, line: 48, server: 10.8.24.3:23000, response status 22 != 0
storage_upload_by_filename
upload file fail, error no: 22, error info: Invalid argument
[root@fastdfs_24_11 fdfs]#
用fdfs_upload_file 是没有问题的
[root@fastdfs_24_11 fdfs]# /usr/local/bin/fdfs_upload_file /etc/fdfs/client.conf /root/install.log
group3/M00/00/00/CggYClGQhSWAYttmAACXb0Xgabg288.log
[root@fastdfs_24_11 fdfs]#
不知道是什么问题,请鱼大指教一下。 |
|