adian 发表于 2017-5-17 23:24:58

卸载重新安装后显示安装成功缺无法启动服务

php版本和mysql版本我装错了,于是sh uninstall.sh再安装后无法开启nginx和mysql服务
         |
+----------------------------------------------------------
-------------+
+-------------------------------------------+
|    Manager for LNMP, Written by Licess    |
+-------------------------------------------+
|            http://lnmp.org            |
+-------------------------------------------+
nginx is stopped
php-fpm is runing!
MySQL is not running, but lock file (/var/lock/subsys/mysql
exists
FAILED]
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address               Foreign Add
ess             State
tcp      0      0 0.0.0.0:22                  0.0.0.0:*
                LISTEN
tcp      0      0 127.0.0.1:25                0.0.0.0:*
                LISTEN
tcp      0      0 :::22                     :::*
                LISTEN
Install lnmp V1.3 completed! enjoy it.
# lnmp start
+-------------------------------------------+
|    Manager for LNMP, Written by Licess    |
+-------------------------------------------+
|            http://lnmp.org            |
+-------------------------------------------+
Starting LNMP...
Starting nginx... nginx: invalid number of argument
in "root" directive in /usr/local/nginx/conf/nginx.conf:66
failed
Starting MySQL.The server quit without updating PID file (/
481.pid).
FAILED]

[ 本帖最后由 adian 于 2017-5-17 23:27 编辑 ]

licess 发表于 2017-5-18 08:41:28

说过很多次不要用sh,不要用sh,不要用sh!

adian 发表于 2017-5-18 22:55:19

回复 2# 的帖子

原谅我刚接触linux,应该怎么解决啊哥
页: [1]
查看完整版本: 卸载重新安装后显示安装成功缺无法启动服务