y1219 发表于 2015-4-9 09:03:57

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

# /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 ERROR: An another FPM instance seems to already listen on /tmp/php-cgi.sock
ERROR: FPM initialization failed
failed
Starting MySQL SUCCESS!

y1219 发表于 2015-4-9 09:14:58

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

准备升级到2G内存

licess 发表于 2015-4-9 09:52:39

重启是/root/lnmp restart
已经在运行了,你再去start肯定提示ERROR: An another FPM instance seems to already listen已经在运行

y1219 发表于 2015-4-9 11:05:20

执行了,但是现在网站还是无法打开还是502错误
# /etc/init.d/php-fpm restart
Gracefully shutting down php-fpm . done
Starting php-fpmdone
# /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-fpmdone
Starting MySQL.. SUCCESS!
#

y1219 发表于 2015-4-9 14:42:58

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

licess 发表于 2015-4-9 21:53:09

没有具体信息没法说,按置顶帖502排除方法排查
页: [1]
查看完整版本: 老是出现502重启也不行,看看是什么原因