|
|
controller httpd: (13)Permission denied: AH00072: make_sock: could not bind to address [::]:5000, ?( r) t6 k3 y, w: x" {3 c4 ^1 Y
0 k! Z* S; A! jNov 3 22:33:54 controller systemd: Starting The Apache HTTP Server...$ E e+ O; W. x+ t
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; X9 P& }# s' b9 {% q# Z L
Nov 3 22:33:54 controller httpd: (13)Permission denied: AH00072: make_sock: could not bind to address [::]:5000
) k0 }. l4 A) D; Z. QNov 3 22:33:54 controller httpd: (13)Permission denied: AH00072: make_sock: could not bind to address 0.0.0.0:50005 k, @& ?# A& g' L; s( }- a3 e
Nov 3 22:33:54 controller httpd: no listening sockets available, shutting down- q8 F8 x1 ~+ g
Nov 3 22:33:54 controller httpd: AH00015: Unable to open logs+ H8 D% u$ E) c3 E9 J+ M4 E- X/ T
Nov 3 22:33:54 controller systemd: httpd.service: main process exited, code=exited, status=1/FAILURE
o; A+ {0 w uNov 3 22:33:54 controller kill: kill: cannot find process "": P) H, F) S# {
Nov 3 22:33:54 controller systemd: httpd.service: control process exited, code=exited status=1
o3 F4 h" z INov 3 22:33:54 controller systemd: Failed to start The Apache HTTP Server., T) \6 Q+ i) B# D9 c
Nov 3 22:33:54 controller systemd: Unit httpd.service entered failed state.1 |; H/ Y3 h+ S1 n& S4 I
Nov 3 22:33:54 controller systemd: httpd.service failed.7 H0 j; k- x4 q- L
Nov 3 22:34:43 controller systemd: Starting The Apache HTTP Server...+ W: C5 ^4 x( p: o# Y& w6 O
Nov 3 22:34:43 controller httpd: (13)Permission denied: AH00072: make_sock: could not bind to address [::]:5000
0 E) b7 q4 h' r4 v+ G& LNov 3 22:34:43 controller httpd: (13)Permission denied: AH00072: make_sock: could not bind to address 0.0.0.0:5000
t/ a8 t9 d- e2 u9 l5 MNov 3 22:34:43 controller httpd: no listening sockets available, shutting down2 i" g) O8 |2 P, S/ v9 l9 p# e+ k T
4 L6 m. k7 Q5 }3 y
% \/ Y" Z$ L/ b" M: Q! s
原因是selinux并未关闭,检查关闭selinux 即可
' I5 y$ o# H; ] m2 i#getenforce
" ?9 U1 x% ?) O$ D* x: q9 q# S, W- w) _6 l( `) L
Enforcing Q% k9 I3 w E: a
! ^" H7 d' z y, N2 H) L
SElinux未禁用。
* e0 A# g; j, ?- C, X s" _
& A8 E' Q5 m, K$ _, x2 L' `1、临时禁用SELinux:9 b1 Z* b' h$ x& e9 F5 X7 F
# setenforce 04 g' {' H( E! t
这样重启服务器之后,还是会启动SELinux;
$ U, ]9 H( U/ v! l9 |9 }" K4 k: O) q: S* j
备注:setenforce 1 临时启用SELinux
- x, R6 F6 }4 \( f3 g. u4 `
6 W+ F) J' R* D/ Y: \2、临时禁止后还是会启动,有需要的可以永久禁止。 |
|