您的位置:首页 > 理论基础 > 计算机网络

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: [确定]
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: