wish5115 发表于 2016-12-22 06:18:42

lnmp1.3-full安装完成后出现失败信息Error: MySQL install failed

问题描述:按照官方文档https://lnmp.org/install.html安装(lnmp1.3-full),安装完成后出现以下报错信息:

Checking ...
Nginx: OK
Error: MySQL install failed.
PHP: OK
PHP-FPM: OK
Sorry, Failed to install LNMP!
Please visit http://bbs.vpser.net/forum-25-1.html feedback errors and logs.
You can download /root/lnmp-install.log from your server,and upload lnmp-install.log to LNMP Forum.



请帮助排查并给出解决方法,万分感谢!

系统信息及安装日志如下:
1. 系统:centos6.5 64位(Linux S165342.domain 2.6.32-431.23.3.el6.x86_64 #1 SMP Thu Jul 31 17:20:51 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux) 服务商:美橙互联(橙云主机:http://www.cndns.com/cn/cloud/)

2. 安装失败日志见附件

[ 本帖最后由 wish5115 于 2016-12-22 06:21 编辑 ]

licess 发表于 2016-12-22 10:06:44


Error: Cannot find a valid baseurl for repo: base
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os error was
12: Timeout on http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os: (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds')
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
Error: Cannot find a valid baseurl for repo: base
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os error was
12: Timeout on http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os: (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds')
.............
include/mysql.sh: line 269: cmake: command not found
前面安装基本依赖包是可能源太慢没安装上cmake,换个系统源或再运行一下yum install cmake 后再重新安装

wish5115 发表于 2016-12-22 11:42:27

回复 2# 的帖子

谢谢!重装需要先卸载吗?先执行下uninstall.sh这个,再重新安装吗?

wish5115 发表于 2016-12-22 15:55:50

回复 3# 的帖子

谢谢军哥,已解决,按照你说的安装了cmake,没有卸载原有的安装,覆盖安装了下,完成后页面无法访问,然后把lnmp停掉,重新启动下好了。
页: [1]
查看完整版本: lnmp1.3-full安装完成后出现失败信息Error: MySQL install failed