selinux 导致无法启动httpd
2016-03-03 11:47
363 查看
selinux 导致无法启动httpd
ansible_dire:~ # /etc/init.d/httpd restart
停止 httpd: [失败]
正在启动 httpd:(13)Permission denied: httpd: could not open error log file /etc/httpd/logs/error_log.
Unable to open logs
[失败]
ansible_dire:~ # getenforce
Enforcing
ansible_dire:~ # setenforce 0
ansible_dire:~ # /etc/init.d/httpd restart
停止 httpd: [失败]
正在启动 httpd: [确定]
ansible_dire:~ # /etc/init.d/httpd restart
停止 httpd: [失败]
正在启动 httpd:(13)Permission denied: httpd: could not open error log file /etc/httpd/logs/error_log.
Unable to open logs
[失败]
ansible_dire:~ # getenforce
Enforcing
ansible_dire:~ # setenforce 0
ansible_dire:~ # /etc/init.d/httpd restart
停止 httpd: [失败]
正在启动 httpd: [确定]
相关文章推荐
- HTTP Basic Authentication
- Android网络 ——判断网络是否连接
- 超出TCP连接端口数限制(MaxUserPort)引起的服务器问题
- TCP/IP、Http、Socket的区别
- TCP/IP 路由 卷二 习题
- 网络编程socket之bind、Listen 及 accept
- [iOS]网络编程专题:Reachability的使用
- linux下网络文件系统NFS服务的搭建
- Web通信安全——Https实现原理
- python实现网络爬虫
- 有关HTTP请求的辅助类
- 找实习之计算机网络复习
- nginx -with-openssl 和 with-http-openssl区别
- Android网络通信库Volley简介
- 基于近邻用户协同过滤算法的音乐推荐系统
- bzoj3630 镜面通道 网络流
- IOS网络图片缓存详解
- 最近写的一些通过https request获取token的小工具
- Https协议简析及中间人攻击原理
- HTTP基本认证