apache使用 Phusion Passenger运行redmine是apache日志错误:
[Mon Sep 20 22:18:36 2010] [notice] SELinux policy enabled; httpd running as context root:system_r:httpd_t:s0
[Mon Sep 20 22:18:36 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Sep 20 22:18:36 2010] [error] *** Passenger could not be initialized because of this error: Cannot create FIFO file /tmp/passenger.5455/.guard: Permission denied (13)
[Mon Sep 20 22:18:36 2010] [notice] Digest: generating secret for digest authentication ...
[Mon Sep 20 22:18:36 2010] [notice] Digest: done
[Mon Sep 20 22:18:36 2010] [error] *** Passenger could not be initialized because of this error: Cannot create FIFO file /tmp/passenger.5457/.guard: Permission denied (13)
[Mon Sep 20 22:18:36 2010] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Mon Sep 20 22:23:11 2010] [notice] caught SIGTERM, shutting down
问题原因:
SELinux造成apache没有权限
解决办法:
让它不保护apache,在shell中执行:
setsebool -P httpd_disable_trans 1

相关文章:

  • 2021-09-16
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-16
  • 2021-11-07
  • 2022-12-23
猜你喜欢
  • 2021-12-15
  • 2021-10-16
  • 2021-08-20
  • 2021-09-27
  • 2021-09-27
  • 2021-08-10
  • 2022-01-18
相关资源
相似解决方案