- 积分
- 16843
在线时间 小时
最后登录1970-1-1
|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?开始注册
x
(13)Permission denied: AH00072: make_sock: could not bind to address [::]:5000/ F7 x7 B& o7 X" ]
" W7 e9 S( }: Y- J都说是因为selinux的问题:, P8 N C y, M! s8 s% X
! P, E' _. B+ `' p那就检查下:; t6 e1 D2 y2 x W' {; p
5 n6 I1 w8 h3 q* C/ G- i
[root@controller ~]# getenforce
6 i# g7 N- j9 e6 t; _. ]( wEnforcing( U/ s4 L. j p0 G# `, ]" x; G- |1 y
[root@controller ~]# cat /etc/sysconfig/selinux
9 v& f! ?+ x& f: H- W' T# D: m7 j
# This file controls the state of SELinux on the system.- [) }2 x, U6 q/ f
# SELINUX= can take one of these three values:/ S4 s1 u( D" d# h# I! s
# enforcing - SELinux security policy is enforced.
* b8 Q% Y* m- K, @* \# permissive - SELinux prints warnings instead of enforcing.3 q- s s' o1 @9 i$ `
# disabled - No SELinux policy is loaded.
* V1 Y+ e. Q* o% h. ASELINUX=disabled
0 w7 G$ V U. V# SELINUXTYPE= can take one of these three values:) f) R- u0 y6 p6 q: ~9 e; S5 \
# targeted - Targeted processes are protected,
% E6 Z/ q, z) y8 v' U) `! P" {# minimum - Modification of targeted policy. Only selected processes are protected. / G. I% G+ ^& n
# mls - Multi Level Security protection.
3 u2 `4 s8 T: K1 }( t* CSELINUXTYPE=targeted
4 f( a7 z2 i8 [5 `1 S4 L; S) }8 [( Y' u- p! r9 q1 \ {" J
g) Z; q" r+ _( _[root@controller ~]# - c% |7 \% z* z8 b: Z
那就是没有重启设备,重启下吧。
! `2 v8 E! a- \' C) D a, d+ @ |
|