apache报Permission denied: make_sock: could not bind to address 解决方案
2015-05-14 12:23
525 查看
启动Apache时报错信息:
[root@guest-4-205 httpd]# /etc/init.d/httpd start
Starting httpd: (13)Permission denied: make_sock: could not bind to address [::]:8000
(13)Permission denied: make_sock: could not bind to address 0.0.0.0:8000
no listening sockets available, shutting down
Unable to open logs
[FAILED]
查看selinux状态:
[root@guest-4-205 httpd]# sestatus
SELinux status: enabled
SELinuxfs mount: /selinux
Current mode: permissive
Mode from config file: enforcing
Policy version: 24
Policy from config file: targeted
解决方案:
增加selinux中http的端口
semanage port -l|grep http #查看SELinux下http相关端口
semanage port -a -t http_port_t -p tcp 8000 #增加这个非标准端口即可
[root@guest-4-205 httpd]# /etc/init.d/httpd status
httpd (pid 32061) is running...
本文出自 “信息安全||运维||云计算” 博客,请务必保留此出处http://infosec.blog.51cto.com/226250/1651214
[root@guest-4-205 httpd]# /etc/init.d/httpd start
Starting httpd: (13)Permission denied: make_sock: could not bind to address [::]:8000
(13)Permission denied: make_sock: could not bind to address 0.0.0.0:8000
no listening sockets available, shutting down
Unable to open logs
[FAILED]
查看selinux状态:
[root@guest-4-205 httpd]# sestatus
SELinux status: enabled
SELinuxfs mount: /selinux
Current mode: permissive
Mode from config file: enforcing
Policy version: 24
Policy from config file: targeted
解决方案:
增加selinux中http的端口
semanage port -l|grep http #查看SELinux下http相关端口
semanage port -a -t http_port_t -p tcp 8000 #增加这个非标准端口即可
[root@guest-4-205 httpd]# /etc/init.d/httpd status
httpd (pid 32061) is running...
本文出自 “信息安全||运维||云计算” 博客,请务必保留此出处http://infosec.blog.51cto.com/226250/1651214
相关文章推荐
- apache报Permission denied: make_sock: could not bind to address 解决方案
- apache启动报错(98)Address already in use: make_sock: could not bind to...
- Apache不能自启动 (OS 10013)以一种访问权限不允许的方式做了一个访问套接字的尝试。 : AH00072: make_sock: could not bind to address [
- apache启动报错(98)Address already in use: make_sock: could not bind to address [::]:80
- apache 8080端口冲突( Starting httpd: (98)Address already in use: make_sock: could not bind to address )
- Windows10安装Apache2.4启动失败。 AH00072: make_sock: could not bind to address [::]:443
- windows下启动apache报make_sock: could not bind to address [::]:443错误!
- Permission denied: make_sock: could not bind to address [::]:81 Apache 虚拟主机
- “make_sock: could not bind to address [::]:443” when restarting apache (installing trac and mod_wsgi
- Apache 出现make_sock: could not bind to address 0.0.0.0:80...
- LINUX下开启apache时出现Address already in use: make_sock: could not bind to address [::]:80
- Linux 启动 Apache 时报错:(98)Address already in use: make_sock: could not bind to add
- Permission denied: make_sock: could not bind to address [::]:81 Apache 虚拟主机
- Apache Address already in use: make_sock: could not bind to port 80 or 443 error and solution
- apache启动报错(98)Address already in use: make_sock: could not bind to address [::]:80
- apache启动报错# Address already in use: make_sock: could not bind to address [::]:80
- Apache 出现make_sock: could not bind to address 0.0.0.0:80...
- Linux 启动 Apache 时报错:(98)Address already in use: make_sock: could not bind to add
- windows下启动apache报make_sock: could not bind to address [::]:443错误!
- apache启动报错(98)Address already in use: make_sock: could not bind to address [::]:80 (98)Address alrea