apache报Permission denied: make_sock: could not bin
来源:互联网 发布:阿里巴巴北京总部 知乎 编辑:程序博客网 时间:2024/06/05 16:36
启动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...
安装semanage
# yum -y install policycoreutils-python
- apache报Permission denied: make_sock: could not bin
- linux apache报Permission denied: make_sock: could not bind to address
- Permission denied: make_sock: could not bind to address [::]:81 Apache 虚拟主机
- Permission denied: make_sock: could not bind to address处理
- permission denied make_sock could not bind to address
- 解决:Permission denied: make_sock: could not bind to address
- 解决:Permission denied: make_sock: could not bind to address
- 解决:Permission denied: make_sock: could not bind to address
- Permission denied: make_sock: could not bind to address [::]:80
- Linux:解决Permission denied: make_sock: could not bind to address
- apache2.x修改默认端口后报 Starting httpd: (13)Permission denied: make_sock: could not bind to address
- apache2.x修改默认端口后报 Starting httpd: (13)Permission denied: make_sock: could not bind to address .
- 关于Centos 出现httpd:(13)Permission denied: make_sock: could not bind to address [::]:80 (13)Permission
- httpd 13 permission denied make_sock could not bind to address 失败的原因
- linux 下apche无法监听端口解决办法(Permission denied: make_sock: could not bind to address)
- Starting httpd: (13)Permission denied: make_sock: could not bind to address [::]
- Starting httpd: (13)Permission denied: make_sock: could not bind to address
- httpd 13 permission denied make_sock could not bind to address 失败的原因
- 谈谈微服务中的 API 网关(API Gateway)
- HandlerThread 使用实例
- c++模拟post和get请求
- iSwift for Mac(Objective-C代码转换工具)破解版 v4.0激活版
- Jboss与com.sun.jersey.guice冲突
- apache报Permission denied: make_sock: could not bin
- 怒转~Git 常用命令总结
- 3379 数据结构实验之查找七:线性之哈希表
- 我的刷题之路
- Day07 --构造方法 static Math对象
- Python学习笔记(十)—函数和变量
- 循环10秒检测是否存在某进程
- MyBatis框架的使用
- 面试题7:用两个栈实现队列