- 积分
- 16843
在线时间 小时
最后登录1970-1-1
|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?开始注册
x
controller httpd: (13)Permission denied: AH00072: make_sock: could not bind to address [::]:5000
/ S0 ]- b- w. z4 O9 r* p/ g) ?# q" Z) `0 e. m- g9 o
Nov 3 22:33:54 controller systemd: Starting The Apache HTTP Server...
7 [. D# x# K6 @4 F/ XNov 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
# G' k- H. [% i2 X/ F9 m3 `2 zNov 3 22:33:54 controller httpd: (13)Permission denied: AH00072: make_sock: could not bind to address [::]:5000. U5 M7 X& ~1 A, U+ O6 ?6 {
Nov 3 22:33:54 controller httpd: (13)Permission denied: AH00072: make_sock: could not bind to address 0.0.0.0:5000
3 G- h( z* W" A8 oNov 3 22:33:54 controller httpd: no listening sockets available, shutting down
5 E. E2 M, v: b3 _3 uNov 3 22:33:54 controller httpd: AH00015: Unable to open logs8 J/ F* {6 _3 e
Nov 3 22:33:54 controller systemd: httpd.service: main process exited, code=exited, status=1/FAILURE8 K9 X8 d a0 h# s' I5 {
Nov 3 22:33:54 controller kill: kill: cannot find process ""
! Q( j, w1 r. S+ g! _Nov 3 22:33:54 controller systemd: httpd.service: control process exited, code=exited status=1) v, t. }* u: w; Y: \( r5 u |
Nov 3 22:33:54 controller systemd: Failed to start The Apache HTTP Server.
4 v; I# T4 v6 NNov 3 22:33:54 controller systemd: Unit httpd.service entered failed state.
7 ~3 N1 v' { ]8 P9 WNov 3 22:33:54 controller systemd: httpd.service failed.2 K# h, v5 g( j
Nov 3 22:34:43 controller systemd: Starting The Apache HTTP Server...5 I, }& {# t' R0 U" r- u
Nov 3 22:34:43 controller httpd: (13)Permission denied: AH00072: make_sock: could not bind to address [::]:5000( U. |7 e! z) U
Nov 3 22:34:43 controller httpd: (13)Permission denied: AH00072: make_sock: could not bind to address 0.0.0.0:50003 k' A5 e5 [, y
Nov 3 22:34:43 controller httpd: no listening sockets available, shutting down
+ x& n; q) k/ r% {5 s* J+ _3 L6 ~( o' r, K- t; {
5 Q: R- a6 c: s" }原因是selinux并未关闭,检查关闭selinux 即可5 C: f7 H0 F: ^
#getenforce
. z# P" R" l5 E# p0 L
$ Z- ?* O; j; a/ Q8 a0 G6 |Enforcing4 O9 Z1 h& y6 M$ \2 \* c
8 c% L9 T/ K; n" K2 ASElinux未禁用。8 d. W b9 T. [4 ?: e6 Q5 E+ a
+ @9 u: T {" s& c! N1、临时禁用SELinux:0 H9 C9 f# m8 Z! {0 }$ j
# setenforce 0
& T d2 t6 d# D* J这样重启服务器之后,还是会启动SELinux;
$ N. b% p2 @: t1 [5 h- R
4 u6 Q* \8 Z. R; D2 }备注:setenforce 1 临时启用SELinux
. d; X: t5 H; D
1 A# A! x8 A/ |$ D% P2、临时禁止后还是会启动,有需要的可以永久禁止。 |
|