VPS侦探论坛

 找回密码
 注册
查看: 4292|回复: 2

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

[复制链接]
发表于 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.
[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 编辑 ]
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2017-5-18 08:41:28 | 显示全部楼层


说过很多次不要用sh,不要用sh,不要用sh!
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2017-5-18 22:55:19 | 显示全部楼层

回复 2# 的帖子


原谅我刚接触linux,应该怎么解决啊哥
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-26 05:16 , Processed in 0.025745 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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