fastdfs的一些常见错误 getStoreStorage fail, errno code: 2
2016-07-08 10:31
846 查看
至于fastdfs是啥就不多说 网上资料多得是
安装也不废话
错误1:
这个错误是storage没有启动 或者是配置错误 ,这是其中一个可能
我这里出现这个问题是因为没有启动 storage 启动会去连接 tracker server 所以你要是出现启动 storage的时候一直在等待(或者说卡死)的情况下 是因为他一直在连接tracker server 直到连接成功 所以出现卡死的情况
先上启动命令吧
前面是目录 具体看你安装的目录 由于我的centos 每次启动都会更改ip 所以 我每次都有去改 storage.conf 里面连接的ip
具体操作
vi /etc/fdfs/storage.conf
修改ip:
然后执行上面的命令就可以了
安装也不废话
错误1:
getStoreStorage fail, errno code: 2
这个错误是storage没有启动 或者是配置错误 ,这是其中一个可能
我这里出现这个问题是因为没有启动 storage 启动会去连接 tracker server 所以你要是出现启动 storage的时候一直在等待(或者说卡死)的情况下 是因为他一直在连接tracker server 直到连接成功 所以出现卡死的情况
先上启动命令吧
[root@localhost ~]# /usr/bin/fdfs_trackerd /etc/fdfs/tracker.conf restart [root@localhost ~]# /usr/bin/fdfs_storaged /etc/fdfs/storage.conf [root@localhost ~]# /usr/local/nginx/sbin/nginx
前面是目录 具体看你安装的目录 由于我的centos 每次启动都会更改ip 所以 我每次都有去改 storage.conf 里面连接的ip
具体操作
vi /etc/fdfs/storage.conf
修改ip:
然后执行上面的命令就可以了
相关文章推荐
- foxmail邮箱满了
- domain的一些理解
- Installation error: INSTALL_FAILED_CPU_ABI_INCOMPATIBLE(Genymotion 6.0上无效)
- Chain of Responsibility模式详解--设计模式(21)
- Find K Pairs with Smallest Sum
- git push updates were rejected because the remote contain works that you do not have
- Windows Container技术的一些疑惑
- TurboMail邮件系统工程师重要提醒:谨防邮件钓鲸诈骗
- 说说IO(七)- RAID
- linux vsftpd 550 create directory operation failed解决方法
- Jmeter(the target server failed to respond)问题
- zabbix使用sendEmail报警
- [Array]Contains Duplicate
- [Array]Contains Duplicate
- interactive_timeout和wait_timeout(
- Find K Pairs with Smallest Sums
- FinTech-Blockchain区块链
- vim:隆重推荐括号补全插件--auto-pairs
- Leetcode Climbing Stairs
- FSS指定磁盘布局进行vxvm的mirror-stripe(raid01)卷的制作