VPS侦探论坛

 找回密码
 注册
查看: 4463|回复: 1

lnmp restart 到php-fpm 时停止

[复制链接]
发表于 2013-11-7 11:27:38 | 显示全部楼层 |阅读模式

[root@i-488-31152-VM ~]# /root/lnmp restart
=========================================================================
Manager for LNMP V1.0  ,  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...
Stopping nginx daemon: nginx.
Gracefully shutting down php-fpm . done
Shutting down MySQL. SUCCESS!
Starting LNMP...
Starting nginx daemon: nginx.
Starting php-fpm

断开ssh,重新连接ssh,查看lnmp状态[root@i-488-31152-VM ~]# /root/lnmp status
=========================================================================
Manager for LNMP V1.0  ,  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}
=========================================================================
Nginx is runing!
php-fpm is runing!
ERROR! MySQL is not running

这样,后面的mysql也不能启动,在主机控制面板重启主机后,可正常运行,再运行/root/lnmp restart 时,还是出现上面的情况:启动到php-fpm 时停止

php-fpm.log信息如下:
[07-Nov-2013 09:00:25] NOTICE: Finishing ...
[07-Nov-2013 09:00:25] NOTICE: exiting, bye-bye!
[07-Nov-2013 09:00:27] NOTICE: fpm is running, pid 4926
[07-Nov-2013 09:00:27] NOTICE: ready to handle connections
[07-Nov-2013 09:02:46] NOTICE: Finishing ...
[07-Nov-2013 09:02:46] NOTICE: exiting, bye-bye!
[07-Nov-2013 09:02:48] NOTICE: fpm is running, pid 5285
[07-Nov-2013 09:02:48] NOTICE: ready to handle connections
[07-Nov-2013 09:09:03] NOTICE: Finishing ...
[07-Nov-2013 09:09:03] NOTICE: exiting, bye-bye!
[07-Nov-2013 09:09:05] NOTICE: fpm is running, pid 5677
[07-Nov-2013 09:09:05] NOTICE: ready to handle connections
[07-Nov-2013 11:01:10] NOTICE: Terminating ...
[07-Nov-2013 11:01:10] NOTICE: exiting, bye-bye!
[07-Nov-2013 11:01:48] NOTICE: fpm is running, pid 2036
[07-Nov-2013 11:01:48] NOTICE: ready to handle connections
[07-Nov-2013 11:15:41] NOTICE: Finishing ...
[07-Nov-2013 11:15:41] NOTICE: exiting, bye-bye!
[07-Nov-2013 11:15:43] NOTICE: fpm is running, pid 2919
[07-Nov-2013 11:15:43] NOTICE: ready to handle connections
[07-Nov-2013 11:17:25] NOTICE: fpm is running, pid 2043
[07-Nov-2013 11:17:25] NOTICE: ready to handle connections


php版本为php5.3.17

[ 本帖最后由 uechun 于 2013-11-7 11:41 编辑 ]
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2013-11-7 12:29:25 | 显示全部楼层


php升级到5.3.27解决了
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-12-26 13:53 , Processed in 0.033756 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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