fdfs的storage启动失败

我是在home目录下,存的设置文件,启动tracker还是成功的,但是执行

fdfs_storaged storage.conf

就出现了问题

[2019-06-18 15:51:26] ERROR - file: shared_func.c, line: 968, file /storage.conf not exist
[2019-06-18 15:51:26] ERROR - file: storage_func.c, line: 1079, load conf file "storage.conf" fail, ret code: 2
[2019-06-18 15:51:26] CRIT - exit abnormally!

最后把设置文件移到/etc/fdfs下,再执行就好了

fdfs_storaged /etc/fdfs/storage.conf 

你可能感兴趣的:(总结)