找回密码
 注册
查看: 91|回复: 1

(13)Permission denied: AH00072: make_sock: could not bind to address [::]:5000

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2025-3-12 17:09:12 | 显示全部楼层 |阅读模式
(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

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 2025-3-12 17:30:10 | 显示全部楼层
问题解决。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

返回首页|Archiver|手机版|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )

GMT+8, 2026-6-12 00:46 , Processed in 0.014724 second(s), 22 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表