VPS侦探论坛

 找回密码
 注册
查看: 5037|回复: 3

mysql安装失败

[复制链接]
发表于 2015-6-13 09:50:51 | 显示全部楼层 |阅读模式

make[1]: 离开目录“/data/lnmp1.2-full/src/nginx-1.8.0”
Create PHP Info Tool...
Copy PHP Prober...
============================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:行256: my_print_defaults: 未找到命令
/etc/init.d/mysql: 第 276 行:cd: /usr/local/mysql: 没有那个文件或目录
Starting MySQLCouldn'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.

[ 本帖最后由 jsl668 于 2015-6-13 14:15 编辑 ]

本帖子中包含更多资源

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

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


请上传完整安装日志
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2015-6-14 16:17:06 | 显示全部楼层

mysql安装失败


test -d '/usr/local/nginx/logs' ||
mkdir -p '/usr/local/nginx/logs'
make[1]: 离开目录“/data/lnmp1.2-full/src/nginx-1.8.0”
Create PHP Info Tool...
Copy PHP Prober...
============================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:行256: my_print_defaults: 未找到命令
/etc/init.d/mysql: 第 276 行:cd: /usr/local/mysql: 没有那个文件或目录
Starting MySQLCouldn'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.

本帖子中包含更多资源

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

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



c++: 编译器内部错误:已杀死(程序 cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
make[2]: *** [sql/CMakeFiles/sql.dir/sql_yacc.cc.o] 错误 4

内存不足引起的
增加xen或kvm的话增加swap后试试,也可以看看系统里面有什么暂时不需要运行的进程都kill掉后安装
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-11-16 17:36 , Processed in 0.027030 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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