打印

Error: MySQL install failed

Error: MySQL install failed

军哥,安装lnmp报错,这是安装完成后的信息
mysql版本我装的5.7
内存;
复制内容到剪贴板
代码:
              
total        used        free      shared  buff/cache   available
Mem:           2846         215         155           8        2475        2403
Swap:           255           0         255
复制内容到剪贴板
代码:
============================Install PHPMyAdmin=================================
============================phpMyAdmin install completed=======================
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.
Removed symlink /etc/systemd/system/multi-user.target.wants/firewalld.service.
Removed symlink /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.
Add Startup and Starting LNMP...
Add nginx service at system startup...
Starting nginx...  done
Add mysql service at system startup...
error reading information on service mysql: No such file or directory
error reading information on service mysql: No such file or directory
include/end.sh: line 49: /etc/init.d/mysql: No such file or directory
Add php-fpm service at system startup...
Starting php-fpm  done
============================== Check install ==============================
Checking ...
Nginx: OK
Error: MySQL install failed.
PHP: OK
PHP-FPM: OK
Sorry, Failed to install LNMP!
Please visit https://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.
日志已上传
附件: 您所在的用户组无法下载或查看附件

TOP

复制内容到剪贴板
代码:
Notice: boost_1_59_0.tar.bz2 not found!!!download now...
--2018-11-25 09:57:59--  https://soft.vpser.net/lib/boost/boost_1_59_0.tar.bz2
Resolving soft.vpser.net (soft.vpser.net)... 2600:3c01::f03c:91ff:fe92:1a06
Connecting to soft.vpser.net (soft.vpser.net)|2600:3c01::f03c:91ff:fe92:1a06|:443... failed: Network is unreachable.
Uncompress boost_1_59_0.tar.bz2...
tar (child): boost_1_59_0.tar.bz2: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
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源或者处理什么的。

现在在等待安装。

TOP

已经解决了军哥,两台均已安装成功!
复制内容到剪贴板
代码:
Starting MySQL..Logging to '/usr/local/mysql/var/AcceptableShady-VM.err'.
SUCCESS!
Shutting down MySQL.. SUCCESS!
Starting MySQL.. SUCCESS!
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
Warning: Since password will be sent to server in plain text, use ssl connection to ensure password safety.
Shutting down MySQL.. SUCCESS!
Starting MySQL.. SUCCESS!
OK, MySQL root password correct.
Update root password...
... Success.
Remove anonymous users...
ERROR 1396 (HY000) at line 1: Operation DROP USER failed for ''@'%'
... Failed!
Disallow root login remotely...
... Success.
Remove test database...
ERROR 1008 (HY000) at line 1: Can't drop database 'test'; database doesn't exist
... Failed!
Reload privilege tables...
... Success.
Shutting down MySQL.. SUCCESS!
Starting MySQL.. SUCCESS!
Shutting down MySQL. SUCCESS!
Add mysql service at system startup...
Starting MySQL.. SUCCESS!
MySQL: OK
MySQL root password: 3**********
Install mysql-5.7.22 completed! enjoy it.

TOP

回复 2# 的帖子

有可能你服务器没有设置ipv6,但是开了ipv6,导致解析到了ipv6的地址上

LNMP付费问题排查/LNMP技术支持/Paypal信用卡代付/代购VPS,域名,软件等 QQ 503228080 旺旺 lzhenbao
军哥淘宝店铺
QQ/旺旺仅提供代购及付费代维/问题解决等服务,其他不回复!LNMP相关问题请在本论坛发帖,提问前先搜索,按https://bbs.vpser.net/thread-2555-1-1.html 要求反馈问题!

TOP