fastdfs异常

0

安装方法:https://github.com/happyfish100/fastdfs/wiki

storage.conf配置的tracker_server配置项不能是127.0.0.1:22122,而应该用localhost:22122,不然会提示:

[2018-09-20 17:18:15] ERROR - file: storage_func.c, line: 1194, conf file "/etc/fdfs/storage.conf", tracker: "127.0.0.1:22122" is invalid, tracker server ip can't be 127.0.0.1
[2018-09-20 17:18:15] CRIT - exit abnormally!

启动命令:

#必须是下面命令
/etc/init.d/fdfs_trackerd start
/etc/init.d/fdfs_storaged start
#不能是
fdfs_trackerd start
fdfs_storaged start