jsl668 发表于 2015-6-13 09:50:51

mysql安装失败

make: 离开目录“/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:
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-fpmdone
============================== 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 编辑 ]

licess 发表于 2015-6-13 12:25:22

请上传完整安装日志

jsl668 发表于 2015-6-14 16:17:06

mysql安装失败

test -d '/usr/local/nginx/logs' ||
mkdir -p '/usr/local/nginx/logs'
make: 离开目录“/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:
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-fpmdone
============================== 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.

licess 发表于 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: *** 错误 4

内存不足引起的
增加xen或kvm的话增加swap后试试,也可以看看系统里面有什么暂时不需要运行的进程都kill掉后安装
页: [1]
查看完整版本: mysql安装失败