Httpd Error:Permission denied: make_sock: could not bind to address XXXXX
该错误的发生在Linux上启动HTTPD服务的时候,具体报错如下:
1 2 3 4 5 6 7 8 |
[root@webserver software]# service httpd status httpd is stopped [root@webserver software]# service httpd start Starting httpd: (13)Permission denied: make_sock: could not bind to address 188.0.1.190:6666 no listening sockets available, shutting down Unable to open logs [FAILED] [root@webserver software]# |
产生该错误的原因是:SELINUX被开启。
当前SELINUX的状态:
1 2 3 4 5 6 7 8 |
[root@webserver software]# sestatus SELinux status: enabled SELinuxfs mount: /selinux Current mode: enforcing Mode from config file: disabled Policy version: 24 Policy from config file: targeted [root@webserver software]# |
关闭SELi[……]