VPS侦探论坛

 找回密码
 注册
搜索
查看: 531|回复: 3

Error: MySQL install failed

[复制链接]
发表于 2018-11-25 10:24:02 | 显示全部楼层 |阅读模式

军哥,安装lnmp报错,这是安装完成后的信息
mysql版本我装的5.7
内存;
  1.               
  2. total        used        free      shared  buff/cache   available
  3. Mem:           2846         215         155           8        2475        2403
  4. Swap:           255           0         255
复制代码
  1. ============================Install PHPMyAdmin=================================
  2. ============================phpMyAdmin install completed=======================
  3. The service command supports only basic LSB actions (start, stop, restart, try-restart, reload, force-reload, status). For other actions, please try to use systemctl.
  4. Removed symlink /etc/systemd/system/multi-user.target.wants/firewalld.service.
  5. Removed symlink /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.
  6. Add Startup and Starting LNMP...
  7. Add nginx service at system startup...
  8. Starting nginx...  done
  9. Add mysql service at system startup...
  10. error reading information on service mysql: No such file or directory
  11. error reading information on service mysql: No such file or directory
  12. include/end.sh: line 49: /etc/init.d/mysql: No such file or directory
  13. Add php-fpm service at system startup...
  14. Starting php-fpm  done
  15. ============================== Check install ==============================
  16. Checking ...
  17. Nginx: OK
  18. Error: MySQL install failed.
  19. PHP: OK
  20. PHP-FPM: OK
  21. Sorry, Failed to install LNMP!
  22. Please visit https://bbs.vpser.net/forum-25-1.html feedback errors and logs.
  23. You can download /root/lnmp-install.log from your server,and upload lnmp-install.log to LNMP Forum.
复制代码


日志已上传

本帖子中包含更多资源

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

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

  1. Notice: boost_1_59_0.tar.bz2 not found!!!download now...
  2. --2018-11-25 09:57:59--  https://soft.vpser.net/lib/boost/boost_1_59_0.tar.bz2
  3. Resolving soft.vpser.net (soft.vpser.net)... 2600:3c01::f03c:91ff:fe92:1a06
  4. Connecting to soft.vpser.net (soft.vpser.net)|2600:3c01::f03c:91ff:fe92:1a06|:443... failed: Network is unreachable.
  5. Uncompress boost_1_59_0.tar.bz2...
  6. tar (child): boost_1_59_0.tar.bz2: Cannot open: No such file or directory
  7. tar (child): Error is not recoverable: exiting now
  8. tar: Child returned status 2
  9. tar: Error is not recoverable: exiting now
  10. cd boost_1_59_0...
复制代码

自己查看了下,是boost未下载成功导致安装失败,因为mysql5.7依赖它
但是我在服务器手动wget https://soft.vpser.net/lib/boost/boost_1_59_0.tar.bz2 却可以正常下载
所以我手动进行了安装,又在lnmp安装目录命令./install.sh db重新安装
现在已经78%,不知道是否会成功

奇怪的我同时安装了两台服务器,另外一台却安装正常。
至于这台为什么没有下载boost成功,报错提示Network is unreachable,但是网络明明没问题的。
军哥是不是在这里要加个boost源或者处理什么的。

现在在等待安装。

美国VPS、VPN、域名代购:http://shop63846532.taobao.com/

 楼主| 发表于 2018-11-25 13:35:03 | 显示全部楼层

已经解决了军哥,两台均已安装成功!
  1. Starting MySQL..Logging to '/usr/local/mysql/var/AcceptableShady-VM.err'.
  2. SUCCESS!
  3. Shutting down MySQL.. SUCCESS!
  4. Starting MySQL.. SUCCESS!
  5. mysqladmin: [Warning] Using a password on the command line interface can be insecure.
  6. Warning: Since password will be sent to server in plain text, use ssl connection to ensure password safety.
  7. Shutting down MySQL.. SUCCESS!
  8. Starting MySQL.. SUCCESS!
  9. OK, MySQL root password correct.
  10. Update root password...
  11. ... Success.
  12. Remove anonymous users...
  13. ERROR 1396 (HY000) at line 1: Operation DROP USER failed for ''@'%'
  14. ... Failed!
  15. Disallow root login remotely...
  16. ... Success.
  17. Remove test database...
  18. ERROR 1008 (HY000) at line 1: Can't drop database 'test'; database doesn't exist
  19. ... Failed!
  20. Reload privilege tables...
  21. ... Success.
  22. Shutting down MySQL.. SUCCESS!
  23. Starting MySQL.. SUCCESS!
  24. Shutting down MySQL. SUCCESS!
  25. Add mysql service at system startup...
  26. Starting MySQL.. SUCCESS!
  27. MySQL: OK
  28. MySQL root password: 3**********
  29. Install mysql-5.7.22 completed! enjoy it.
复制代码
美国VPS推荐: 遨游主机LinodeLOCVPSKVMLAVPS2EZ搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2018-11-25 13:35:18 | 显示全部楼层

回复 2# 的帖子




有可能你服务器没有设置ipv6,但是开了ipv6,导致解析到了ipv6的地址上
美国VPS推荐: 遨游主机LinodeLOCVPSKVMLAVPS2EZ搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2019-7-19 08:30 , Processed in 0.182753 second(s), 27 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

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