我在cento 7上安装了一个redmine web应用程序,使用postgresql 9.1并使用乘客。当我访问redmine应用程序时,出现以下错误:
We're sorry, but something went wrong.
The issue has been logged for investigation. Please try again later.
错误ID:f4adae6a详细信息:
Phusion Passenger无法启动Web应用程序 应用服务器。
请阅读Passenger日志文件(搜索错误ID)以查找 错误的细节。
当我访问/ var / log / httpd /的erro_log文件时,它是这样的:
[ E 2018-05-25 16:28:01.7581 24316/Td age/Cor/App/Implementation.cpp:221 ]: Could not spawn process for application /opt/redmine: An operating system error occurred while preparing to spawn an application process: Cannot create FIFO file /tmp/passenger.spawn.XXXXCTqsz4/response/finish: Permission denied (errno=13)
Error ID: f4adae6a
Error details saved to: /tmp/passenger-error-H1zmwo.html
[ E 2018-05-25 16:28:01.7609 24316/T6 age/Cor/Con/CheckoutSession.cpp:276 ]: [Client 1-2] Cannot checkout session because a spawning error occurred. The identifier of the error is f4adae6a. Please see earlier logs for details about the error.
看起来,首先,apache没有按照预期的那样在/tmp/passenger-error-H1zmwo.html中记录错误。
我已经尝试使用以下指南HERE
来放弃/ opt / redmine的权限我正在使用redmine 3.4.3,ruby 2.3.1和rails 4.2.8。乘客5.3.1
不知道该怎么做了。感谢一点帮助。更多信息请问我。
答案 0 :(得分:1)
您所描述的内容非常指向/tmp
它应该是这样的:
user@host:/$ ls -ld /tmp
drwxrwxrwt 8 root root 4096 May 29 16:32 /tmp
如果没有尝试这个(以root身份或通过sudo):
chmod 1777 /tmp