VPS侦探论坛

 找回密码
 注册
查看: 6035|回复: 3

lnmp1.3,php7.0.0,php-fpm无法正常关闭重启

[复制链接]
发表于 2015-12-8 15:31:04 | 显示全部楼层 |阅读模式

升级php7.0后,无法通过lnmp stop/restart 关闭重启php-fpm,提示


Stoping LNMP...
Stoping nginx...  done
Shutting down MySQL. SUCCESS!
Gracefully shutting down php-fpm ................................... failed. Use force-quit
Starting LNMP...
Starting nginx...  done
Starting MySQL.. SUCCESS!
Starting php-fpm [08-Dec-2015 15:29:05] ERROR: An another FPM instance seems to already listen on /tmp/php-cgi.sock
[08-Dec-2015 15:29:05] ERROR: FPM initialization failed
failed


php-fpm错误日志都是相似的内容
[08-Dec-2015 15:25:30] NOTICE: [pool www] child 16361 started
[08-Dec-2015 15:25:30] WARNING: [pool www] child 16361 exited on signal 7 (SIGBUS) after 0.002225 seconds from start----------------
已解决,
kill进程仍然不能正常关闭,重启服务器后就好了。

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


php-fpm的重启脚本都是php7自己自带的
前面stop时应该是可能有不清楚什么问题没停掉,按提示需要用force-quit结束
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2016-8-5 12:36:45 | 显示全部楼层

我也遇到了相同的问题Gracefully shutting down php-fpm ................................... failed. Use force-quit
Starting php-fpm [05-Aug-2016 12:25:18] ERROR: An another FPM instance seems to already listen on /tmp/php-cgi.sock
[05-Aug-2016 12:25:18] ERROR: FPM initialization failed
failed
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2016-8-5 14:30:29 | 显示全部楼层

回复 3# 的帖子




上面有提示其他php-fpm在运行占用了了/tmp/php-cgi.sock
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-11-17 05:46 , Processed in 0.025769 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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