找回密码
 注册
查看: 3841|回复: 0

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

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2018-11-3 22:38:26 | 显示全部楼层 |阅读模式
controller httpd: (13)Permission denied: AH00072: make_sock: could not bind to address [::]:5000
  h; T( X/ o2 m( n
, L9 n4 I& Q8 J% v$ eNov  3 22:33:54 controller systemd: Starting The Apache HTTP Server...
6 M7 p* I- q! U* R2 YNov  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
4 g  `, Q  T  Z4 |Nov  3 22:33:54 controller httpd: (13)Permission denied: AH00072: make_sock: could not bind to address [::]:5000
% N# p# ?, ~+ L6 R/ B. BNov  3 22:33:54 controller httpd: (13)Permission denied: AH00072: make_sock: could not bind to address 0.0.0.0:5000+ d1 F0 n3 X# r) C8 Y$ y
Nov  3 22:33:54 controller httpd: no listening sockets available, shutting down" N0 J5 i- g" Y7 d* f7 X4 y0 j
Nov  3 22:33:54 controller httpd: AH00015: Unable to open logs& L$ K" Y1 B2 ?7 }/ L) J% k
Nov  3 22:33:54 controller systemd: httpd.service: main process exited, code=exited, status=1/FAILURE, T0 i% L' {7 b4 `4 ?1 u
Nov  3 22:33:54 controller kill: kill: cannot find process ""9 d8 R/ a, h, j8 n
Nov  3 22:33:54 controller systemd: httpd.service: control process exited, code=exited status=1
) l$ I3 O' }) V; `6 X  pNov  3 22:33:54 controller systemd: Failed to start The Apache HTTP Server.
; }0 C0 e3 t3 n3 V& z6 U" o) ZNov  3 22:33:54 controller systemd: Unit httpd.service entered failed state.2 }  e% i; Q) _  G1 ]2 J/ o5 A, {# v0 b
Nov  3 22:33:54 controller systemd: httpd.service failed.) a, x: T3 ]3 z& R5 v  w
Nov  3 22:34:43 controller systemd: Starting The Apache HTTP Server...7 I; W" y# f1 z2 Y
Nov  3 22:34:43 controller httpd: (13)Permission denied: AH00072: make_sock: could not bind to address [::]:5000
0 u5 u+ |( \4 K- v6 KNov  3 22:34:43 controller httpd: (13)Permission denied: AH00072: make_sock: could not bind to address 0.0.0.0:5000: ~% E, a# \# o, \9 U9 c
Nov  3 22:34:43 controller httpd: no listening sockets available, shutting down% a9 N; l/ C! [- m) p7 ?6 x

$ c# r+ @& I  e8 L' @' ]0 Q9 M" c4 X- e& w
原因是selinux并未关闭,检查关闭selinux 即可0 U' u4 U+ Q  z: A+ v( p. M. H% ~
#getenforce' w3 e" ^8 I: n4 d
! }8 r& J' U5 R  j" M% u( x9 P
Enforcing
3 c2 _7 B4 T; g# S5 k
. N& ~& X8 Z) ?  J) iSElinux未禁用。
- B7 I, q% C2 j* h* s
2 k2 C" A) J$ K1、临时禁用SELinux:
5 B, G# T# h' u. x  a# setenforce 0
( n" B, O" h" {* ~这样重启服务器之后,还是会启动SELinux;
$ I6 B/ I; f; J7 i! S
: q8 X6 |3 Q7 Z/ ~备注:setenforce 1 临时启用SELinux/ C" t5 k% a8 J+ @9 _8 ^& q
3 U7 D0 ?& z6 @/ X
2、临时禁止后还是会启动,有需要的可以永久禁止。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-6-12 04:06 , Processed in 0.018911 second(s), 22 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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