|
|
(13)Permission denied: AH00072: make_sock: could not bind to address [::]:5000
% H# o& E5 [0 r% m) o8 [* k; i* N& {" j" V6 `
都说是因为selinux的问题:
/ c$ m' u( U$ l$ J( ^4 ]" J- [- x2 A, b3 G( k
那就检查下:
' k& D1 Y8 n( q% P+ l3 b0 U( R; e; e v
[root@controller ~]# getenforce # ` U+ i5 t! N4 b* N
Enforcing
0 E$ [- H% R6 X3 W+ E+ n( `5 C$ Q[root@controller ~]# cat /etc/sysconfig/selinux
. O6 m( r. l0 v
0 ?. u- ?% Q6 ^* E% g# This file controls the state of SELinux on the system.9 n- l$ a C/ z) t b1 v, D
# SELINUX= can take one of these three values:( G, |# b8 {7 H- q$ O& Q
# enforcing - SELinux security policy is enforced.
$ s, U2 A# d3 {7 Z# permissive - SELinux prints warnings instead of enforcing.
0 E# \0 r' h) @5 a1 I# disabled - No SELinux policy is loaded.
7 _+ v1 z3 Z8 `. T2 M5 N. zSELINUX=disabled: l1 C8 E7 M( p: C. `5 I3 N4 J- z
# SELINUXTYPE= can take one of these three values:5 D7 A7 F, C+ a- h/ s$ T
# targeted - Targeted processes are protected,: V, P& j( K: e2 g+ T' O9 n
# minimum - Modification of targeted policy. Only selected processes are protected. 7 e6 Y$ F/ R" s" i1 K) K& d4 p, E
# mls - Multi Level Security protection.
7 ~ Q6 v# O0 C1 ~0 w [SELINUXTYPE=targeted: O, O2 J9 h, c# X" a3 i ?
' {) [. o9 K7 O# h% m
0 j% [* q1 |( m[root@controller ~]#
, i. ?1 v6 q6 c8 R那就是没有重启设备,重启下吧。
2 l) a6 D: q* G5 V |
|