打印

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

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

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.
[root@2481507944 lnmp1.3-full]# lnmp start
+-------------------------------------------+
|    Manager for LNMP, Written by Licess    |
+-------------------------------------------+
|              http://lnmp.org              |
+-------------------------------------------+
Starting LNMP...
Starting nginx... nginx: [emerg] 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 编辑 ]

TOP

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

TOP

回复 2# 的帖子

原谅我刚接触linux,应该怎么解决啊哥

TOP