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 http://www.csource.org/
for more detail.
[2016-12-14 01:53:16] DEBUG - base_path=/data/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.204.128, port=23000
group_name=group1, ip_addr=192.168.204.128, port=23000
storage_upload_by_filename
group_name=group1, remote_filename=M00/00/00/wKjMgFhRFoyALNTHAAvqH_kipG8640.jpg
source ip address: 192.168.204.128
file timestamp=2016-12-14 01:53:16
file size=780831
file crc32=4179797103
example file url: http://192.168.204.128/group1/M00/00/00/wKjMgFhRFoyALNTHAAvqH_kipG8640.jpg
storage_upload_slave_by_filename
group_name=group1, remote_filename=M00/00/00/wKjMgFhRFoyALNTHAAvqH_kipG8640_big.jpg
source ip address: 192.168.204.128
file timestamp=2016-12-14 01:53:16
file size=780831
file crc32=4179797103
example file url: http://192.168.204.128/group1/M00/00/00/wKjMgFhRFoyALNTHAAvqH_kipG8640_big.jpg
这个代表已经测试上传成功, 但是用浏览器访问地址,无法连接 防火墙也关闭了, 什么原因呢 example file url 两个地址代表什么意思
http://www.oschina.net/question/3079834_2213088
可能是fastDFS运行时间过长或者是别的原因导致fastDFS关闭了,需要重新启动fastDFS
fastDFS+Nginx:首先检查一下nginx的进程 ps aux|grep nginx 看是否启动,查看端口号是否正确,然后在重新启动fastDFS,nginx
在配置nginx的时候,如下路径--pid-path=/var/run/nginx/nginx.pid \ 在linux重启再次重启nginx后该路径会别删除,导致路径不存在,因此访问的时候,会出现问题,修改后,可以访问