|
|
(13)Permission denied: AH00072: make_sock: could not bind to address [::]:5000
7 g( n8 i& X8 s
* s1 H- V- r6 V# c+ w3 M都说是因为selinux的问题:
6 e+ `7 r% L* P/ \% S) g! o: P# V6 O
那就检查下:5 C! H. T7 `, F _- T- Y" b- Y
( H! @: J2 x- u2 s
[root@controller ~]# getenforce & H- M% E; ?5 Y' Z. O, W" P3 q
Enforcing6 s( R7 w" P8 G h# ^3 R6 n; U6 D
[root@controller ~]# cat /etc/sysconfig/selinux
: N$ z/ v* n3 ~. h& s4 }5 X! m3 _( T6 m: j3 j2 [# j3 l& r
# This file controls the state of SELinux on the system.
7 z; f( M5 Q' S( o6 ?# SELINUX= can take one of these three values:' X$ n1 R3 M/ R
# enforcing - SELinux security policy is enforced.
' F. Z* H S" ~! o" p$ Y# permissive - SELinux prints warnings instead of enforcing.) m. q1 { ]/ H2 X( V8 \$ }. [
# disabled - No SELinux policy is loaded.! l. d5 y1 x! c. V5 c* l; }
SELINUX=disabled
; G% {; n* X$ Y" B0 o/ n* [% g# SELINUXTYPE= can take one of these three values:9 ^0 S/ |3 D% u0 F9 S
# targeted - Targeted processes are protected,- }* h! T9 @0 y' D
# minimum - Modification of targeted policy. Only selected processes are protected.
1 f2 g, T. q" {+ k( R# mls - Multi Level Security protection.8 v6 y' H8 A( [! T" k
SELINUXTYPE=targeted
9 B/ Z$ N2 r/ n' c- E1 K
. b; a; o/ z0 R Y
+ L6 x5 Q# v' I[root@controller ~]#
2 \. e6 T. V" _% M! U$ q那就是没有重启设备,重启下吧。
7 U- b% f0 b' @$ u+ A; [ |
|