免费注册 查看新帖 |

Chinaunix

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

[mogileFS] 安装mogilefs-server 时候出现的错误.大家帮忙看看啊. [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-06-20 15:56 |只看该作者 |倒序浏览
  1. [root@localhost mogilefs-server-2.17]# perl Makefile.PL
  2. Checking if your kit is complete...
  3. Looks good
  4. Writing Makefile for mogilefs-server
  5. [root@localhost mogilefs-server-2.17]# make
  6. cp lib/MogileFS/Store.pm blib/lib/MogileFS/Store.pm
  7. cp lib/MogileFS/RebalancePolicy.pm blib/lib/MogileFS/RebalancePolicy.pm
  8. cp lib/Mogstored/ChildProcess/DiskUsage.pm blib/lib/Mogstored/ChildProcess/DiskUsage.pm
  9. cp lib/MogileFS/Server.pm blib/lib/MogileFS/Server.pm
  10. cp lib/MogileFS/Sys.pm blib/lib/MogileFS/Sys.pm
  11. cp lib/MogileFS/RebalancePolicy/PercentFree.pm blib/lib/MogileFS/RebalancePolicy/PercentFree.pm
  12. cp lib/Mogstored/HTTPServer.pm blib/lib/Mogstored/HTTPServer.pm
  13. cp lib/Mogstored/FIDStatter.pm blib/lib/Mogstored/FIDStatter.pm
  14. cp lib/Mogstored/HTTPServer/Apache.pm blib/lib/Mogstored/HTTPServer/Apache.pm
  15. cp lib/MogileFS/Exception.pm blib/lib/MogileFS/Exception.pm
  16. cp lib/Mogstored/HTTPServer/Lighttpd.pm blib/lib/Mogstored/HTTPServer/Lighttpd.pm
  17. cp lib/Mogstored/SideChannelClient.pm blib/lib/Mogstored/SideChannelClient.pm
  18. cp lib/MogileFS/RebalancePolicy/Random.pm blib/lib/MogileFS/RebalancePolicy/Random.pm
  19. cp lib/MogileFS/Worker/Delete.pm blib/lib/MogileFS/Worker/Delete.pm
  20. cp lib/MogileFS/ProcManager.pm blib/lib/MogileFS/ProcManager.pm
  21. cp lib/MogileFS/Worker/Fsck.pm blib/lib/MogileFS/Worker/Fsck.pm
  22. cp lib/Mogstored/HTTPServer/Perlbal.pm blib/lib/Mogstored/HTTPServer/Perlbal.pm
  23. cp lib/MogileFS/Worker/Replicate.pm blib/lib/MogileFS/Worker/Replicate.pm
  24. cp lib/MogileFS/RebalancePolicy/DrainDevices.pm blib/lib/MogileFS/RebalancePolicy/DrainDevices.pm
  25. cp lib/MogileFS/ReplicationPolicy.pm blib/lib/MogileFS/ReplicationPolicy.pm
  26. cp lib/MogileFS/Store/Postgres.pm blib/lib/MogileFS/Store/Postgres.pm
  27. cp lib/MogileFS/Class.pm blib/lib/MogileFS/Class.pm
  28. cp lib/MogileFS/IOStatWatcher.pm blib/lib/MogileFS/IOStatWatcher.pm
  29. cp lib/Mogstored/ChildProcess/FIDSizes.pm blib/lib/Mogstored/ChildProcess/FIDSizes.pm
  30. cp lib/MogileFS/DevFID.pm blib/lib/MogileFS/DevFID.pm
  31. cp lib/MogileFS/Worker/Monitor.pm blib/lib/MogileFS/Worker/Monitor.pm
  32. cp lib/MogileFS/Host.pm blib/lib/MogileFS/Host.pm
  33. cp lib/MogileFS/ReplicationRequest.pm blib/lib/MogileFS/ReplicationRequest.pm
  34. cp lib/MogileFS/FID.pm blib/lib/MogileFS/FID.pm
  35. cp lib/MogileFS/Connection/Client.pm blib/lib/MogileFS/Connection/Client.pm
  36. cp lib/MogileFS/Worker/Query.pm blib/lib/MogileFS/Worker/Query.pm
  37. cp lib/MogileFS/Connection/Mogstored.pm blib/lib/MogileFS/Connection/Mogstored.pm
  38. cp lib/MogileFS/Connection/Worker.pm blib/lib/MogileFS/Connection/Worker.pm
  39. cp lib/MogileFS/Store/MySQL.pm blib/lib/MogileFS/Store/MySQL.pm
  40. cp lib/MogileFS/Domain.pm blib/lib/MogileFS/Domain.pm
  41. cp lib/MogileFS/Util.pm blib/lib/MogileFS/Util.pm
  42. cp lib/Mogstored/ChildProcess.pm blib/lib/Mogstored/ChildProcess.pm
  43. cp lib/MogileFS/ReplicationPolicy/MultipleHosts.pm blib/lib/MogileFS/ReplicationPolicy/MultipleHosts.pm
  44. cp lib/MogileFS/Config.pm blib/lib/MogileFS/Config.pm
  45. cp lib/MogileFS/DeviceState.pm blib/lib/MogileFS/DeviceState.pm
  46. cp lib/Mogstored/SideChannelListener.pm blib/lib/Mogstored/SideChannelListener.pm
  47. cp lib/MogileFS/Worker.pm blib/lib/MogileFS/Worker.pm
  48. cp lib/MogileFS/Overview.pm blib/lib/MogileFS/Overview.pm
  49. cp lib/MogileFS/Worker/Reaper.pm blib/lib/MogileFS/Worker/Reaper.pm
  50. cp lib/MogileFS/Store/SQLite.pm blib/lib/MogileFS/Store/SQLite.pm
  51. cp lib/Mogstored/ChildProcess/IOStat.pm blib/lib/Mogstored/ChildProcess/IOStat.pm
  52. cp lib/MogileFS/HTTPFile.pm blib/lib/MogileFS/HTTPFile.pm
  53. cp lib/MogileFS/Device.pm blib/lib/MogileFS/Device.pm
  54. cp mogilefsd blib/script/mogilefsd
  55. /usr/local/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/mogilefsd
  56. cp mogautomount blib/script/mogautomount
  57. /usr/local/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/mogautomount
  58. cp mogstored blib/script/mogstored
  59. /usr/local/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/mogstored
  60. cp mogdbsetup blib/script/mogdbsetup
  61. /usr/local/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/mogdbsetup
  62. Manifying blib/man1/mogilefsd.1
  63. Manifying blib/man1/mogautomount.1
  64. Manifying blib/man1/mogstored.1
  65. Manifying blib/man3/MogileFS::Store.3
  66. Manifying blib/man3/MogileFS::DevFID.3
  67. Manifying blib/man3/MogileFS::ReplicationPolicy::MultipleHosts.3
  68. Manifying blib/man3/MogileFS::FID.3
  69. Manifying blib/man3/MogileFS::Server.3
  70. Manifying blib/man3/MogileFS::Overview.3
  71. Manifying blib/man3/MogileFS::Worker::Replicate.3
  72. Manifying blib/man3/MogileFS::Worker::Query.3
  73. Manifying blib/man3/MogileFS::ReplicationPolicy.3
  74. Manifying blib/man3/MogileFS::Store::Postgres.3
  75. Manifying blib/man3/MogileFS::Store::SQLite.3
  76. Manifying blib/man3/MogileFS::IOStatWatcher.3
  77. Manifying blib/man3/MogileFS::Store::MySQL.3
  78. [root@localhost mogilefs-server-2.17]# make test
  79. PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
  80. t/00-startup................Can't find mogadm utility.
  81. skipped
  82.         all skipped: Can't find mogadm executable, necessary for testing.
  83. t/10-weighting..............Can't find mogadm utility.
  84. skipped
  85.         all skipped: Can't find mogadm executable, necessary for testing.
  86. t/20-filepaths..............Can't find mogadm utility.
  87. skipped
  88.         all skipped: Can't find mogadm executable, necessary for testing.
  89. t/domains-classes...........Failed to load MogileFS::Store::MySQL: DBI version 1.44 required--this is only version 1.40 at lib/MogileFS/Store/MySQL.pm line 4.
  90. BEGIN failed--compilation aborted at lib/MogileFS/Store/MySQL.pm line 4.
  91. Compilation failed in require at (eval 3) line 1.
  92. BEGIN failed--compilation aborted at (eval 3) line 1.
  93. skipped
  94.         all skipped: Can't create temporary test database: Failed to run mogdbsetup (/root/mogilefs/aa/mogilefs-server-2.17/t/../mogdbsetup). at /root/mogilefs/aa/mogilefs-server-2.17/blib/lib/MogileFS/Store/MySQL.pm line 170.
  95. t/fid-stat..................ok                                               
  96. t/hosts-devices.............Failed to load MogileFS::Store::MySQL: DBI version 1.44 required--this is only version 1.40 at lib/MogileFS/Store/MySQL.pm line 4.
  97. BEGIN failed--compilation aborted at lib/MogileFS/Store/MySQL.pm line 4.
  98. Compilation failed in require at (eval 3) line 1.
  99. BEGIN failed--compilation aborted at (eval 3) line 1.
  100. skipped
  101.         all skipped: Can't create temporary test database: Failed to run mogdbsetup (/root/mogilefs/aa/mogilefs-server-2.17/t/../mogdbsetup). at /root/mogilefs/aa/mogilefs-server-2.17/blib/lib/MogileFS/Store/MySQL.pm line 170.
  102. t/mogstored-shutdown........Can't locate Perlbal.pm in @INC (@INC contains: lib /root/mogilefs/aa/mogilefs-server-2.17/blib/lib/5.8.5/i386-linux-thread-multi /root/mogilefs/aa/mogilefs-server-2.17/blib/lib/5.8.5 /root/mogilefs/aa/mogilefs-server-2.17/blib/lib/i386-linux-thread-multi /root/mogilefs/aa/mogilefs-server-2.17/blib/lib/5.8.4 /root/mogilefs/aa/mogilefs-server-2.17/blib/lib/5.8.3 /root/mogilefs/aa/mogilefs-server-2.17/blib/lib/5.8.2 /root/mogilefs/aa/mogilefs-server-2.17/blib/lib/5.8.1 /root/mogilefs/aa/mogilefs-server-2.17/blib/lib/5.8.0 /root/mogilefs/aa/mogilefs-server-2.17/blib/lib /root/mogilefs/aa/mogilefs-server-2.17/blib/arch/5.8.5/i386-linux-thread-multi /root/mogilefs/aa/mogilefs-server-2.17/blib/arch/5.8.5 /root/mogilefs/aa/mogilefs-server-2.17/blib/arch/i386-linux-thread-multi /root/mogilefs/aa/mogilefs-server-2.17/blib/arch/5.8.4 /root/mogilefs/aa/mogilefs-server-2.17/blib/arch/5.8.3 /root/mogilefs/aa/mogilefs-server-2.17/blib/arch/5.8.2 /root/mogilefs/aa/mogilefs-server-2.17/blib/arch/5.8.1 /root/mogilefs/aa/mogilefs-server-2.17/blib/arch/5.8.0 /root/mogilefs/aa/mogilefs-server-2.17/blib/arch /usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /root/mogilefs/aa/mogilefs-server-2.17/t/../mogstored line 17.
  103. BEGIN failed--compilation aborted at /root/mogilefs/aa/mogilefs-server-2.17/t/../mogstored line 17.
  104. t/mogstored-shutdown........NOK 1                                            
  105. #   Failed test 'started daemonized mogstored'
  106. #   in t/mogstored-shutdown.t at line 23.
  107. Use of uninitialized value in concatenation (.) or string at t/mogstored-shutdown.t line 25.
  108. exist =
  109. wasn't able to start up. at t/mogstored-shutdown.t line 30.
  110. # Looks like you planned 4 tests but only ran 1.
  111. # Looks like you failed 1 test of 1 run.
  112. # Looks like your test died just after 1.
  113. t/mogstored-shutdown........dubious                                          
  114.         Test returned status 255 (wstat 65280, 0xff00)
  115. DIED. FAILED tests 1-4
  116.         Failed 4/4 tests, 0.00% okay
  117. t/multiple-hosts-replpol....ok                                               
  118. t/store.....................Failed to load MogileFS::Store::MySQL: DBI version 1.44 required--this is only version 1.40 at lib/MogileFS/Store/MySQL.pm line 4.
  119. BEGIN failed--compilation aborted at lib/MogileFS/Store/MySQL.pm line 4.
  120. Compilation failed in require at (eval 3) line 1.
  121. BEGIN failed--compilation aborted at (eval 3) line 1.
  122. skipped
  123.         all skipped: Can't create temporary test database: Failed to run mogdbsetup (/root/mogilefs/aa/mogilefs-server-2.17/t/../mogdbsetup). at /root/mogilefs/aa/mogilefs-server-2.17/blib/lib/MogileFS/Store/MySQL.pm line 170.
  124. t/util......................ok                                               
  125. Failed Test            Stat Wstat Total Fail  Failed  List of Failed
  126. -------------------------------------------------------------------------------
  127. t/mogstored-shutdown.t  255 65280     4    7 175.00%  1-4
  128. 6 tests skipped.
  129. Failed 1/10 test scripts, 90.00% okay. 4/29 subtests failed, 86.21% okay.
  130. make: *** [test_dynamic] 错误 255
  131. [root@localhost mogilefs-server-2.17]#
复制代码


前几天一直在看有关mogilefs 的介绍.今天早上开始正式安装.  
一个包又一个包的依赖.晕死了.好在http://search.cpan.org 大部分都能下载到。
但在安装 mogilefs-server-2.17 是碰到看不懂的问题了.
大家帮忙看看,这是什么回事.还想知道什么随时往上贴.先谢过!

论坛徽章:
0
2 [报告]
发表于 2008-06-20 15:57 |只看该作者
在make test 那里出现问题了

论坛徽章:
0
3 [报告]
发表于 2008-06-20 16:52 |只看该作者
  1. [root@localhost mogilefs-server-2.17]# mog
  2. mogadm   mogtool  
复制代码


我已经把  MogileFS-Utils-2.07.tar.tar 这个装上 已经有那个命令了啊

论坛徽章:
0
4 [报告]
发表于 2008-06-21 09:46 |只看该作者
我就知道会沉下来.顶!我这还没找到解决办法啊..

论坛徽章:
0
5 [报告]
发表于 2008-09-16 16:11 |只看该作者
原帖由 chinasjok 于 2008-6-20 16:52 发表
[root@localhost mogilefs-server-2.17]# mog
mogadm   mogtool  


我已经把  MogileFS-Utils-2.07.tar.tar 这个装上 已经有那个命令了啊


不能先装MogileFS-Utils,要先装了mogilefs-server再装MogileFS-Utils的
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP