Monday, January 9, 2017

apache 2.2 - Unable to start the Phusion Passenger watchdog

I'm trying to install Passenger (mod_rails) on Apache2 server by using the command



1. gem install passenger
2. passenger-install-apache2-module


Passenger gets installed and i added the below line to my configuration file





LoadModule passenger_module
/home/ec2-user/.rvm/gems/ruby-1.9.2-p290/gems/pass
enger-3.0.11/ext/apache2/mod_passenger.so
PassengerRoot /home/ec2-user/.rvm/gems/ruby-1.9.2-p290/gems/passenger-3.0.11
PassengerRuby /home/ec2-user/.rvm/wrappers/ruby-1.9.2-p290/ruby




Once i finished all those steps and i started accessing of Apache2 server.



I got the following Passenger error:





[error] *** Passenger could not be initialized because of this error:
Unable to start the Phusion Passenger watchdog because its exec utable
(/usr/lib/phusion-passenger/agents/PassengerWatchdog) does not exist.
Thi s probably means that your Phusion Passenger installation is
broken or incomplet e, or that your 'PassengerRoot' directive is set
to the wrong value. Please rein stall Phusion Passenger or fix your
'PassengerRoot' directive, whichever is appl icable.





After getting this error, i re-installed Passenger once again with those steps but still this problem remains the same.



Appreciate your help in resolving this issue.

No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...