VPS侦探论坛

 找回密码
 注册
查看: 3428|回复: 6

LNMP1.3P安装失败,nginx不能启动,mysql 锁定?

[复制链接]
发表于 2017-2-24 17:24:40 | 显示全部楼层 |阅读模式

错误如下;安装日志已经传附件,跪求大神指教;
服务器是阿里云的2核4G;centos,64位;
ginx 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 Address             State      
tcp        0      0 0.0.0.0:587                 0.0.0.0:*                   LISTEN      
tcp        0      0 0.0.0.0:465                 0.0.0.0:*                   LISTEN      
tcp        0      0 0.0.0.0:22                  0.0.0.0:*                   LISTEN      
tcp        0      0 127.0.0.1:631               0.0.0.0:*                   LISTEN      
tcp        0      0 0.0.0.0:25                  0.0.0.0:*                   LISTEN      
Install lnmp V1.3 completed! enjoy it.

[ 本帖最后由 fxd2006 于 2017-2-24 17:27 编辑 ]

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2017-2-24 19:13:54 | 显示全部楼层


Print lnmp.conf infomation...
Download Mirror:
Nginx Additional Modules:
PHP Additional Modules:
Database Directory:
Default Website Directory:

从日志上看lnmp.conf文件缺失或被清空,无法获取到lnmp.conf相关的参数导致的
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2017-2-24 19:58:29 | 显示全部楼层

回复 2# 的帖子


我都重装过两次了,还是一样。。。。
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2017-2-25 09:26:47 | 显示全部楼层

回复 3# 的帖子




删除安装包重新下载安装试试
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2017-2-25 10:27:56 | 显示全部楼层

回复 4# 的帖子


重新装了系统,重新安装了还是有问题
Linux version 2.6.18-416.el5 (mockbuild@c1bm.rdu2.centos.org) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-55)) #1 SMP Fri Oct 28 11:52:49 UTC 2016

============================Install PHPMyAdmin=================================
============================phpMyAdmin install completed=======================
Saving firewall rules to /etc/sysconfig/iptables:          [  OK  ]
Add Startup and Starting LNMP...
Add nginx service at system startup...
Starting nginx...  done
Add mysql service at system startup...
Starting MySQL..                                           [  OK  ]
Add php-fpm service at system startup...
Starting php-fpm /etc/init.d/php-fpm: line 57: /usr/local/php/sbin/php-fpm: No such file or directory
failed
============================== Check install ==============================
Checking ...
Nginx: OK
MySQL: OK
Error: PHP install failed.
Sorry, Failed to install LNMP!
Please visit http://bbs.vpser.net/forum-25-1.html feedback errors and logs.
You can download /root/lnmp-install.log from your server,and upload lnmp-install.log to LNMP Forum.

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x

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

发表于 2017-2-25 13:22:27 | 显示全部楼层

回复 5# 的帖子


centos 5 很老的系统了,安装新版本的php肯定会出问题
 楼主| 发表于 2017-3-24 12:18:54 | 显示全部楼层

回复 6# 的帖子


在centos7下安装成功的
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-27 12:12 , Processed in 0.033550 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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