当前位置:网站首页>【环境踩坑】使用FastDFS测试上传文件时报错
【环境踩坑】使用FastDFS测试上传文件时报错
2022-06-21 23:52:00 【sinat_21791203】
Ubuntu,全部在自己电脑上进行配置
【报错1】:
ERROR - file: connection_pool.c, line: 140, connect to server 192.168.0.102:22122 fail, errno: 111, error info: Connection refused
解决方法:
/etc/fsdf/中的storage.conf和client.conf配置的IP有问题,修改了一下192.168.0.103:22122
【报错2】:
[2021-01-28 19:16:53] ERROR - file: tracker_proto.c, line: 50, server: 192.168.0.103:22122, response status 2 != 0
[2021-01-28 19:16:53] ERROR - file: ../client/tracker_client.c, line: 899, fdfs_recv_response fail, result: 2
tracker_query_storage fail, error no: 2, error info: No such file or directory
这里检查了
1、两个配置文件的IP和端口
2、store_path0=/home/python/fdfs/storage,检查拼写是否正确,是否已创建文件夹
3、最后。。。时刻记住。。。重启大法好~~~work~~~
service fdfs_trackerd stop
service fdfs_storaged stop
service fdfs_trackerd start
service fdfs_storaged start
边栏推荐
猜你喜欢
随机推荐
mysql数据库高版本 低版本
积分体系运营汇中,用户的哪些行为可以获得积分
笔记
The tangled truth about NFT and copyright
【2023提前批 之 面经】~ 青岛鼎信科技
[2023 approval in advance] China Singapore SECCO
pytorch学习02:手写数字识别
Bit operation bit and
mysql整理
NS32F103VBT6软硬件替代STM32F103VBT6
Chapter VIII exercises (45A) [microcomputer principles] [exercises]
SQL语句——数据更新、修改、删除
Mendix公司新任CFO Tom Ellison通过领导团队转型推动公司下一阶段高速增长
Eslint: error
Visualization of camera pose
How to judge pure IP? Where can I find it? Is it Expensive?
In the operation exchange of the points system, which behaviors of users can obtain points
唐太宗把微服务的“心跳机制”玩到了极致!
Record a small JSP bug
0x00007ffff3d3ecd0 in _IO_vfprintf_internal (s=0x7ffff40b5620 <_IO_2_1_stdout_>









