易陆发现互联网技术论坛

 找回密码
 开始注册
查看: 3837|回复: 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 [::]:50007 m2 |; }9 i8 ?, @9 U

7 \& q8 j, F- j6 [% GNov  3 22:33:54 controller systemd: Starting The Apache HTTP Server...! C* N' o2 {) n+ k; k+ D
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 message  C4 n- @% O% T3 @" l9 J
Nov  3 22:33:54 controller httpd: (13)Permission denied: AH00072: make_sock: could not bind to address [::]:5000
2 h- ?6 u+ \- q) ?# S' |6 m8 oNov  3 22:33:54 controller httpd: (13)Permission denied: AH00072: make_sock: could not bind to address 0.0.0.0:5000
4 P+ }8 ]7 C! w9 J4 bNov  3 22:33:54 controller httpd: no listening sockets available, shutting down7 }* c! |' }& s/ z7 x( V, ]2 G& \
Nov  3 22:33:54 controller httpd: AH00015: Unable to open logs) U+ l* t5 l, H- F$ N
Nov  3 22:33:54 controller systemd: httpd.service: main process exited, code=exited, status=1/FAILURE" `- J3 D9 ]4 B5 I2 x( _, b
Nov  3 22:33:54 controller kill: kill: cannot find process ""
& j6 r% f; ?1 N6 c0 ]Nov  3 22:33:54 controller systemd: httpd.service: control process exited, code=exited status=1
3 Z0 C) S+ y7 j$ I& }Nov  3 22:33:54 controller systemd: Failed to start The Apache HTTP Server.0 p' F# m5 u4 y: \
Nov  3 22:33:54 controller systemd: Unit httpd.service entered failed state.
( N) d5 B' n6 r+ c: Y+ `# QNov  3 22:33:54 controller systemd: httpd.service failed.' v) c" P# m0 r; ~% b
Nov  3 22:34:43 controller systemd: Starting The Apache HTTP Server...
$ |& ?- _+ C  ]# h3 ?Nov  3 22:34:43 controller httpd: (13)Permission denied: AH00072: make_sock: could not bind to address [::]:50002 `, T6 y  _1 x% I+ w: I; b# U
Nov  3 22:34:43 controller httpd: (13)Permission denied: AH00072: make_sock: could not bind to address 0.0.0.0:5000
) _3 D9 l7 h/ M1 U3 f+ LNov  3 22:34:43 controller httpd: no listening sockets available, shutting down) B: w1 ^2 i5 D) R( {: _
3 K) y, g, I6 L
+ P4 r  \  I2 D3 R' n
原因是selinux并未关闭,检查关闭selinux 即可7 y2 U' s! R- z7 d# `
#getenforce
5 w  @+ c4 p( l: P; ^/ c8 s& y6 Q. Q. d2 j
Enforcing
. V) j9 `  w2 X5 E8 n! H' c8 A: v/ P
SElinux未禁用。( {( ~# G" T$ ~" ]5 _1 P& ]
# x4 o: E. i- Z0 l* `- J
1、临时禁用SELinux:  E$ m( v, D9 ~4 o0 m8 [" U9 i! ?
# setenforce 0
6 y4 m. n% h& ]8 v; w# e这样重启服务器之后,还是会启动SELinux;
1 k* ?0 Q$ x- y+ k( N1 x  b1 s' S: D' j$ M4 E4 s, I8 C) ]% s! b
备注:setenforce 1 临时启用SELinux
3 `9 v6 {! L5 s, ]( I2 ~+ d; q1 R+ H7 _9 p3 `; G0 X& Q9 K
2、临时禁止后还是会启动,有需要的可以永久禁止。
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

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

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

QQ|返回首页|Archiver|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )点击这里给我发消息

GMT+8, 2026-4-8 21:18 , Processed in 0.048946 second(s), 24 queries .

Powered by Discuz! X3.4 Licensed

© 2012-2025 Discuz! Team.

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