VPS侦探论坛

 找回密码
 注册
查看: 4372|回复: 11

MySQL安装失败在线等

[复制链接]
发表于 2021-5-12 11:55:12 | 显示全部楼层 |阅读模式

MySQL安装失败在线等
谢谢大佬

本帖子中包含更多资源

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

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2021-5-12 20:03:28 | 显示全部楼层


Loaded plugins: fastestmirror
Determining fastest mirrors


One of the configured repositories failed (Unknown),
and yum doesn't have enough cached data to continue. At this point the only
safe thing yum can do is fail. There are a few ways to work "fix" this:

     1. Contact the upstream for the repository and get them to fix the problem.

     2. Reconfigure the baseurl/etc. for the repository, to point to a working
        upstream. This is most often useful if you are using a newer
        distribution release than is supported by the repository (and the
        packages for the previous distribution release still work).

     3. Run the command with the repository temporarily disabled
            yum --disablerepo=<repoid> ...

     4. Disable the repository permanently, so yum won't use it by default. Yum
        will then just ignore the repository until you permanently enable it
        again or use --enablerepo for temporary usage:

            yum-config-manager --disable <repoid>
        or
            subscription-manager repos --disable=<repoid>

     5. Configure the failing repository to be skipped, if it is unavailable.
        Note that yum will try to contact the repo. when it runs most commands,
        so will have to try and fail each time (and thus. yum will be be much
        slower). If it is a very temporary problem though, this is often a nice
        compromise:

            yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true

Cannot retrieve metalink for repository: epel/x86_64. Please verify its path and try again
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile


One of the configured repositories failed (Unknown),
and yum doesn't have enough cached data to continue. At this point the only
safe thing yum can do is fail. There are a few ways to work "fix" this:

     1. Contact the upstream for the repository and get them to fix the problem.

     2. Reconfigure the baseurl/etc. for the repository, to point to a working
        upstream. This is most often useful if you are using a newer
        distribution release than is supported by the repository (and the
        packages for the previous distribution release still work).

     3. Run the command with the repository temporarily disabled
            yum --disablerepo=<repoid> ...

     4. Disable the repository permanently, so yum won't use it by default. Yum
        will then just ignore the repository until you permanently enable it
        again or use --enablerepo for temporary usage:

            yum-config-manager --disable <repoid>
        or
            subscription-manager repos --disable=<repoid>

     5. Configure the failing repository to be skipped, if it is unavailable.
        Note that yum will try to contact the repo. when it runs most commands,
        so will have to try and fail each time (and thus. yum will be be much
        slower). If it is a very temporary problem though, this is often a nice
        compromise:

            yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true

Cannot retrieve metalink for repository: epel/x86_64. Please verify its path and try again
。。。。。。。
include/mysql.sh: line 400: cmake: command not found

你系统上系统源都无法正常工作,肯定会导致依赖包无法安装,所以也就安装失败了
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2021-5-13 10:06:48 | 显示全部楼层

一样的情况,尝试用了CENTOS的各种版本,包括UBUNTU18.04,都是到最后安装 MYSQL失败,然后单独安装 MYSQL也是失败。
看到这个贴子,更新了YUM源,改为阿里云的,依然失败。附上数据库安装日志。

本帖子中包含更多资源

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

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2021-5-13 10:18:31 | 显示全部楼层



附上1.8测试版数据库的安装日志,同样是安装失败。

本帖子中包含更多资源

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

x
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2021-5-13 15:51:22 | 显示全部楼层

tkinfo 发表于 2021-5-13 10:18
附上1.8测试版数据库的安装日志,同样是安装失败。

前面压缩包是空的,没有任何文件

ERROR: 1  Can't create/write to file '/usr/local/mysql/var/mysql/db.MYI' (Errcode: 13)
你服务器上目录无法正常写入
不清楚你服务器是什么环境,如果所有系统安装都失败那就是你环境问题了
lnmp在目前主流vps服务商、pve、vmware上都测试过了

军哥运维代购:http://shop63846532.taobao.com/

发表于 2021-5-13 17:36:56 | 显示全部楼层

环境是移动云的EC云主机,那个报错之前也看了,当时就手工在目录下建立文件是正常的,目录是可以读写的,但是MYSQL安装完成后,数据库mysql是目录确实是空的,所以用CENTOS的7。3试到7。7都不行,然后装了UBUNTU,还是一同样的错误,系统盘大小是20G,但是装LNMP环境也足够用了吧
发表于 2021-5-13 17:39:42 | 显示全部楼层

本帖最后由 tkinfo 于 2021-5-13 17:42 编辑

附上安装完成后数据库目录的截图

手工建立文件夹操作都是正常的。





PS:系统 提示今日无法上传更多附件,图片暂时上传不了。
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2021-5-13 17:49:57 | 显示全部楼层

Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2021-5-14 09:39:57 | 显示全部楼层


检查 /tmp 是否可写,是否单独的分区,是否已满

方便的话短消息ip、root密码我测试看看
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2021-5-17 09:07:26 | 显示全部楼层



已发送,请查收 。
发表于 2021-5-17 10:19:51 | 显示全部楼层

tkinfo 发表于 2021-5-17 09:07
已发送,请查收 。

不确定什么问题,如screen运行中有被kill了现象
有可能系统有安全组件拦截之类的

建议不要使用移动云自带的系统,我尝试dd重装系统貌似好像没成功不清楚原因,建议看看后台上有没有挂载iso的选项
发表于 2021-5-17 11:50:32 | 显示全部楼层

恩,看来是移动云的问题,我在阿里云上新开一个轻量云服务器,安装正常。
看来LNMP目前不太适合用移动云的主机。
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-21 00:38 , Processed in 0.030325 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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