|
|
controller httpd: (13)Permission denied: AH00072: make_sock: could not bind to address [::]:5000
& X1 I5 r( t+ n
& ~, C; ?0 h. J1 \6 Y' ?Nov 3 22:33:54 controller systemd: Starting The Apache HTTP Server...) G7 `7 s: W. [* @% o! v* w
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 message9 C0 c. X) o) z$ H4 t
Nov 3 22:33:54 controller httpd: (13)Permission denied: AH00072: make_sock: could not bind to address [::]:5000
( U$ b: q2 L7 J2 q! I) ~6 lNov 3 22:33:54 controller httpd: (13)Permission denied: AH00072: make_sock: could not bind to address 0.0.0.0:5000
, A" d6 H5 ~2 b2 _Nov 3 22:33:54 controller httpd: no listening sockets available, shutting down: `* W% S5 `) B+ t1 m" M5 Z. y
Nov 3 22:33:54 controller httpd: AH00015: Unable to open logs' {: J3 n! J' p# Z. V0 Y- l
Nov 3 22:33:54 controller systemd: httpd.service: main process exited, code=exited, status=1/FAILURE
! F0 i4 N* v" W. nNov 3 22:33:54 controller kill: kill: cannot find process ""
8 K2 i2 c9 ^4 BNov 3 22:33:54 controller systemd: httpd.service: control process exited, code=exited status=16 j) Q% w4 \, v! r+ ?, l
Nov 3 22:33:54 controller systemd: Failed to start The Apache HTTP Server.
3 Z. E& v0 U) r$ w7 w& C; uNov 3 22:33:54 controller systemd: Unit httpd.service entered failed state.& ~- @& X, W0 J2 n; ?
Nov 3 22:33:54 controller systemd: httpd.service failed.
: G" s6 ~4 G c) G' M9 Q HNov 3 22:34:43 controller systemd: Starting The Apache HTTP Server...
! c' z: W$ ]( A0 v$ N3 h/ aNov 3 22:34:43 controller httpd: (13)Permission denied: AH00072: make_sock: could not bind to address [::]:5000
; H% u4 @" G6 w$ a) C- k3 YNov 3 22:34:43 controller httpd: (13)Permission denied: AH00072: make_sock: could not bind to address 0.0.0.0:5000
6 M! B3 i$ R2 f2 |Nov 3 22:34:43 controller httpd: no listening sockets available, shutting down
! M0 b8 M6 M- G0 p8 L8 `4 R/ ?% f# p* r0 Q
f3 d& O+ ?5 X
原因是selinux并未关闭,检查关闭selinux 即可
# X: B( @$ h+ c3 n$ b#getenforce
5 c: G$ P& w* Y7 A# l2 g: j2 L% m9 G5 n
Enforcing
4 C+ r2 ^0 s, a1 W7 `
' V; [: { N1 P; B' u, F( b1 b1 ySElinux未禁用。' v0 ?4 t9 C! J( k2 U
6 b& j, j# x/ d5 [/ [6 D
1、临时禁用SELinux:# c9 B0 ~+ ]6 x! z
# setenforce 0
% c5 H4 p6 u2 l( U: u这样重启服务器之后,还是会启动SELinux;" q" Z4 T6 V* {) o
9 ~5 q* v" s; h( K) f/ Q备注:setenforce 1 临时启用SELinux6 P$ o5 j4 J) x+ O* Z/ e0 H# N
4 a, T6 d! d7 k$ P, Y2、临时禁止后还是会启动,有需要的可以永久禁止。 |
|