VPS侦探论坛

 找回密码
 注册
查看: 11165|回复: 4

运行uninstall.sh卸载出错

[复制链接]
发表于 2010-5-21 09:28:04 | 显示全部楼层 |阅读模式

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 编辑 ]
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2010-5-21 09:43:40 | 显示全部楼层


[root@www ~]# /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 无法启动。。。
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2010-5-21 09:55:42 | 显示全部楼层

回复 1# 的帖子


debian or centos?
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2010-5-21 10:16:42 | 显示全部楼层



centos5.5 版本
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 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到这个帖子了……

解决方法:
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了!

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


PS:我真的不是来挖坟的

军哥运维代购:http://shop63846532.taobao.com/

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-20 21:40 , Processed in 0.026552 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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