搭建fastdfs时遇到的问题

本文介绍了FastDFS在使用过程中遇到的连接问题及其解决办法,包括防火墙设置调整及FastDFS服务重启步骤。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Q:ERROR – file: connection_pool.c, line: 130, connect to 192.168.0.8:23000 fail, errno: 113, error info: No route to host

A:执行过程中可能出现防火墙阻止导致,检测打开端口或关闭防火墙。

systemctl stop firewalld.service #停止firewall


Fdfs错误tracker_query_storage fail, error no: 2, ...

需要从新启动服务器


1: 启动FastDFS

          tracker: /usr/local/bin/fdfs_trackered /etc/fdfs/tracker.conf

          storage: /usr/local/bin/fdfs_storaged /etc/fdfs/storage.conf

2:关闭FastDFS

          tracker:/usr/local/bin/stop.sh /usr/local/bin/fdfs_tracker

          storage:/usr/local/bin/stop.sh /usr/local/bin/fdfs_storage



参考文献

http://www.linuxidc.com/Linux/2014-10/107575.htm

http://www.linuxidc.com/Linux/2015-05/117473.htm

http://www.thinksaas.cn/news/0/46/46838.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值