cwang22 发表于 2015-12-8 15:31:04

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

升级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 ERROR: An another FPM instance seems to already listen on /tmp/php-cgi.sock
ERROR: FPM initialization failed
failed


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

[ 本帖最后由 cwang22 于 2015-12-8 21:31 编辑 ]

licess 发表于 2015-12-8 17:09:59

php-fpm的重启脚本都是php7自己自带的
前面stop时应该是可能有不清楚什么问题没停掉,按提示需要用force-quit结束

RobertYang1997 发表于 2016-8-5 12:36:45

我也遇到了相同的问题Gracefully shutting down php-fpm ................................... failed. Use force-quit
Starting php-fpm ERROR: An another FPM instance seems to already listen on /tmp/php-cgi.sock
ERROR: FPM initialization failed
failed

licess 发表于 2016-8-5 14:30:29

回复 3# 的帖子

上面有提示其他php-fpm在运行占用了了/tmp/php-cgi.sock
页: [1]
查看完整版本: lnmp1.3,php7.0.0,php-fpm无法正常关闭重启