- 积分
- 16843
在线时间 小时
最后登录1970-1-1
|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?开始注册
x
controller httpd: (13)Permission denied: AH00072: make_sock: could not bind to address [::]:50007 m2 |; }9 i8 ?, @9 U
7 \& q8 j, F- j6 [% GNov 3 22:33:54 controller systemd: Starting The Apache HTTP Server...! C* N' o2 {) n+ k; k+ D
Nov 3 22:33:54 controller httpd: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 192.168.8.65. Set the 'ServerName' directive globally to suppress this message C4 n- @% O% T3 @" l9 J
Nov 3 22:33:54 controller httpd: (13)Permission denied: AH00072: make_sock: could not bind to address [::]:5000
2 h- ?6 u+ \- q) ?# S' |6 m8 oNov 3 22:33:54 controller httpd: (13)Permission denied: AH00072: make_sock: could not bind to address 0.0.0.0:5000
4 P+ }8 ]7 C! w9 J4 bNov 3 22:33:54 controller httpd: no listening sockets available, shutting down7 }* c! |' }& s/ z7 x( V, ]2 G& \
Nov 3 22:33:54 controller httpd: AH00015: Unable to open logs) U+ l* t5 l, H- F$ N
Nov 3 22:33:54 controller systemd: httpd.service: main process exited, code=exited, status=1/FAILURE" `- J3 D9 ]4 B5 I2 x( _, b
Nov 3 22:33:54 controller kill: kill: cannot find process ""
& j6 r% f; ?1 N6 c0 ]Nov 3 22:33:54 controller systemd: httpd.service: control process exited, code=exited status=1
3 Z0 C) S+ y7 j$ I& }Nov 3 22:33:54 controller systemd: Failed to start The Apache HTTP Server.0 p' F# m5 u4 y: \
Nov 3 22:33:54 controller systemd: Unit httpd.service entered failed state.
( N) d5 B' n6 r+ c: Y+ `# QNov 3 22:33:54 controller systemd: httpd.service failed.' v) c" P# m0 r; ~% b
Nov 3 22:34:43 controller systemd: Starting The Apache HTTP Server...
$ |& ?- _+ C ]# h3 ?Nov 3 22:34:43 controller httpd: (13)Permission denied: AH00072: make_sock: could not bind to address [::]:50002 `, T6 y _1 x% I+ w: I; b# U
Nov 3 22:34:43 controller httpd: (13)Permission denied: AH00072: make_sock: could not bind to address 0.0.0.0:5000
) _3 D9 l7 h/ M1 U3 f+ LNov 3 22:34:43 controller httpd: no listening sockets available, shutting down) B: w1 ^2 i5 D) R( {: _
3 K) y, g, I6 L
+ P4 r \ I2 D3 R' n
原因是selinux并未关闭,检查关闭selinux 即可7 y2 U' s! R- z7 d# `
#getenforce
5 w @+ c4 p( l: P; ^/ c8 s& y6 Q. Q. d2 j
Enforcing
. V) j9 ` w2 X5 E8 n! H' c8 A: v/ P
SElinux未禁用。( {( ~# G" T$ ~" ]5 _1 P& ]
# x4 o: E. i- Z0 l* `- J
1、临时禁用SELinux: E$ m( v, D9 ~4 o0 m8 [" U9 i! ?
# setenforce 0
6 y4 m. n% h& ]8 v; w# e这样重启服务器之后,还是会启动SELinux;
1 k* ?0 Q$ x- y+ k( N1 x b1 s' S: D' j$ M4 E4 s, I8 C) ]% s! b
备注:setenforce 1 临时启用SELinux
3 `9 v6 {! L5 s, ]( I2 ~+ d; q1 R+ H7 _9 p3 `; G0 X& Q9 K
2、临时禁止后还是会启动,有需要的可以永久禁止。 |
|