VPS侦探论坛

 找回密码
 注册
查看: 948|回复: 2

新安装时mysql总是出错安装不上

[复制链接]
发表于 2017-10-15 04:29:16 | 显示全部楼层 |阅读模式



安装1.3或1.4全是这个提示,起先是SQL的一个PID无法创建,导致数据库启动失败(
MySQL server PID file could not be found!),不知道为什么,然后就重装了,怎么装都是这个提示。真是急死了!!!

============================Install PHPMyAdmin=================================
============================phpMyAdmin install completed=======================
iptables: Saving firewall rules to /etc/sysconfig/iptables:[  OK  ]
Add Startup and Starting LNMP...
Add nginx service at system startup...
Starting nginx...  done
Add mysql service at system startup...
/etc/init.d/mysql: line 244: my_print_defaults: command not found
Starting MySQL ERROR! Couldn't find MySQL server (/usr/local/mysql/bin/mysqld_safe)
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.
[root@US lnmp1.4]#

[ 本帖最后由 zxar520 于 2017-10-15 04:30 编辑 ]

本帖子中包含更多资源

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

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

Scanning dependencies of target GenError
[ 22%] Generating ../include/mysqld_error.h, ../sql/share/english/errmsg.sys
/bin/sh: line 1:  4771 Segmentation fault      ./comp_err --charset=/root/lnmp1.4/src/mysql-5.5.56/sql/share/charsets --out-dir=/root/lnmp1.4/src/mysql-5.5.56/sql/share/ --header_file=/root/lnmp1.4/src/mysql-5.5.56/include/mysqld_error.h --name_file=/root/lnmp1.4/src/mysql-5.5.56/include/mysqld_ername.h --state_file=/root/lnmp1.4/src/mysql-5.5.56/include/sql_state.h --in_file=/root/lnmp1.4/src/mysql-5.5.56/sql/share/errmsg-utf8.txt
make[2]: *** [include/mysqld_error.h] Error 139
make[1]: *** [extra/CMakeFiles/GenError.dir/all] Error 2

mysql都没安装成功,不清楚原因,建议换centos7试试

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

 楼主| 发表于 2017-10-15 14:08:08 | 显示全部楼层



在centos7上测试安装是正常,就是不知道为什么6的为什么突然不行了,难道是他们更换了ISO不支持?
美国VPS推荐: 遨游主机LinodeLOCVPSKVMLAVPS2EZ搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2019-8-26 05:18 , Processed in 0.045110 second(s), 27 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

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