免费注册 查看新帖 |

Chinaunix

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

kloxo安装报错 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2012-01-08 22:35 |只看该作者 |倒序浏览
本帖最后由 linux_kaige 于 2012-01-08 22:37 编辑

大家好,今天我安装kloxo,按照http://www.poluoluo.com/jzxy/201103/111563.html的方法,同时也看了其他的文档,就开始安装,首先卸载Apache、mysql、php,之后执行kloxo-installer.sh,但是最最后却不行了,开始还可以从网上yum安装软件,后来yum也无法使用了,因为当出现这种情况的时候,我拿其他服务器的yum测试过了。现在我提出两个疑问,第一:为什么yum不能使用了,是否是因为安装的改成中改了我yum的配置?第二:是否是因为kloxo的官网软件包找不到,才出现
  1. [root@testcms ~]# yum -y install yum-downloadonly
  2. Loaded plugins: downloadonly, fastestmirror
  3. Loading mirror speeds from cached hostfile
  4. * base: mirrors.163.com
  5. * extras: mirrors.163.com
  6. * rpmforge: fr2.rpmfind.net
  7. * updates: mirrors.163.com
  8. addons                                                                       |  951 B     00:00     
  9. base                                                                         | 1.1 kB     00:00     
  10. extras                                                                       | 2.1 kB     00:00     
  11. rpmforge                                                                     | 1.1 kB     00:00     
  12. updates                                                                      | 1.9 kB     00:00     
  13. updates/primary_db                                                           | 433 kB     00:00     
  14. Setting up Install Process
  15. Package yum-downloadonly-1.1.16-16.el5.centos.noarch already installed and latest version
  16. Nothing to do
