|
|
(13)Permission denied: AH00072: make_sock: could not bind to address [::]:5000
$ P& i' k# f# I8 t# L% [- j. ~8 |, _
都说是因为selinux的问题:
) ?: M/ P. y5 O4 A& L2 X* P
! H, K: p( Y+ |8 u1 t' R那就检查下:
4 w9 ]3 {( I9 b' `/ G I( Y! w8 l" z- m8 c( ^7 h; n5 ?' O
[root@controller ~]# getenforce & W0 B G8 m& g# i7 h, R
Enforcing
' J6 g9 f4 x9 d( Y# y6 F8 w6 a& K[root@controller ~]# cat /etc/sysconfig/selinux- n N% Z3 G. e5 Y8 U$ f
, ?# |: M+ B }. R
# This file controls the state of SELinux on the system.
5 v8 k# r' x* P, ?5 r8 c# SELINUX= can take one of these three values:
; L. T& c. A" `1 V8 o0 z# enforcing - SELinux security policy is enforced.
. g8 ?% x% o2 v& m8 w# permissive - SELinux prints warnings instead of enforcing.$ G. [; k: `# A3 G
# disabled - No SELinux policy is loaded." ]3 P1 {5 Q/ S. \% S, N
SELINUX=disabled, i, ?; \; u8 m( ?0 m- r( M
# SELINUXTYPE= can take one of these three values:& H, Y1 O, [5 _3 |
# targeted - Targeted processes are protected,& |( U& N6 z/ {2 t/ r- F9 p
# minimum - Modification of targeted policy. Only selected processes are protected.
; n8 Z" w: B% i1 ]3 Z, }2 v# mls - Multi Level Security protection.
3 ] M2 q+ {4 a' h- |$ l: DSELINUXTYPE=targeted
; I- q3 g4 t2 s5 u+ ^# S" v& q0 C6 ?4 m/ x! W& t% Q8 H
0 k+ y* W1 f+ a[root@controller ~]# & I( Z) V1 }; }7 w5 J) k
那就是没有重启设备,重启下吧。7 g7 _" N) `7 d/ W& E
|
|