嗅nginx, service nginx start (restart) 箇暸蝥5詨航炊:! b. [7 X3 N$ n1 A" v
[emerg] 5048#0: bind() to x.x.x.x:80 failed (98: Address already in use)! S$ D- B6 h! K# T M+ k; l
敺蝯虫箇
/ F+ N, S8 H9 [- i3 S6 E! D8 s2 U[emerg] 5048#0: still could not bind()( h0 A! g9 v* {9 T; O" z# d6 Q f
璈銋瘝, B6 K5 t# H# B
雓"nginx嗡蝔摨甇其蝙 port 80" , 臭誑隞 netstat -pan | grep ":80" - T, E8 V v! i. t
fuser 80/tcp (fuser 隞文臭誑 http://nixgeek.com/finding-out-what-process-is-listening-on-a-port-under-linux.html)
9 i- f! q+ j8 q8 ?$ C8 r5 F. W5 g. w亦航狐 port 80,雿nginx銋瘝(銝鈭嗥嗡)+ x6 y/ Y# A5 h4 s( @# C3 `
0 m, H9 S% X1 O
* j. y$ o0 _: v/ o敺 fuser -k 80/tcp 芷文 port 80 蝔摨(process)
5 [% k* L7 {- m7 _3 g4 G- f嗅 service nginx restart ======> OK/ w# T, N9 \: M1 k G5 W
0 d+ N# G w% m2 u+ I2 P
|
|