|
|
controller httpd: (13)Permission denied: AH00072: make_sock: could not bind to address [::]:5000
?' Y, l( M& j, M! y2 I$ E
; C( r% |& t4 q9 K7 W/ bNov 3 22:33:54 controller systemd: Starting The Apache HTTP Server..." I8 V2 j, O- N) G9 L
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/ Q) P- f6 K' G- y) Z* N
Nov 3 22:33:54 controller httpd: (13)Permission denied: AH00072: make_sock: could not bind to address [::]:5000
3 j; A, R; y" ]3 o% f! }Nov 3 22:33:54 controller httpd: (13)Permission denied: AH00072: make_sock: could not bind to address 0.0.0.0:5000
2 d" m6 v5 J1 f* |: W: rNov 3 22:33:54 controller httpd: no listening sockets available, shutting down
8 d! L5 @& E# y S9 RNov 3 22:33:54 controller httpd: AH00015: Unable to open logs$ F5 [1 @! u4 A+ ?4 x; _' Q
Nov 3 22:33:54 controller systemd: httpd.service: main process exited, code=exited, status=1/FAILURE
0 ?- K5 H% Z) k* U" ]! fNov 3 22:33:54 controller kill: kill: cannot find process ""
9 h, N, @ Z6 C& r4 v. MNov 3 22:33:54 controller systemd: httpd.service: control process exited, code=exited status=1
) _4 ~4 l4 Z% }: R) ONov 3 22:33:54 controller systemd: Failed to start The Apache HTTP Server.
8 {. g; M+ G% W2 A0 ]; ~Nov 3 22:33:54 controller systemd: Unit httpd.service entered failed state.
) ?% a% j" t( F) S" nNov 3 22:33:54 controller systemd: httpd.service failed.5 H: k+ \6 H: `/ c: H L
Nov 3 22:34:43 controller systemd: Starting The Apache HTTP Server...6 `( H5 {& N/ Y1 R7 E
Nov 3 22:34:43 controller httpd: (13)Permission denied: AH00072: make_sock: could not bind to address [::]:5000
; ^9 ?! E: S7 y3 ^2 M2 Z/ RNov 3 22:34:43 controller httpd: (13)Permission denied: AH00072: make_sock: could not bind to address 0.0.0.0:5000
! m- v5 ]* n8 m# u9 d" KNov 3 22:34:43 controller httpd: no listening sockets available, shutting down& V% I" u* y( d! T2 @
Q5 X2 ?1 n* ?7 v5 ^' T9 o% O8 B
8 T/ `' i, E3 K6 [% O原因是selinux并未关闭,检查关闭selinux 即可
1 d! }; g! B% V8 f! S$ @! l#getenforce
" t j x7 [ N. u9 Q+ c# R l: r9 X# X9 B. g1 S
Enforcing# _9 s: g. L' `% A9 p6 ^) X$ n
* ~/ ~& n) o4 }% @
SElinux未禁用。
! Z2 @! C/ w! h6 Q/ k. f' F1 x9 U
1、临时禁用SELinux:! E. {5 [5 G2 h' h# L+ F
# setenforce 0; k) ?! S( I0 F i! W* }: p( @
这样重启服务器之后,还是会启动SELinux;+ n' d1 S+ Y9 Q# J
0 K* u' r5 X w3 l$ X备注:setenforce 1 临时启用SELinux' {" h. \4 s7 Q' U& L$ o& A
* L3 f/ a. h; @- w; L2、临时禁止后还是会启动,有需要的可以永久禁止。 |
|