免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 8425 | 回复: 5

[FastDFS] fdfs_test /etc/fdfs/client.conf upload错误upload file fail, error no: 107 [复制链接]

论坛徽章:
0
发表于 2014-12-15 11:12 |显示全部楼层
执行:fdfs_test /etc/fdfs/client.conf upload a.txt报错
[2014-12-15 11:03:40] 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=10.0.224.94, port=23000

group_name=group1, ip_addr=10.0.224.94, port=23000
[2014-12-15 11:03:40] DEBUG - file: tracker_proto.c, line: 48, server: 10.0.224.94:23000, response status 107 != 0
storage_upload_by_filename
upload file fail, error no: 107, error info: Transport endpoint is not connected

论坛徽章:
0
发表于 2014-12-15 11:13 |显示全部楼层
查看storaged.log 如下:
[2014-12-15 11:03:40] ERROR - file: fdht_client/fdht_proto.c, line: 38, server: 10.0.224.94:22122, recv data fail, errno: 107, error info: Transport endpoint is not connected
[2014-12-15 11:03:40] ERROR - file: fdht_client/fdht_proto.c, line: 38, server: 10.0.224.94:22122, recv data fail, errno: 107, error info: Transport endpoint is not connected
[2014-12-15 11:03:40] ERROR - file: storage_service.c, line: 2681, fdht_get fail, errno: 107, error info: Resource temporarily unavailable

查看trackerd.log 日志如下:
[2014-12-15 11:03:39] ERROR - file: tracker_nio.c, line: 311, client ip: 10.0.224.94, pkg length: 106459146 > max pkg size: 8192
[2014-12-15 11:03:39] ERROR - file: tracker_nio.c, line: 311, client ip: 10.0.224.94, pkg length: 106459146 > max pkg size: 8192

求帮忙分析下

论坛徽章:
1
寅虎
日期:2014-12-04 11:16:20
发表于 2014-12-16 14:10 |显示全部楼层
storage有没有配置tracker server的ip

论坛徽章:
0
发表于 2014-12-16 18:32 |显示全部楼层
执行:/usr/local/bin/fdfs_monitor /etc/fdfs/storage.conf 得到:
[2014-12-16 18:16:37] 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
server_count=1, server_index=0
tracker server is 10.0.224.94:22122
group count: 1
Group 1:
group name = group1
disk total space = 50396 MB
disk free space = 40245 MB
trunk free space = 0 MB
storage server count = 1
active server count = 1
storage server port = 23000
storage HTTP port = 8080
store path count = 1
subdir count per path = 256
current write server index = 0
current trunk file id = 0
        Storage 1:
                id = 10.0.224.94
                ip_addr = 10.0.224.94 (icinga)  ACTIVE
                http domain =
                version = 4.06
                join time = 2014-12-14 20:47:49
                up time = 2014-12-16 18:16:30
                total storage = 50396 MB
                free storage = 40245 MB
                upload priority = 10
                store_path_count = 1
                subdir_count_per_path = 256
                storage_port = 23000
                storage_http_port = 8080
                current_write_path = 0
                source storage id=
                if_trunk_server= 0
                total_upload_count = 10
                success_upload_count = 10
                total_append_count = 0
                success_append_count = 0
                total_modify_count = 0
                success_modify_count = 0
                total_truncate_count = 0
                success_truncate_count = 0
                total_set_meta_count = 10
                success_set_meta_count = 10
                total_delete_count = 0
                success_delete_count = 0
                total_download_count = 0
                success_download_count = 0
                total_get_meta_count = 0
                success_get_meta_count = 0
                total_create_link_count = 0
                success_create_link_count = 0
                total_delete_link_count = 0
                success_delete_link_count = 0
                total_upload_bytes = 56
                success_upload_bytes = 56
                total_append_bytes = 0
                success_append_bytes = 0
                total_modify_bytes = 0
                success_modify_bytes = 0
                stotal_download_bytes = 0
                success_download_bytes = 0
                total_sync_in_bytes = 0
                success_sync_in_bytes = 0
                total_sync_out_bytes = 0
                success_sync_out_bytes = 0
                total_file_open_count = 18
                success_file_open_count = 18
                total_file_read_count = 0
                success_file_read_count = 0
                total_file_write_count = 18
                success_file_write_count = 18
                last_heart_beat_time = 2014-12-16 18:16:30
                last_source_update = 2014-12-15 09:29:10
                last_sync_update = 1970-01-01 08:00:00
                last_synced_timestamp = 1970-01-01 08:00:00
======================
trackerserver应该配置了

论坛徽章:
0
发表于 2016-11-10 17:19 |显示全部楼层
防火墙关了嘛?或者是端口开了吗?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP