VPS侦探论坛

 找回密码
 注册
查看: 2963|回复: 3

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

[复制链接]
发表于 2016-12-22 06:18:42 | 显示全部楼层 |阅读模式

问题描述:按照官方文档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 编辑 ]

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 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 后再重新安装
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2016-12-22 11:42:27 | 显示全部楼层

回复 2# 的帖子


谢谢!重装需要先卸载吗?先执行下uninstall.sh这个,再重新安装吗?
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2016-12-22 15:55:50 | 显示全部楼层

回复 3# 的帖子




谢谢军哥,已解决,按照你说的安装了cmake,没有卸载原有的安装,覆盖安装了下,完成后页面无法访问,然后把lnmp停掉,重新启动下好了。
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-28 05:33 , Processed in 0.027025 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表