1、安装环境:CubieBoard(A10处理器,1G内存,4GNAND,安装到了16G Sandisk 的TF卡上),使用BerryBoot 安装过Ubuntu Server(144MB大小)
版,和 Debian for Raspberry(400多MB大小)。然后安装LNMP,均失败,原因都是MySQL安装失败。Ubuntu Server 版本自带Apache2 和 SQLserver,Debian没有说明。但是2个均安装失败。
2、分别尝试用论坛方法fix,依次输入各类密码,然后重启。依然失败。 使用了这个: 依然无效,还是MySql有问题。
重启后显示如下:
/home/pi/lnmp1.0-full$ sudo /root/lnmp restart
=========================================================================
Manager for LNMP V1.0 , Written by Licess
=========================================================================
LNMP is a tool to auto-compile & install Nginx+MySQL+PHP on Linux
This script is a tool to Manage status of lnmp
For more information please visit http://www.lnmp.org
Usage: /root/lnmp {start|stop|reload|restart|kill|status}
=========================================================================
Stoping LNMP...
/etc/init.d/mysql: 1: /etc/init.d/mysql: my_print_defaults: not found
Failed loading/usr/local/zend/ZendGuardLoader.so: /usr/local/zend/ZendGuardLoader.so:cannot open shared object file: No such file or directory
/etc/init.d/mysql: 1: /etc/init.d/mysql: my_print_defaults: not found
/etc/init.d/mysql: 276: cd: can't cd to /usr/local/mysql
Stopping nginx daemon: nginx.
Gracefully shutting down php-fpm done
MySQL server PID file could not be found! ... failed!
Starting LNMP...
Starting nginx daemon: nginx.
Starting php-fpm done
Starting MySQL
Couldn't find MySQL server (/usr/local/mysql/bin/mysqld_safe) ... failed!
/home/pi/lnmp1.0-full$ sudo /etc/init.d/mysql restart
/etc/init.d/mysql: 1: /etc/init.d/mysql: my_print_defaults: not found
/etc/init.d/mysql: 1: /etc/init.d/mysql: my_print_defaults: not found
/etc/init.d/mysql: 1: /etc/init.d/mysql: my_print_defaults: not found
/etc/init.d/mysql: 276: cd: can't cd to /usr/local/mysql
MySQL server PID file could not be found! ... failed!
Starting MySQL
Couldn't find MySQL server (/usr/local/mysql/bin/mysqld_safe) ... failed!
然后,就是,那个log文件,我从 putty可以找得到,并且可以看到。但是 winScp中却看不到,好诡异啊,里面的设置还是隐藏文件可见%……
[ 本帖最后由 halfice 于 2013-6-14 08:12 编辑 ] |