找回密码
 注册
查看: 93|回复: 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
0 t0 N! b- q0 T" }+ ?3 m8 |# @, K1 ]
都说是因为selinux的问题:; F, g# P) r1 Y6 d, L& e5 P
4 g1 N, ^. j# b0 I* r
那就检查下:7 V0 b5 D! Q1 o0 g0 a0 Z
7 ]1 ]  t9 b$ Q# N; i0 [
[root@controller ~]# getenforce 9 w- X- t) K' H/ z! ~
Enforcing
  |$ d* A9 H- M/ S/ K[root@controller ~]# cat  /etc/sysconfig/selinux( d% k, T/ h5 L5 V; N9 A
3 ]; K% a% Z8 P, u2 R
# This file controls the state of SELinux on the system.
, l1 W/ l% s+ \0 m# SELINUX= can take one of these three values:
, i% N$ {" k$ t, u6 _#     enforcing - SELinux security policy is enforced.
. J% u9 w' u% a/ V" P: w% ^& ~#     permissive - SELinux prints warnings instead of enforcing." @" q6 ?) d8 Z& j& T! M4 h9 R, n
#     disabled - No SELinux policy is loaded.( ]. a  u/ f: \
SELINUX=disabled
6 q! s8 ?' Z1 @% f9 z1 s, A. x" X# SELINUXTYPE= can take one of these three values:/ |$ L: _/ d- M/ k
#     targeted - Targeted processes are protected,0 ^3 ^; o% z2 S- D5 {
#     minimum - Modification of targeted policy. Only selected processes are protected.
2 R- T9 q# Z) L8 v$ |#     mls - Multi Level Security protection.* o3 ]1 p0 t$ @
SELINUXTYPE=targeted4 j+ N& S: ^* E

8 z: u* l) u5 I/ c! Z1 j4 X0 M& U1 W' a1 C5 y$ Y
[root@controller ~]#
. h% E2 o3 @8 O* Y# a% Y: K7 a那就是没有重启设备,重启下吧。! U8 {# d  o- r, X( T1 U7 S$ N' ]

1

主题

0

回帖

12

积分

管理员

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

本版积分规则

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

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

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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