apache运行redmine 报Cannot create FIFO file /tmp/passenger.5455/.guard: Permission

本文记录了一次使用Apache配合Phusion Passenger部署Redmine过程中遇到的SELinux权限问题,主要表现为无法创建临时文件导致Passenger初始化失败。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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

第一次搞ruby 实在没有搞懂,拜托大家赐教,先谢了
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值