fastdfs上传文件报错 ERROR - file: ../client/client_func.c, line: 257, “/var/fdfs“ can‘t be accessed
fastdfs上传文件报错 ERROR - file: …/client/client_func.c, line: 257, “/var/fdfs” can’t be accessed, error info: No such file or directory如图所示:容器中执行 fdfs_upload_file /etc/fdfs/client.conf niceyoo.txt上传文件的命令,
·
fastdfs上传文件报错 ERROR - file: …/client/client_func.c, line: 257, “/var/fdfs” can’t be accessed, error info: No such file or directory
如图所示:
容器中执行 fdfs_upload_file /etc/fdfs/client.conf niceyoo.txt上传文件的命令,提示ERROR - file: …/client/client_func.c, line: 257, “/var/fdfs” can’t be accessed, error info: No such file or directory
解决办法:
原因提示找不到该文件夹导致无法进入,直接创建/var/fdfs文件夹即可
mkdir -p /var/fdfs
再次执行上传命令,问题解决
fdfs_upload_file /etc/fdfs/client.conf niceyoo.txt
更多推荐
已为社区贡献1条内容
所有评论(0)