Reputation: 21
I try to start passenger standalone(4.0.20) and I get the error /root/.bash_profile: Permission denied. I changed the permissions of .bash_profile, but didn't solve the problem. It's a Ruby on Rails application, I am using Nginx, ruby 2.0.0p247, rails 3.2.14.
Content of .bash_profile
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
export PATH
Upvotes: 2
Views: 965
Reputation: 978
I had this problem under Red Hat with SELinux installed. I found that temporarily disabling SELinux fixed the problem.
If that fixes your problem, then you should dig deeper to find out how to tweak SELinux to allow passemger to run. Do not leave SELinux disabled!
Upvotes: 1