selinux 导致无法启动httpd

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: [确定]

posted @ 2016-03-03 11:47  众里寻,阑珊处  阅读(445)  评论(0编辑  收藏  举报
返回顶部