- 积分
- 16840
在线时间 小时
最后登录1970-1-1
|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?开始注册
x
controller httpd: (13)Permission denied: AH00072: make_sock: could not bind to address [::]:50005 c- n! C& |/ ^& p- `9 R
% `" |& S/ k/ {/ q; jNov 3 22:33:54 controller systemd: Starting The Apache HTTP Server...* F: V" @( V) b! c# R0 L- c3 M6 l
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& ^# W# Z/ w( |/ A
Nov 3 22:33:54 controller httpd: (13)Permission denied: AH00072: make_sock: could not bind to address [::]:5000
4 t3 C% V: |0 D& y- K) h T; HNov 3 22:33:54 controller httpd: (13)Permission denied: AH00072: make_sock: could not bind to address 0.0.0.0:5000
" o* O& k" y4 V$ A% s2 r" ~' ]Nov 3 22:33:54 controller httpd: no listening sockets available, shutting down
' i4 r, T5 G- Q) Y; o( g3 R, yNov 3 22:33:54 controller httpd: AH00015: Unable to open logs
! b- a/ x8 g5 HNov 3 22:33:54 controller systemd: httpd.service: main process exited, code=exited, status=1/FAILURE7 a5 K8 Y" T: N3 z
Nov 3 22:33:54 controller kill: kill: cannot find process ""% N( I& I9 Z' z
Nov 3 22:33:54 controller systemd: httpd.service: control process exited, code=exited status=1
, X0 z# g. W/ L5 ~Nov 3 22:33:54 controller systemd: Failed to start The Apache HTTP Server.3 @& ~, ]: {$ b" e7 \
Nov 3 22:33:54 controller systemd: Unit httpd.service entered failed state.
3 v, h8 E. D6 `0 g" u: E6 \Nov 3 22:33:54 controller systemd: httpd.service failed.
* O4 Y9 \% Y/ I: i& I: \7 GNov 3 22:34:43 controller systemd: Starting The Apache HTTP Server..." u7 ^& t$ m) [* ]
Nov 3 22:34:43 controller httpd: (13)Permission denied: AH00072: make_sock: could not bind to address [::]:5000! p1 A$ z+ g$ T& c5 s$ q
Nov 3 22:34:43 controller httpd: (13)Permission denied: AH00072: make_sock: could not bind to address 0.0.0.0:5000, U: g* x' g; a# R" L! Z8 g4 H
Nov 3 22:34:43 controller httpd: no listening sockets available, shutting down% v8 v' o. x9 Q' b8 O& J/ n2 @ S
v6 v1 W4 K; a# e; E; b0 K/ W9 r% g( ~0 C% p: k) B. S
原因是selinux并未关闭,检查关闭selinux 即可. N5 D; l. b @. w) @2 z' `2 {
#getenforce
|2 r8 S$ D( Z0 D$ U# y% Y3 {$ [% N+ ?4 f4 r8 Q" s
Enforcing. U, x+ i6 w. S2 l F6 T1 T
# Q% Y+ }6 K8 i& J& Q
SElinux未禁用。$ N- o% ?9 ]. X" U
$ R9 q9 {) k- J; z, t B4 f9 P1、临时禁用SELinux:+ e, n; {/ X# Z7 ~% u* Z$ h
# setenforce 0% W0 R9 J+ p, z5 c* m3 h* G
这样重启服务器之后,还是会启动SELinux;/ ~- \9 m( r( h- @" w$ Q5 h, o
! l6 X; }! ?; k1 S- E' r( |0 ?6 M S& y备注:setenforce 1 临时启用SELinux- c8 q5 M* R* K. a( b0 ^
5 V! S3 n4 \" O3 O3 ^/ H2、临时禁止后还是会启动,有需要的可以永久禁止。 |
|