VPS侦探论坛

 找回密码
 注册
查看: 4446|回复: 5

老是出现502重启也不行,看看是什么原因

[复制链接]
发表于 2015-4-9 09:03:57 | 显示全部楼层 |阅读模式

[root@localhost ~]# /root/lnmp start
=========================================================================
Manager for LNMP V1.1  ,  Written by Licess
=========================================================================
LNMP is a tool to auto-compile & install Nginx+MySQL+PHP on Linux
This script is a tool to Manage status of lnmp
For more information please visit http://www.lnmp.org

Usage: /root/lnmp {start|stop|reload|restart|kill|status}
=========================================================================
Starting LNMP...
Starting nginx... nginx (pid 1097 1096 1094) already running.
Starting php-fpm [09-Apr-2015 08:56:21] ERROR: An another FPM instance seems to already listen on /tmp/php-cgi.sock
[09-Apr-2015 08:56:21] ERROR: FPM initialization failed
failed
Starting MySQL SUCCESS!
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2015-4-9 09:14:58 | 显示全部楼层


我的是1.5G内存,双核,CENTOS系统,LNMP1.1

准备升级到2G内存
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2015-4-9 09:52:39 | 显示全部楼层

重启是/root/lnmp restart
已经在运行了,你再去start肯定提示ERROR: An another FPM instance seems to already listen已经在运行
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2015-4-9 11:05:20 | 显示全部楼层



执行了,但是现在网站还是无法打开还是502错误
[root@localhost ~]# /etc/init.d/php-fpm restart
Gracefully shutting down php-fpm . done
Starting php-fpm  done
[root@localhost ~]# /root/lnmp restart
=========================================================================
Manager for LNMP V1.1  ,  Written by Licess
=========================================================================
LNMP is a tool to auto-compile & install Nginx+MySQL+PHP on Linux
This script is a tool to Manage status of lnmp
For more information please visit http://www.lnmp.org

Usage: /root/lnmp {start|stop|reload|restart|kill|status}
=========================================================================
Stoping LNMP...
Stoping nginx...  done
Gracefully shutting down php-fpm . done
Shutting down MySQL. SUCCESS!
Starting LNMP...
Starting nginx...  done
Starting php-fpm  done
Starting MySQL.. SUCCESS!
[root@localhost ~]#
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2015-4-9 14:42:58 | 显示全部楼层

老大在不在啊,老是PHP502问题,怎么弄啊

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

发表于 2015-4-9 21:53:09 | 显示全部楼层

没有具体信息没法说,按置顶帖502排除方法排查
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-11-16 09:35 , Processed in 0.026546 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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