xfcymud 发表于 2010-5-21 09:28:04

运行uninstall.sh卸载出错

Press any key to start uninstall LNMP , please wait ...... make: *** \u6ca1\u6709\u89c4\u5219\u53ef\u4ee5\u521b\u5efa\u76ee\u6807\u201cuninstall\u201d\u3002 \u505c\u6b62\u3002 ./uninstall.sh: line 46: cd: nginx-0.7.65/: \u6ca1\u6709\u90a3\u4e2a\u6587\u4ef6\u6216\u76ee\u5f55 make: *** \u6ca1\u6709\u89c4\u5219\u53ef\u4ee5\u521b\u5efa\u76ee\u6807\u201cuninstall\u201d\u3002 \u505c\u6b62\u3002 ./uninstall.sh: line 50: cd: mysql-5.1.44/: \u6ca1\u6709\u90a3\u4e2a\u6587\u4ef6\u6216\u76ee\u5f55 make: *** \u6ca1\u6709\u89c4\u5219\u53ef\u4ee5\u521b\u5efa\u76ee\u6807\u201cuninstall\u201d\u3002 \u505c\u6b62\u3002 Lnmp Uninstall completed.

不知道怎么回事,我打开domain.com/phpinfo.php能正常运行,打开domain.com/index.php就出现502错误。我想先卸载,然后重新装一次,结果卸载不了。。。

对了,我在装完lnmp后,又装了eAccelerator,PureFTPd,不会和这有关系吧?

[ 本帖最后由 xfcymud 于 2010-5-21 09:30 编辑 ]

xfcymud 发表于 2010-5-21 09:43:40

# /etc/init.d/mysql start
/etc/init.d/mysql: line 292: cd: /usr/local/mysql: \u6ca1\u6709\u90a3\u4e2a\u6587\u4ef6\u6216\u76ee\u5f55
Starting MySQLCouldn't find MySQL manager (/usr/local/mysql/bin/mysqlmanager) or server (/usr/local/mysql/bin/mysqld_safe)               [\u5931\u8d25]

发现mysql 无法启动。。。

licess 发表于 2010-5-21 09:55:42

回复 1# 的帖子

debian or centos?

xfcymud 发表于 2010-5-21 10:16:42

centos5.5 版本

jjdl 发表于 2011-7-2 18:40:33

今天也遇到了类似的问题。
上午还进入过mysql,还建立了一张表。
下午就发现mysql无法打开了(怀疑是因为执行了apt-get upgrade导致mysql关闭了)

# mysql -uroot -p
Enter password:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)



# /etc/init.d/mysql start
Starting MySQLCouldn't find MySQL manager (/usr/bin/mysqlmanager) or server (/usr/bin/mysqld_safe) ... failed!


去google搜索,结果就link到这个帖子了……

:victory:解决方法:
mv /etc/my.cnf /etc/my.cnf.old

如果不行,就看看是不是其他地方还有my.cnf。
在/etc/mysql下面发现另一个,于是:
mv /etc/mysql/my.cnf /etc/mysql/my.cnf.old

再次尝试:
# /etc/init.d/mysql start
Starting MySQL.


OK了!:lol

===================


PS:我真的不是来挖坟的:loveliness:
页: [1]
查看完整版本: 运行uninstall.sh卸载出错