解决:Cannot create FIFO file /tmp/passenger.5455/.guard: Permission
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