2012-12-02 45 views

回答

0

罪魁祸首是SELinux不允许apache运行phusion乘客。我在这里找到了答案 - https://groups.google.com/forum/?fromgroups=#!topic/phusion-passenger/qaVUIq2HceE

这是我如何固定它:

[[email protected] conf]# getenforce 
Enforcing 
[[email protected] conf]# echo 0 > /selinux/enforce 
[[email protected] conf]# getenforce 
Permissive 
[[email protected] conf]# service httpd restart 
Stopping httpd:           [ OK ] 
Starting httpd:           [ OK ] 
[[email protected] conf]# passenger-status 
----------- General information ----------- 
max  = 6 
count = 0 
active = 0 
inactive = 0 
Waiting on global queue: 0 

----------- Application groups ----------- 
[[email protected] conf]# 

现在,当我去我的应用程序URL,它工作正常。