- 论坛徽章:
- 0
|
[root@localhost fdfs]# /usr/bin/fdfs_test /etc/fdfs/client.conf upload 0004.jpg
This is FastDFS client test program v5.05
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 (u-r-l: h-t-t-p://)-w-w-w.csource.o-r-g/
for more detail.
[2015-01-09 15:36:43] DEBUG - base_path=/home/iflytek/fastdfs, connect_timeout=30, network_timeout=60, tracker_server_count=1, 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=192.168.83.108, port=23000
group_name=group1, ip_addr=192.168.83.108, port=23000
storage_upload_by_filename
upload file fail, error no: 2, error info: No such file or directory
[root@localhost fdfs]# /usr/bin/fdfs_test /etc/fdfs/client.conf upload /0004.jpg
This is FastDFS client test program v5.05
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 (u-r-l: h-t-t-p://)w-w-w.csource.o-r-g/
for more detail.
[2015-01-09 15:37:24] DEBUG - base_path=/home/iflytek/fastdfs, connect_timeout=30, network_timeout=60, tracker_server_count=1, 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=192.168.83.108, port=23000
group_name=group1, ip_addr=192.168.83.108, port=23000
storage_upload_by_filename
group_name=group1, remote_filename=M00/00/00/wKhTbFSvhTSAWB5UAAV5Z9noZEw805.jpg
source ip address: 192.168.83.108
file timestamp=2015-01-09 15:37:24
file size=358759
file crc32=3655885900
example file (u-r-l: h-t-t-p://)192.168.83.108:8888/group1/M00/00/00/wKhTbFSvhTSAWB5UAAV5Z9noZEw805.jpg
storage_upload_slave_by_filename
group_name=group1, remote_filename=M00/00/00/wKhTbFSvhTSAWB5UAAV5Z9noZEw805_big.jpg
source ip address: 192.168.83.108
file timestamp=2015-01-09 15:37:25
file size=358759
file crc32=3655885900
example file (u-r-l: h-t-t-p://)192.168.83.108:8888/group1/M00/00/00/wKhTbFSvhTSAWB5UAAV5Z9noZEw805_big.jpg
[root@localhost fdfs]# service iptables status
Table: filter
Chain INPUT (policy ACCEPT)
num target prot opt source destination
1 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:8080
Chain FORWARD (policy ACCEPT)
num target prot opt source destination
Chain OUTPUT (policy ACCEPT)
num target prot opt source destination
[root@localhost fdfs]# service iptables stop
iptables: Flushing firewall rules: [ OK ]
iptables: Setting chains to policy ACCEPT: filter [ OK ]
iptables: Unloading modules: [ OK ]
[root@localhost fdfs]# service iptables status
iptables: Firewall is not running. |
|