复制代码
  1. [root@localhost conf]# whereis httpd
  2. httpd: /usr/sbin/httpd /usr/sbin/httpd.worker /usr/sbin/httpd.event /etc/httpd /usr/lib/httpd /usr/share/man/man8/httpd.8.gz
  3. [root@localhost conf]# service httpd status
  4. httpd is stopped
  5. [root@localhost kloxo]# rpm -qa |grep php
  6. php-ldap-5.1.6-27.el5
  7. php-cli-5.1.6-27.el5
  8. php-5.1.6-27.el5
  9. php-common-5.1.6-27.el5
  10. [root@localhost kloxo]# rpm -qa |grep php |sed 's/^/rpm -e/g'
  11. rpm -ephp-ldap-5.1.6-27.el5
  12. rpm -ephp-cli-5.1.6-27.el5
  13. rpm -ephp-5.1.6-27.el5
  14. rpm -ephp-common-5.1.6-27.el5
  15. [root@localhost kloxo]# rpm -qa |grep php |sed 's/^/rpm -e /g'
  16. rpm -e php-ldap-5.1.6-27.el5
  17. rpm -e php-cli-5.1.6-27.el5
  18. rpm -e php-5.1.6-27.el5
  19. rpm -e php-common-5.1.6-27.el5
  20. [root@localhost kloxo]# rpm -qa |grep php |sed 's/^/rpm -e /g' |sh
  21. error: Failed dependencies:
  22.         php-cli = 5.1.6-27.el5 is needed by (installed) php-5.1.6-27.el5.i386
  23. error: Failed dependencies:
  24.         php-common = 5.1.6-27.el5 is needed by (installed) php-cli-5.1.6-27.el5.i386
  25. [root@localhost kloxo]# rpm -qa |grep php
  26. php-cli-5.1.6-27.el5
  27. php-common-5.1.6-27.el5
  28. [root@localhost kloxo]# rpm -e php-cli-5.1.6-27.el5
  29. [root@localhost kloxo]# rpm -e php-common-5.1.6-27.el5
  30. [root@localhost kloxo]# rpm -qa | grep mysql
  31. mysql-5.0.77-4.el5_4.2
  32. [root@localhost kloxo]# rpm -e mysql-5.0.77-4.el5_4.2
  33. error: Failed dependencies:
  34.         libmysqlclient.so.15 is needed by (installed) dovecot-1.0.7-7.el5.i386
  35.         libmysqlclient.so.15(libmysqlclient_15) is needed by (installed) dovecot-1.0.7-7.el5.i386
  36. [root@localhost kloxo]# rpm -e dovecot-1.0.7-7.el5.i386
  37. [root@localhost kloxo]# rpm -e libmysqlclient.so.15
  38. error: package libmysqlclient.so.15 is not installed
  39. [root@localhost kloxo]# rpm -e mysql-5.0.77-4.el5_4.2
  40. [root@localhost kloxo]# rpm -e httpd-2.2.3-43.el5.centos
  41. error: Failed dependencies:
  42.         httpd-mmn = 20051115 is needed by (installed) mod_python-3.2.8-3.1.i386
  43.         httpd-mmn = 20051115 is needed by (installed) mod_ssl-2.2.3-43.el5.centos.i386
  44.         httpd-mmn = 20051115 is needed by (installed) mod_perl-2.0.4-6.el5.i386
  45.         webserver is needed by (installed) webalizer-2.01_10-30.1.i386
  46.         httpd >= 2.0.40 is needed by (installed) mod_python-3.2.8-3.1.i386
  47.         httpd = 0:2.2.3-43.el5.centos is needed by (installed) mod_ssl-2.2.3-43.el5.centos.i386
  48.         httpd >= 2.2.0 is needed by (installed) gnome-user-share-0.10-6.el5.i386
  49. [root@localhost kloxo]# rpm -e gnome-user-share-0.10-6.el5.i386
  50. [root@localhost kloxo]# rpm -e mod_ssl-2.2.3-43.el5.centos.i386
  51. [root@localhost kloxo]# rpm -e mod_python-3.2.8-3.1.i386
  52. [root@localhost kloxo]# rpm -e webalizer-2.01_10-30.1.i386
  53. [root@localhost kloxo]# rpm -e mod_perl-2.0.4-6.el5.i386
  54. [root@localhost kloxo]# rpm -e mod_ssl-2.2.3-43.el5.centos.i386
  55. error: package mod_ssl-2.2.3-43.el5.centos.i386 is not installed
  56. [root@localhost kloxo]# rpm -e httpd-2.2.3-43.el5.centos
  57. [root@localhost kloxo]#
  58. [root@localhost conf]# rpm -qa | grep mysql
  59. [root@localhost conf]# rpm -qa | grep httpd
  60. [root@localhost conf]# rpm -qa | grep php
  61. [root@localhost conf]#
  62. [root@localhost opt]# wget http://download.lxcenter.org/download/kloxo/production/kloxo-installer.sh
  63. --2012-01-08 21:51:37--  http://download.lxcenter.org/download/kloxo/production/kloxo-installer.sh
  64. Resolving download.lxcenter.org... 66.197.145.24
  65. Connecting to download.lxcenter.org|66.197.145.24|:80... connected.
  66. HTTP request sent, awaiting response... 200 OK
  67. Length: 6234 (6.1K) [application/octet-stream]
  68. Saving to: `kloxo-installer.sh'

  69. 100%[======================================>] 6,234       --.-K/s   in 0s      

  70. 2012-01-08 21:51:40 (72.3 MB/s) - `kloxo-installer.sh' saved [6234/6234]

  71. [root@localhost opt]# sh
  72. beiwang.txt         kloxo-installer.sh  y/
  73. kloxo/              ORCLfmap/           
  74. [root@localhost opt]# sh kloxo-installer.sh

  75. -------------------------------------------------------------------------
  76.   format: sh kloxo-installer.sh --type=<master/slave> [--version=version]
  77. -------------------------------------------------------------------------

  78. --type - compulsory, please choose between master or slave
  79.    depending which you want to install
  80. --version - optional; default: 'current', or any version number as
  81.    listed in the archive (between 'kloxo-' and '. zip')
  82.    An archive is available at 'http://download.lxcenter.org/download/archive/'

  83. We need additional files when installing 6.0.x version:
  84.    1. all additional files must be in the same place of 'kloxo-installer.sh'
  85.    2. download kloxo from archive and then change 'version' to 'current'
  86.    3. check thirdparty <version> from:
  87.       'http://download.lxcenter.org/download/thirdparty/kloxo-version.list'
  88.    4. download thirdparty from:
  89.       'http://download.lxlabs.com/download/kloxo-thirdparty.<version>.zip'
  90.    5. rename kloxo-thirdparty.<version>.zip to kloxo-thirdparty.2012.zip

  91. [root@localhost opt]# sh kloxo-installer.sh --type=master

  92. Installing as "root"          OK
  93. Operating System supported    OK
  94. SELinux disabled              OK
  95. Yum installed                 OK

  96. Ready to begin Kloxo (master) install.


  97.         Note some file downloads may not show a progress bar so please, do not interrupt the process.
  98.         When it's finished, you will be presented with a welcome message and further instructions.


  99. Press any key to continue ...
  100. Loaded plugins: downloadonly, fastestmirror
  101. Loading mirror speeds from cached hostfile
  102. * base: mirrors.163.com
  103. * extras: mirrors.163.com
  104. * updates: mirrors.163.com
  105. addons                                                   |  951 B     00:00     
  106. base                                                     | 1.1 kB     00:00     
  107. extras                                                   | 2.1 kB     00:00     
  108. updates                                                  | 1.9 kB     00:00     
  109. Setting up Install Process
  110. Package wget-1.11.4-2.el5_4.1.i386 already installed and latest version
  111. Package zip-2.31-2.el5.i386 already installed and latest version
  112. Package unzip-5.52-3.el5.i386 already installed and latest version
  113. Resolving Dependencies
  114. --> Running transaction check
  115. ---> Package php.i386 0:5.1.6-27.el5_5.3 set to be updated
  116. --> Processing Dependency: php-common = 5.1.6-27.el5_5.3 for package: php
  117. --> Processing Dependency: php-cli = 5.1.6-27.el5_5.3 for package: php
  118. --> Processing Dependency: httpd-mmn = 20051115 for package: php
  119. ---> Package php-mysql.i386 0:5.1.6-27.el5_5.3 set to be updated
  120. --> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15) for package: php-mysql
  121. --> Processing Dependency: libmysqlclient.so.15 for package: php-mysql
  122. --> Processing Dependency: php-pdo for package: php-mysql
  123. --> Running transaction check
  124. ---> Package httpd.i386 0:2.2.3-53.el5.centos.3 set to be updated
  125. updates/filelists_db                                     | 1.7 MB     00:00     
  126. ---> Package mysql.i386 0:5.0.77-4.el5_6.6 set to be updated
  127. ---> Package php-cli.i386 0:5.1.6-27.el5_5.3 set to be updated
  128. ---> Package php-common.i386 0:5.1.6-27.el5_5.3 set to be updated
  129. ---> Package php-pdo.i386 0:5.1.6-27.el5_5.3 set to be updated
  130. --> Finished Dependency Resolution

  131. Dependencies Resolved

  132. ================================================================================
  133. Package          Arch       Version                        Repository     Size
  134. ================================================================================
  135. Installing:
  136. php              i386       5.1.6-27.el5_5.3               base          2.3 M
  137. php-mysql        i386       5.1.6-27.el5_5.3               base           86 k
  138. Installing for dependencies:
  139. httpd            i386       2.2.3-53.el5.centos.3          updates       1.2 M
  140. mysql            i386       5.0.77-4.el5_6.6               base          4.8 M
  141. php-cli          i386       5.1.6-27.el5_5.3               base          2.1 M
  142. php-common       i386       5.1.6-27.el5_5.3               base          153 k
  143. php-pdo          i386       5.1.6-27.el5_5.3               base           65 k

  144. Transaction Summary
  145. ================================================================================
  146. Install       7 Package(s)
  147. Upgrade       0 Package(s)

  148. Total download size: 11 M
  149. Downloading Packages:
  150. (1/7): php-pdo-5.1.6-27.el5_5.3.i386.rpm                 |  65 kB     00:00     
  151. (2/7): php-mysql-5.1.6-27.el5_5.3.i386.rpm               |  86 kB     00:00     
  152. (3/7): php-common-5.1.6-27.el5_5.3.i386.rpm              | 153 kB     00:00     
  153. (4/7): httpd-2.2.3-53.el5.centos.3.i386.rpm              | 1.2 MB     00:03     
  154. (5/7): php-cli-5.1.6-27.el5_5.3.i386.rpm                 | 2.1 MB     00:00     
  155. (6/7): php-5.1.6-27.el5_5.3.i386.rpm                               | 2.3 MB     00:01     
  156. (7/7): mysql-5.0.77-4.el5_6.6.i386.rpm                             | 4.8 MB     00:08     
  157. ------------------------------------------------------------------------------------------
  158. Total                                                     728 kB/s |  11 MB     00:15     
  159. Running rpm_check_debug
  160. Running Transaction Test
  161. Finished Transaction Test
  162. Transaction Test Succeeded
  163. Running Transaction
  164.   Installing     : php-common                                                         1/7
  165.   Installing     : php-pdo                                                            2/7
  166.   Installing     : php-cli                                                            3/7
  167.   Installing     : httpd                                                              4/7
  168.   Installing     : mysql                                                              5/7
  169.   Installing     : php-mysql                                                          6/7
  170.   Installing     : php                                                                7/7

  171. Installed:
  172.   php.i386 0:5.1.6-27.el5_5.3              php-mysql.i386 0:5.1.6-27.el5_5.3            

  173. Dependency Installed:
  174.   httpd.i386 0:2.2.3-53.el5.centos.3          mysql.i386 0:5.0.77-4.el5_6.6              
  175.   php-cli.i386 0:5.1.6-27.el5_5.3             php-common.i386 0:5.1.6-27.el5_5.3         
  176.   php-pdo.i386 0:5.1.6-27.el5_5.3            

  177. Complete!
  178. --2012-01-08 21:53:54--  http://download.lxcenter.org/download/kloxo-install.zip
  179. Resolving download.lxcenter.org... 66.197.145.24
  180. Connecting to download.lxcenter.org|66.197.145.24|:80... connected.
  181. HTTP request sent, awaiting response... 200 OK
  182. Length: 49400 (48K) [application/zip]
  183. Saving to: `kloxo-install.zip'

  184. 100%[================================================>] 49,400      25.8K/s   in 1.9s   

  185. 2012-01-08 21:53:57 (25.8 KB/s) - `kloxo-install.zip' saved [49400/49400]

  186. Kloxo is using AGPL-V3.0 License, do you agree with the terms? [y/N]: y
  187. Installing Kloxo = YES

  188. InstallApp: PHP Applications like PHPBB, WordPress, Joomla etc
  189. When you choose Yes, be aware of downloading about 350Mb of data!
  190. Do you want to install the InstallAPP sotfware? [y/N]: n
  191. Installing InstallApp = NO
  192. You can install it later with /script/installapp-update

  193. Adding System users and groups (nouser, nogroup and lxlabs, lxlabs)
  194. Installing LxCenter yum repository for updates
  195. Removing packages sendmail sendmail-cf sendmail-doc sendmail-devel exim vsftpd postfix vpopmail qmail lxphp lxzend pure-ftpd imap...
  196. Installing packages php-mbstring php-mysql which gcc-c++ php-imap php-pear php-devel lxlighttpd httpd mod_ssl zip unzip lxphp lxzend mysql mysql-server curl autoconf automake libtool bogofilter gcc cpp openssl pure-ftpd yum-protectbase...
  197. Loaded plugins: downloadonly, fastestmirror
  198. Loading mirror speeds from cached hostfile
  199. * base: mirrors.163.com
  200. * extras: mirrors.163.com
  201. * updates: mirrors.163.com
  202. http://download.lxcenter.org/download/update/rhel-release/i386/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
  203. Trying other mirror.
  204. Error: Cannot retrieve repository metadata (repomd.xml) for repository: lxcenter-updates. Please verify its path and try again
  205. YUM Gave Error... Trying Again...
  206. Try again? [y/N]: y
  207. Installing packages php-mbstring php-mysql which gcc-c++ php-imap php-pear php-devel lxlighttpd httpd mod_ssl zip unzip lxphp lxzend mysql mysql-server curl autoconf automake libtool bogofilter gcc cpp openssl pure-ftpd yum-protectbase...
  208. Loaded plugins: downloadonly, fastestmirror
  209. Loading mirror speeds from cached hostfile
  210. * base: mirrors.163.com
  211. * extras: mirrors.163.com
  212. * updates: mirrors.163.com
  213. http://download.lxcenter.org/download/update/rhel-release/i386/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
  214. Trying other mirror.
  215. Error: Cannot retrieve repository metadata (repomd.xml) for repository: lxcenter-updates. Please verify its path and try again
  216. YUM Gave Error... Trying Again...
  217. Try again? [y/N]: n
  218. - EXIT: Fix the problem and install Kloxo again.
  219. [root@localhost opt]#
  220. [root@localhost opt]# cd kloxo/
  221. [root@localhost kloxo]# yum check-update
  222. Loaded plugins: downloadonly, fastestmirror
  223. Loading mirror speeds from cached hostfile
  224. * base: mirrors.163.com
  225. * extras: mirrors.163.com
  226. * updates: mirrors.163.com
  227. http://download.lxcenter.org/download/update/rhel-release/i386/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
  228. Trying other mirror.
  229. Error: Cannot retrieve repository metadata (repomd.xml) for repository: lxcenter-updates. Please verify its path and try again
  230. [root@localhost kloxo]# yum -y check-update
  231. Loaded plugins: downloadonly, fastestmirror
  232. Loading mirror speeds from cached hostfile
  233. * base: mirrors.163.com
  234. * extras: mirrors.163.com
  235. * updates: mirrors.163.com
  236. http://download.lxcenter.org/download/update/rhel-release/i386/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
  237. Trying other mirror.
  238. Error: Cannot retrieve repository metadata (repomd.xml) for repository: lxcenter-updates. Please verify its path and try again
  239. [root@localhost kloxo]# yum update
  240. Loaded plugins: downloadonly, fastestmirror
  241. Loading mirror speeds from cached hostfile
  242. * base: mirrors.163.com
  243. * extras: mirrors.163.com
  244. * updates: mirrors.163.com
  245. http://download.lxcenter.org/download/update/rhel-release/i386/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
  246. Trying other mirror.
  247. Error: Cannot retrieve repository metadata (repomd.xml) for repository: lxcenter-updates. Please verify its path and try again
  248. [root@localhost kloxo]# yum -y install tcpdump
  249. Loaded plugins: downloadonly, fastestmirror
  250. Loading mirror speeds from cached hostfile
  251. * base: mirrors.163.com
  252. * extras: mirrors.163.com
  253. * updates: mirrors.163.com
  254. http://download.lxcenter.org/download/update/rhel-release/i386/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
  255. Trying other mirror.
  256. Error: Cannot retrieve repository metadata (repomd.xml) for repository: lxcenter-updates. Please verify its path and try again
  257. [root@localhost kloxo]# ping www.baidu.com
  258. PING www.a.shifen.com (119.75.217.56) 56(84) bytes of data.
  259. 64 bytes from 119.75.217.56: icmp_seq=1 ttl=128 time=30.1 ms
  260. 64 bytes from 119.75.217.56: icmp_seq=2 ttl=128 time=30.2 ms
  261. 64 bytes from 119.75.217.56: icmp_seq=3 ttl=128 time=28.4 ms
  262. 64 bytes from 119.75.217.56: icmp_seq=4 ttl=128 time=28.7 ms
  263. ^C64 bytes from 119.75.217.56: icmp_seq=5 ttl=128 time=31.3 ms

  264. --- www.a.shifen.com ping statistics ---
  265. 5 packets transmitted, 5 received, 0% packet loss, time 4817ms
  266. rtt min/avg/max/mdev = 28.489/29.805/31.375/1.081 ms
  267. [root@localhost kloxo]# rpm -qa |grep vsftpd
  268. [root@localhost kloxo]# yum -y install vsftpd
  269. Loaded plugins: downloadonly, fastestmirror
  270. Loading mirror speeds from cached hostfile
  271. * base: mirrors.163.com
  272. * extras: mirrors.163.com
  273. * updates: mirrors.163.com
  274. http://download.lxcenter.org/download/update/rhel-release/i386/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
  275. Trying other mirror.
  276. Error: Cannot retrieve repository metadata (repomd.xml) for repository: lxcenter-updates. Please verify its path and try again
  277. [root@localhost kloxo]#
复制代码


谢谢!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP