我在尝试设置PassengerTempDir时遇到了麻烦:
我对apache + mod_passenger,CentOs有所了解。在redmine中,我在上传文件时有500个内部错误。由于我的问题,我发现我应该将PassengerTempDir更改为自定义文件夹。
wrong permissions set in the webserver_private directory of passenger.
对于测试,我创建了文件夹/ home / tmp_passenger并为其设置了777。
然后我继续export PASSENGER_TMPDIR=/tmp_passenger
结果是:
passenger-status
ERROR: Phusion Passenger doesn't seem to be running.
所以,在我继续export PASSENGER_TMPDIR=/tmp_passenger
之前
passenger-status
Version : 4.0.53
Date : 2014-12-29 12:43:36 +0100
Instance: 1416
----------- General information -----------
Max pool size : 20
Processes : 1
Requests in top-level queue : 0
----------- Application groups -----------
/home/admin/web/MYDOMAIN/public_html/redmine#default:
App root: /home/admin/web/MYDOMAIN/public_html/redmine
Requests in queue: 0
* PID: 6440 Sessions: 0 Processed: 8 Uptime: 22m 1s
CPU: 0% Memory : 52M Last used: 10m 29s ago
我继续export PASSENGER_TMPDIR=/tmp_passenger
passenger-status
ERROR: Phusion Passenger doesn't seem to be running.
请帮我解决问题。我现在该怎么办?