嗅nginx, service nginx start (restart) 箇暸蝥5詨航炊:: ?9 }) V6 T9 b- N! k. x
[emerg] 5048#0: bind() to x.x.x.x:80 failed (98: Address already in use)
! X) j- I% q. \( m L+ s敺蝯虫箇6 M; P8 v2 @' G
[emerg] 5048#0: still could not bind()( `3 ], ]+ F5 K# u5 o5 O9 s
璈銋瘝
( h4 _9 {% H* G8 C8 H: r% h雓"nginx嗡蝔摨甇其蝙 port 80" , 臭誑隞 netstat -pan | grep ":80" , w" \0 K- K# `! ]2 z$ N
fuser 80/tcp (fuser 隞文臭誑 http://nixgeek.com/finding-out-what-process-is-listening-on-a-port-under-linux.html)
" M/ C- z# H2 K$ ]) b' m: A亦航狐 port 80,雿nginx銋瘝(銝鈭嗥嗡)
* O4 j! ?) d% D4 `9 p
" H. w7 S( N& H2 g; n5 y, Q1 F5 \9 S& G9 p: K
敺 fuser -k 80/tcp 芷文 port 80 蝔摨(process)
) {7 C; [- E: P5 `3 x& I嗅 service nginx restart ======> OK4 c+ y! l$ w! E; y: v- y0 V
; n1 Y5 F' i6 J R/ q7 W5 h
|
|