易陆发现互联网技术论坛

 找回密码
 开始注册
查看: 3843|回复: 0
收起左侧

httpd: Permission denied: could not bind to address [::]:5000

[复制链接]
发表于 2018-11-3 22:38:26 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?开始注册

x
controller httpd: (13)Permission denied: AH00072: make_sock: could not bind to address [::]:50002 j3 K  @# H/ ~3 y! r: ]
9 @- G3 a" h) T% [4 ~, y
Nov  3 22:33:54 controller systemd: Starting The Apache HTTP Server..., g9 H7 y  S+ w. m4 L1 e) O
Nov  3 22:33:54 controller httpd: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 192.168.8.65. Set the 'ServerName' directive globally to suppress this message6 M1 r( W- u  Y
Nov  3 22:33:54 controller httpd: (13)Permission denied: AH00072: make_sock: could not bind to address [::]:5000) N! P) P7 s4 T0 F
Nov  3 22:33:54 controller httpd: (13)Permission denied: AH00072: make_sock: could not bind to address 0.0.0.0:5000
" k& D7 A3 p3 B2 eNov  3 22:33:54 controller httpd: no listening sockets available, shutting down
( L! ]3 j4 I; G: k! n' ~Nov  3 22:33:54 controller httpd: AH00015: Unable to open logs
: X. V$ H- B( |; I6 o! @Nov  3 22:33:54 controller systemd: httpd.service: main process exited, code=exited, status=1/FAILURE. ^+ W+ B' J6 |5 r
Nov  3 22:33:54 controller kill: kill: cannot find process ""' @0 W8 i1 B- A2 R
Nov  3 22:33:54 controller systemd: httpd.service: control process exited, code=exited status=1% S& }  L& M* E0 o0 p5 h: Z* ]
Nov  3 22:33:54 controller systemd: Failed to start The Apache HTTP Server.9 o. y$ \( A3 c6 t4 M* Y6 Q
Nov  3 22:33:54 controller systemd: Unit httpd.service entered failed state.0 u. }; w0 Z( y, {; l: @
Nov  3 22:33:54 controller systemd: httpd.service failed.! Q# q" k  F5 Y8 a$ u& L
Nov  3 22:34:43 controller systemd: Starting The Apache HTTP Server...8 y5 \3 B: d1 T! g4 |; l
Nov  3 22:34:43 controller httpd: (13)Permission denied: AH00072: make_sock: could not bind to address [::]:5000
" S( p/ a# r# [- w5 zNov  3 22:34:43 controller httpd: (13)Permission denied: AH00072: make_sock: could not bind to address 0.0.0.0:5000/ [5 i' q5 `6 r2 F, V* N/ ^, y
Nov  3 22:34:43 controller httpd: no listening sockets available, shutting down. m  D1 {4 A; q4 g# h; r3 X

! F( e; x0 h1 R1 }- e# H1 Q. s
原因是selinux并未关闭,检查关闭selinux 即可6 ^: V( }# j; U" w/ f% ^7 _' |) d
#getenforce0 ], m* Q- g6 M( H$ K6 C
7 ]. V- ?8 M4 ]
Enforcing
# x1 S% P  }9 n/ |3 ]% H
/ n" ]: n( ?# w4 E& Y3 ?# hSElinux未禁用。1 q9 L) L/ n, _  c6 D
9 Q# B9 K* |# }- |* o7 k& L
1、临时禁用SELinux:5 w+ W8 K* a- n# ]: d8 L
# setenforce 0
, j0 p/ M6 M" Z: `这样重启服务器之后,还是会启动SELinux;
) ~% M+ o9 E+ y6 K0 Y8 f" i0 \* \
+ [  T" j( C3 X# d/ ~7 d2 K( j- a, p备注:setenforce 1 临时启用SELinux& B6 \% j2 F6 F8 W; r4 j
- o' h, v7 D5 G' P3 r+ R6 t, b
2、临时禁止后还是会启动,有需要的可以永久禁止。
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

站长推荐上一条 /4 下一条

北京云银创陇科技有限公司以云计算运维,代码开发

QQ|返回首页|Archiver|小黑屋|易陆发现技术论坛 点击这里给我发消息

GMT+8, 2026-4-8 20:47 , Processed in 0.043361 second(s), 22 queries .

Powered by Discuz! X3.4 Licensed

© 2012-2025 Discuz! Team.

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