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

相关文章:

  • 2021-10-29
  • 2022-01-15
  • 2021-09-17
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2018-10-31
猜你喜欢
  • 2021-09-23
  • 2022-01-03
  • 2022-12-23
  • 2021-04-05
  • 2021-08-22
  • 2021-10-12
相关资源
相似解决方案