免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1604 | 回复: 1
打印 上一主题 下一主题

[FastDFS] 求大神看看原因 FastDFS 上传与下载OK 通过nginx访问失败 [复制链接]

论坛徽章:
1
IT运维版块每日发帖之星
日期:2016-08-13 06:20:00
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2016-08-10 16:49 |只看该作者 |倒序浏览
FaskDFS配置成功后 通过命令上传和下载都可以,但是在本地和外部通过ip访问 就一直不行  查看log 提示 ERROR - file: ../storage/trunk_mgr/trunk_shared.c, line: 75, conf file must have item "store_path0"!
但是 mod_fastdfs.conf  和 storage.conf  的 store_path0  有配置

nginx-1.9.0.tar.gz  fastdfs-nginx-module_v1.16.tar.gz   FastDFS_v5.05.tar.gz

tracker.conf
base_path=/home/fdfs/tracker/

storage.conf
group_name=group1
base_path=/home/fdfs/storage/
store_path0=/home/fdfs/storage/
tracker_server=192.168.1.140:22122
http.server_port=80

mod_fastdfs.conf
tracker_server=192.168.1.140:22122
group_name=group1
url_have_group_name = true
store_path0=/home/fdfs/storage/

nginx.conf
  location /group1/M00{
    root /home/fdfs/storage/;
    ngx_fastdfs_module;
    }

client.conf
tracker_server=192.168.1.140:22122
http.tracker_server_port=80

论坛徽章:
1
IT运维版块每日发帖之星
日期:2016-08-13 06:20:00
2 [报告]
发表于 2016-08-10 16:51 |只看该作者
[root@localhost fdfs]# ps -aux | grep nginx
Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.8/FAQ
root      23444  0.0  0.1  28724  1320 ?        Ss   10:43   0:00 nginx: master process ./nginx
root      28417  0.0  0.0 103264   852 pts/0    S+   16:50   0:00 grep nginx
[root@localhost fdfs]# ps -aux | grep fdfs
Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.8/FAQ
root      27546  0.0  0.2 144276  2848 ?        Sl   15:02   0:00 /usr/bin/fdfs_trackerd /etc/fdfs/tracker.conf
root      27565  0.0  6.6  80864 66628 ?        Sl   15:02   0:01 /usr/bin/fdfs_storaged /etc/fdfs/storage.conf
root      28419  0.0  0.0 103260   844 pts/0    S+   16:50   0:00 grep fdfs
[root@localhost fdfs]#

进程都是起来的
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP