標題: An another FPM instance seems to already listen on /var/run/XXXXX.sock [打印本頁] 作者: coav4u 時間: 2016-7-26 08:47 標題: An another FPM instance seems to already listen on /var/run/XXXXX.sock 重啟 php-fpm 所下的指令 service php-fpm restart 時出現的 error messages:! z6 d6 _* F" V* j2 }& N' }+ U& ]& Q' A
' R f" r& b# w* q! C _3 l
: D! E: W; T' `1 y+ C$ ZERROR: An another FPM instance seems to already listen on /var/run/XXXXX.sock ; s, g0 d8 ?. ^/ o) L; | 8 n: o9 L- t# J: x) l2 l . @' W7 N1 c- Fservice php-fpm stop 也停不掉,訊息跟上列相同9 {% H2 y1 {+ ~8 F. b
/ @. P( H) A5 b( a- h8 T( m& X3 t
e; y" e8 V2 ]: c0 J4 J' }$ u: j
Solution:- g3 c3 F3 D3 z+ Y& F; s5 u9 w4 X0 V
0 {" K, f3 y: T+ j6 b! l8 I, u * c y5 D# w8 H p9 L. Rpkill php-fpm ===> kill all php-fpm process, then 9 z8 T9 {) m6 s ) X- s: d1 }; d3 N) n* Z6 ?! y 0 c( r$ l( n% F* P0 a/ Rservice php-fpm start ===>start php-fpm 搞定8 k2 f8 j4 `9 P- |$ E) x# x