VPS侦探论坛

 找回密码
 注册
查看: 6035|回复: 4

Centos7.6 mysql8.0安装报错

[复制链接]
发表于 2019-4-23 10:16:34 | 显示全部楼层 |阅读模式

Checking ...
Nginx: OK
MySQL: OK
PHP: OK
PHP-FPM: OK
Clean src directory...
+------------------------------------------------------------------------+
|          LNMP V1.5 for CentOS Linux Server, Written by Licess          |
+------------------------------------------------------------------------+
|           For more information please visit https://lnmp.org           |
+------------------------------------------------------------------------+
|    lnmp status manage: lnmp {start|stop|reload|restart|kill|status}    |
+------------------------------------------------------------------------+
|  phpMyAdmin: http://IP/phpmyadmin/                                     |
|  phpinfo: http://IP/phpinfo.php                                        |
|  Prober:  http://IP/p.php                                              |
+------------------------------------------------------------------------+
|  Add VirtualHost: lnmp vhost add                                       |
+------------------------------------------------------------------------+
|  Default directory: /home/wwwroot/default                              |
+------------------------------------------------------------------------+
|  MySQL/MariaDB root password: lnmp.org#25699                          |
+------------------------------------------------------------------------+
+-------------------------------------------+
|    Manager for LNMP, Written by Licess    |
+-------------------------------------------+
|              https://lnmp.org             |
+-------------------------------------------+
nginx (pid 22678 22677 22676) is running...
php-fpm is runing!
ERROR! MySQL is not running, but lock file (/var/lock/subsys/mysql) exists
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State      
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN     
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN     
Install lnmp takes 55 minutes.
Install lnmp V1.5 completed! enjoy it.
[root@iZbp183wql3f1ykcqckyboZ lnmp1.5]#
[root@iZbp183wql3f1ykcqckyboZ lnmp1.5]#
[root@iZbp183wql3f1ykcqckyboZ lnmp1.5]#
[root@iZbp183wql3f1ykcqckyboZ lnmp1.5]# lnmp restart
+-------------------------------------------+
|    Manager for LNMP, Written by Licess    |
+-------------------------------------------+
|              https://lnmp.org             |
+-------------------------------------------+
Stoping LNMP...
Stoping nginx...  done
ERROR! MySQL server PID file could not be found!
Gracefully shutting down php-fpm . done
Starting LNMP...
Starting nginx...  done
Starting MySQL.Logging to '/usr/local/mysql/var/iZbp183wql3f1ykcqckyboZ.err'.
/usr/local/mysql/bin/mysqld_safe: line 199: 23942 Segmentation fault      env MYSQLD_PARENT_PID=23425 nohup /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --datadir=/usr/local/mysql/var --plugin-dir=/usr/local/mysql/lib/plugin --user=mysql --log-error=iZbp183wql3f1ykcqckyboZ.err --open-files-limit=65535 --pid-file=/usr/local/mysql/var/iZbp183wql3f1ykcqckyboZ.pid --socket=/tmp/mysql.sock --port=3306 < /dev/null > /dev/null 2>&1
ERROR! The server quit without updating PID file (/usr/local/mysql/var/iZbp183wql3f1ykcqckyboZ.pid).
Starting php-fpm  done
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2019-4-23 13:00:52 | 显示全部楼层


发日志看一下
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2019-5-3 22:29:37 | 显示全部楼层

本帖最后由 kiddyu 于 2019-5-3 22:39 编辑

遇到了同样的问题,/usr/local/mysql/var/ 中没有信息
补个安装日志




补充内容 (2019-5-3 22:54):
http://133.130.63.135/lnmp-install.log
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2019-5-4 09:47:52 | 显示全部楼层



kiddyu 发表于 2019-5-3 22:29
遇到了同样的问题,/usr/local/mysql/var/ 中没有信息
补个安装日志

日志无法下载,按反馈必读要求传个网盘
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2019-5-7 20:33:34 | 显示全部楼层

看了一下探针,只有1g的物理内存不能安装mysql 8的,我2g的物理内存都安装失败,要swap才行,网上看见有人yum安装成功。

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

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-10-18 12:42 , Processed in 0.027086 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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