VPS侦探论坛

 找回密码
 注册
查看: 4900|回复: 5

debian 8 64bit安装mysql失败

[复制链接]
发表于 2016-5-30 10:36:56 | 显示全部楼层 |阅读模式

============================== 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.

============================== Check install ==============================


[ 98%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/sql_yacc.cc.o
c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.9/README.Bugs> for instructions.
libmysqld/CMakeFiles/sql_embedded.dir/build.make:3021: recipe for target 'libmysqld/CMakeFiles/sql_embedded.dir/__/sql/sql_yacc.cc.o' failed
make[2]: *** [libmysqld/CMakeFiles/sql_embedded.dir/__/sql/sql_yacc.cc.o] Error 4
CMakeFiles/Makefile2:4515: recipe for target 'libmysqld/CMakeFiles/sql_embedded.dir/all' failed
make[1]: *** [libmysqld/CMakeFiles/sql_embedded.dir/all] Error 2
Makefile:147: recipe for target 'all' failed
make: *** [all] Error 2
include/mysql.sh: line 115: /usr/local/mysql/scripts/mysql_install_db: No such file or directory
chown: cannot access ‘/usr/local/mysql/var’: No such file or directory
chgrp: cannot access ‘/usr/local/mysql/.’: No such file or directory
Starting mysql (via systemctl): mysql.serviceFailed to start mysql.service: Unit mysql.service failed to load: No such file or directory.
failed!
include/mysql.sh: line 30: /usr/local/mysql/bin/mysqladmin: No such file or directory
include/mysql.sh: line 42: /usr/local/mysql/bin/mysql: No such file or directory
Restarting mysql (via systemctl): mysql.serviceFailed to restart mysql.service: Unit mysql.service failed to load: No such file or directory.
failed!
Stopping mysql (via systemctl): mysql.serviceFailed to stop mysql.service: Unit mysql.service not loaded.
failed!

本帖子中包含更多资源

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

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


[ 98%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/sql_yacc.cc.o
c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.9/README.Bugs> for instructions.

内存不够导致的
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2016-5-30 14:46:12 | 显示全部楼层

请问除了增加内存还有其他解决办法吗?
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2016-5-30 21:02:09 | 显示全部楼层



xen或kvm的话可以增加swap试试

也可以安装mysql 5.1试试
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2016-6-1 13:55:21 | 显示全部楼层

好的,我去试试看,十分感谢!

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

 楼主| 发表于 2016-6-1 16:28:46 | 显示全部楼层

改成32位系统安装成功
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-11-7 13:53 , Processed in 0.027914 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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