Cannot execute "/home/$USER/.rvm/gems/ruby-2.0.0-p481/gems/passenger-4.0.45/buildout/agents/SpawnPreparer": Permission denied (errno=13)
Added by John Simmons almost 10 years ago
Web application could not be started
Cannot execute "/home/$USER/.rvm/gems/ruby-2.0.0-p481/gems/passenger-4.0.45/buildout/agents/SpawnPreparer": Permission denied (errno=13)
Application root
/opt/redmine/current
Environment (value of RAILS_ENV, RACK_ENV, WSGI_ENV, NODE_ENV and PASSENGER_APP_ENV)
production
Ruby interpreter command
/home/$USER/.rvm/gems/ruby-2.0.0-p481/wrappers/ruby
User and groups
Unknown
Environment variables
Unknown
Ulimits
Unknown
I have looked all over for a solution to this, and I've checked my permission and owners on every file/directory involved. Everything is owned by the same user, and I've moved everything to 777 and nothing works. This server has worked fine, then I upgraded from 2.5.2.stable.13345 to 2.5.3.stable.14266, and had a small problem with "My account" page 500 error, and tried to install gem tzinfo (my problem found here http://www.redmine.org/boards/2/topics/47356). After reboot, all i get is the page above.
Replies (1)
RE: Cannot execute "/home/$USER/.rvm/gems/ruby-2.0.0-p481/gems/passenger-4.0.45/buildout/agents/SpawnPreparer": Permission denied (errno=13)
-
Added by John Simmons almost 10 years ago
I had installed tzinfo as root, and that broke a lot of stuff. I basically had to uninstall lots of gems that shared dependencies with tzinfo, and reinstall without sudo.