Thanks Hongli for the response!
Since i got the above problem, i just re-installed passenger-install-
apache2-module. It failed again with the following error.
Compiling and installing Apache 2 module...
cd /home/ec2-user/.rvm/gems/ruby-1.9.2-p290/gems/passenger-3.0.11
/home/ec2-user/.rvm/wrappers/ruby-1.9.2-p290/rake apache2:clean
apache2 RELEASE=yes
# /home/ec2-user/.rvm/wrappers/ruby-1.9.2-p290/rake apache2:clean
apache2 RELEASE=yes
rm -rf ext/common/libboost_oxt.a ext/common/libboost_oxt
rm: cannot remove `ext/common/libboost_oxt/aggregate.o': Permission
denied
rm: cannot remove `ext/common/libboost_oxt/aggregate.cpp': Permission
denied
rake aborted!
Command failed with status (1): [rm -rf ext/common/libboost_oxt.a ext/
commo...]
Tasks: TOP => apache2:clean => common:clean
(See full trace by running task with --trace)
--------------------------------------------
It looks like something went wrong
Please read our Users guide for troubleshooting tips:
/home/.rvm/gems/ruby-1.9.2-p290/gems/passenger-3.0.11/doc/Users
guid
e Apache.html
If that doesn't help, please use our support facilities at:
http://www.modrails.com/
We'll do our best to help you.
What should be the cause here???
On Mar 6, 12:48 pm, Hongli Lai <
hon...@phusion.nl> wrote:
> Probably because the user apache is running as does not have permission to
> access /home/ec2-user.
>
> Sent from my Android phone.
> Op 6 mrt. 2012 07:33 schreef "amala" <
amala....@gmail.com> het volgende: