服务器不需要MYSQL。
使用/usr/local/mysql
/etc/init.d/mysql
/etc/my.cnf 卸载后,再次启动,出现这个问题了。。。
[root@root ~]# /root/lnmp start
=========================================================================
Manager for LNMP V0.9 , 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}
=========================================================================
Starting LNMP...
Nginx start successfully!
Starting php_fpm /usr/local/php/bin/php-cgi: error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: No such file or directory
failed
PHP-FPM start successfully!
/etc/init.d/mysql: line 260: my_print_defaults: command not found
/etc/init.d/mysql: line 263: my_print_defaults: command not found
/etc/init.d/mysql: line 292: cd: /usr/local/mysql: No such file or directory
Starting MySQL ERROR! Couldn't find MySQL manager (/usr/local/mysql/bin/mysqlmanager) or server (/usr/local/mysql/bin/mysqld_safe)
MySQL start successfully!
然后就一直出现502。。。
运行/etc/init.d/php-fpm restart出现
[root@root ~]# /etc/init.d/php-fpm restart
Shutting down php_fpm warning, no pid file found - php-fpm is not running ?
Starting php_fpm /usr/local/php/bin/php-cgi: error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: No such file or directory
failed 运行/etc/init.d/php-fpm start
[root@root ~]# /etc/init.d/php-fpm start
Starting php_fpm /usr/local/php/bin/php-cgi: error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: No such file or directory
failed
军哥,怎么回事???
[ 本帖最后由 落雪长风 于 2013-1-28 15:51 编辑 ] |