免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12345
最近访问板块 发新帖
楼主: q288288
打印 上一主题 下一主题

[FastDFS] 关于最近的FastDFS和FastDHT安装出错,余大大已更新版本,希望大家下载 [复制链接]

论坛徽章:
2
白银圣斗士
日期:2015-11-30 10:39:16IT运维版块每日发帖之星
日期:2015-12-02 06:20:00
41 [报告]
发表于 2015-11-29 21:26 |只看该作者
亲测,必须先部署FastDHT,然后再部署FastDFS,否则会导致FastDFS动态链接库失效storage无法启动。
  1. # /usr/bin/fdfs_storaged /etc/fdfs/storage.conf
  2. /usr/bin/fdfs_storaged: symbol lookup error: /usr/bin/fdfs_storaged: undefined symbol: log_init2
复制代码
另外部署FastDHT必须安装libevent,否则编译不通过。
  1. cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O -DDEBUG_FLAG -DOS_LINUX -c -o global.o global.c  -I../common -I/usr/local/include
  2. In file included from global.c:15:
  3. global.h:18:19: error: event.h: No such file or directory
  4. make: *** [global.o] Error 1
  5. ...
  6. # ./make.sh install
  7. cp -f fdhtd /usr/local/bin
  8. cp: cannot stat `fdhtd': No such file or directory
  9. make: *** [install] Error 1
复制代码

论坛徽章:
2
白银圣斗士
日期:2015-11-30 10:39:16IT运维版块每日发帖之星
日期:2015-12-02 06:20:00
42 [报告]
发表于 2015-12-01 18:20 |只看该作者
zhoufwind 发表于 2015-11-29 21:26
亲测,必须先部署FastDHT,然后再部署FastDFS,否则会导致FastDFS动态链接库失效storage无法启动。另外部署 ...


更新下,之前部署失败是由于libevent版本所致,安装新版libevent后FastDFS可正常运行。

版本信息(部署顺序):
libfastcommon - V1.0.7
FastDFS - v5.07
db-6.1.26
libevent-2.0.22-stable
FastDHT_v1.23

去重测试:
Client:


Storage1:


Storage2:

论坛徽章:
0
43 [报告]
发表于 2016-08-11 17:38 |只看该作者
谢谢提供资源,等我试下再来回复
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP