Board logo

标题: [求助] --Install Error: apache make install err --帮忙看看 谢谢 [打印本页]

作者: nackblack    时间: 2013-8-3 02:53     标题: --Install Error: apache make install err --帮忙看看 谢谢

操作系统是CentOS 6.4 64bit 安装了好多遍都是这个错误 帮忙看看 谢谢啦
安装的是lanmp v2.5一键安装包


  1. [root@cloud lanmp]# ./install.sh
  2. Select Install
  3.     1 apache + php + mysql + zend + eAccelerator + pureftpd + phpmyadmin
  4.     2 nginx + php + mysql + zend + eAccelerator + pureftpd + phpmyadmin
  5.     3 nginx + apache + php + mysql + zend + eAccelerator + pureftpd + phpmyadmin
  6.     4 install all service
  7.     5 don't install is now

  8. Please Input 1,2,3,4,5: 4
  9. Select php version:
  10.     1 php-5.2.17 (default)
  11.     2 php-5.3.26

  12. Please Input 1,2: 2
  13. Preparing...                        package rpmforge-release-0.5.2-2.el5.rf.x86_64 is already installed
  14. ##################################################
  15. Loaded plugins: fastestmirror, refresh-packagekit, security
  16. Loading mirror speeds from cached hostfile
  17. YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
  18. Eg. <frame id="fr1" src=""></frameset><body></body></html>/
  19. * base: mirrors.grandcloud.cn
  20. * extras: mirrors.grandcloud.cn
  21. * updates: mirrors.grandcloud.cn
  22. http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/repodata/repomd.xml: [Errno -1] Error importing repomd.xml for rpmforge: Damaged repomd.xml file
  23. Trying other mirror.
  24. Setting up Install Process
  25. Package gcc-4.4.7-3.el6.x86_64 already installed and latest version
  26. Package gcc-c++-4.4.7-3.el6.x86_64 already installed and latest version
  27. Package 1:make-3.81-20.el6.x86_64 already installed and latest version
  28. Package sudo-1.8.6p3-7.el6.x86_64 already installed and latest version
  29. Package autoconf-2.63-5.1.el6.noarch already installed and latest version
  30. Package libtool-ltdl-devel-2.2.6-15.5.el6.x86_64 already installed and latest version
  31. Package gd-devel-2.0.35-11.el6.x86_64 already installed and latest version
  32. Package freetype-devel-2.3.11-14.el6_3.1.x86_64 already installed and latest version
  33. Package libxml2-devel-2.7.6-12.el6_4.1.x86_64 already installed and latest version
  34. Package libjpeg-turbo-devel-1.2.1-1.el6.x86_64 already installed and latest version
  35. Package 2:libpng-devel-1.2.49-1.el6_2.x86_64 already installed and latest version
  36. Package openssl-devel-1.0.0-27.el6_4.2.x86_64 already installed and latest version
  37. Package libcurl-devel-7.19.7-37.el6_4.x86_64 already installed and latest version
  38. Package patch-2.6-6.el6.x86_64 already installed and latest version
  39. Package libmcrypt-devel-2.5.7-1.2.el5.rf.x86_64 already installed and latest version
  40. Package mhash-devel-0.9.9-1.el5.rf.x86_64 already installed and latest version
  41. Package ncurses-devel-5.7-3.20090208.el6.x86_64 already installed and latest version
  42. Package bzip2-1.0.5-7.el6_0.x86_64 already installed and latest version
  43. Package libcap-devel-2.16-5.5.el6.x86_64 already installed and latest version
  44. Package ntp-4.2.4p8-3.el6.centos.x86_64 already installed and latest version
  45. No package sysklogd available.
  46. Package diffutils-2.8.1-28.el6.x86_64 already installed and latest version
  47. Package sendmail-8.14.4-8.el6.x86_64 already installed and latest version
  48. Package iptables-1.4.7-9.el6.x86_64 already installed and latest version
  49. Package unzip-6.0-1.el6.x86_64 already installed and latest version
  50. Nothing to do
  51. 3 Aug 02:25:12 ntpdate[2210]: adjust time server 218.30.114.84 offset -0.226536 sec
  52. setenforce: SELinux is disabled
  53. httpd: 未被识别的服务
  54. mysqld: 未被识别的服务
  55. 在 httpd 服务中读取信息时出错:没有那个文件或目录
  56. 在 mysqld 服务中读取信息时出错:没有那个文件或目录
  57. groupadd: group 'mysql' already exists

  58. installing mysql...
  59. Starting MySQL.                                            [确定]


  60. pcre installing...

  61. installing nginx...

  62. installing httpd...


  63. ----Install Error: apache make install err -----------


  64. Preparing...                        package rpmforge-release-0.5.2-2.el5.rf.x86_64 is already installed
  65. ##################################################
  66. Loaded plugins: fastestmirror, refresh-packagekit, security
  67. Loading mirror speeds from cached hostfile
  68. YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
  69. Eg. <frame id="fr1" src=""></frameset><body></body></html>/
  70. * base: mirrors.grandcloud.cn
  71. * extras: mirrors.grandcloud.cn
  72. * updates: mirrors.grandcloud.cn
  73. Setting up Install Process
  74. Package gcc-4.4.7-3.el6.x86_64 already installed and latest version
  75. Package gcc-c++-4.4.7-3.el6.x86_64 already installed and latest version
  76. Package 1:make-3.81-20.el6.x86_64 already installed and latest version
  77. Package sudo-1.8.6p3-7.el6.x86_64 already installed and latest version
  78. Package autoconf-2.63-5.1.el6.noarch already installed and latest version
  79. Package libtool-ltdl-devel-2.2.6-15.5.el6.x86_64 already installed and latest version
  80. Package gd-devel-2.0.35-11.el6.x86_64 already installed and latest version
  81. Package freetype-devel-2.3.11-14.el6_3.1.x86_64 already installed and latest version
  82. Package libxml2-devel-2.7.6-12.el6_4.1.x86_64 already installed and latest version
  83. Package libjpeg-turbo-devel-1.2.1-1.el6.x86_64 already installed and latest version
  84. Package 2:libpng-devel-1.2.49-1.el6_2.x86_64 already installed and latest version
  85. Package openssl-devel-1.0.0-27.el6_4.2.x86_64 already installed and latest version
  86. Package libcurl-devel-7.19.7-37.el6_4.x86_64 already installed and latest version
  87. Package patch-2.6-6.el6.x86_64 already installed and latest version
  88. Package libmcrypt-devel-2.5.7-1.2.el5.rf.x86_64 already installed and latest version
  89. Package mhash-devel-0.9.9-1.el5.rf.x86_64 already installed and latest version
  90. Package ncurses-devel-5.7-3.20090208.el6.x86_64 already installed and latest version
  91. Package bzip2-1.0.5-7.el6_0.x86_64 already installed and latest version
  92. Package libcap-devel-2.16-5.5.el6.x86_64 already installed and latest version
  93. Package ntp-4.2.4p8-3.el6.centos.x86_64 already installed and latest version
  94. No package sysklogd available.
  95. Package unzip-6.0-1.el6.x86_64 already installed and latest version
  96. Nothing to do
  97. 3 Aug 02:37:41 ntpdate[26866]: adjust time server 218.30.114.84 offset 0.069392 sec
  98. setenforce: SELinux is disabled
  99. groupadd: group 'wdcpg' already exists
  100. useradd: user 'wdcpu' already exists


  101. installing wdcp apache...
  102. ln: 创建符号链接 "/etc/init.d/wdapache": 文件已存在
  103. 正在启动 httpd:Warning: DocumentRoot [/www/wdlinux/wdcp] does not exist
  104.                                                            [确定]
  105. iptables:将防火墙规则保存到 /etc/sysconfig/iptables:     [确定]

  106. installing wdcp php...

  107. pureftpd installing...

  108. all is OK
  109. 停止 httpd:                                               [确定]
  110. 正在启动 httpd:                                           [确定]
  111. 停止 pure-ftpd:                                           [失败]
  112. 正在启动 pure-ftpd:



  113.       configurations, wdcp install is complete
  114.       visit http://ip:8080
  115.       more infomation please visit http://www.wdlinux.cn
复制代码

作者: nackblack    时间: 2013-8-3 08:59

为什么没有人理我
作者: itxx    时间: 2013-8-3 09:48

回复 2# nackblack

查看一下安装目录下面的logs目录中lanmp_ins_apache_install.log  然后把后面的错误部分复制上来,方便我们排错。
作者: nackblack    时间: 2013-8-3 10:31

http://pan.baidu.com/share/link?shareid=3366113641&uk=520485167
我把apache安装日志发到网盘了  版主帮我看看  最后确实有个错误 但是不知道怎么解决 谢谢  

再次谢谢
作者: itxx    时间: 2013-8-3 11:00

回复 4# nackblack

看日志可能的原因是因为之前有安装过,再次安装的时候之前解压出来的httpd安装包里面不干净,你可以到lanmp目录中 把之前解压出来的所有目录全部删除掉,再干净的重新安装一遍。同时我们一键安装包脚本里面也会改进,自动清理之前的残留。
作者: nackblack    时间: 2013-8-3 11:04

你可以到lanmp目录中 把之前解压出来的所有目录全部删除掉

这个目录是lanmp安装目录还是安装文件的目录呢 我找了一下 好像没有找到啊
作者: itxx    时间: 2013-8-3 12:29

回复 6# nackblack

软件包存放目录
作者: nackblack    时间: 2013-8-3 16:15

好的  我去看看  
作者: flypomly    时间: 2014-6-9 16:30

我也是同样的问题啊,帮忙看看,日志已上传到附件

附件: lanmp_apache_install.log.doc (2014-6-9 16:29, 541 KB) / 下载次数 0
http://wdlinux.cn/bbs/attachment.php?aid=4581&k=64758bb81f2f7ef89338ac20332b3b0c&t=1734891131&sid=vO35uj




欢迎光临 WDlinux官方论坛 (http://wdlinux.cn/bbs/) Powered by Discuz! 7.2