I installed Passenger successfully . After installing I have added below three lines in apache2.conf.
LoadModule passenger_module /usr/lib/ruby/gems/1.8/gems/passenger-2.2.11/ext/apache2/mod_passenger.so PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-2.2.11 PassengerRuby /usr/bin/ruby1.8
Then I restarted the apache2.
then I have added the below line in /etc/apache2/sites-available/default <VirtualHost *:80>
ServerName ipaddress ServerAlias www.domain1.com
DocumentRoot /var/www/testapp/public
</VirtualHost>
Then i restarted the apache2.
Then i run the url in browser . I didn't get any response . But I have seen the apache error log, I got below errors are flowing in apache error log
apache Error log:-
[Wed Mar 24 19:41:46 2010] [notice] child pid 26445 exit signal Aborted (6) [Wed Mar 24 19:41:46 2010] [notice] child pid 26446 exit signal Aborted (6) [Wed Mar 24 19:41:46 2010] [notice] child pid 26447 exit signal Aborted (6) [Wed Mar 24 19:41:46 2010] [notice] child pid 26448 exit signal Aborted (6) [Wed Mar 24 19:41:46 2010] [notice] child pid 26449 exit signal Aborted (6) [ pid=26450 file=Hooks.cpp:625 time=03/24/10 19:41:46.627 ]: Cannot initialize Passenger in an Apache child process: Could not connect to the ApplicationPool server: Broken pipe (32) (this warning is harmless if you're currently restarting or shutting down Apache)
[ pid=26451 file=Hooks.cpp:625 time=03/24/10 19:41:47.627 ]: Cannot initialize Passenger in an Apache child process: Could not connect to the ApplicationPool server: Broken pipe (32) (this warning is harmless if you're currently restarting or shutting down Apache) [ pid=26452 file=Hooks.cpp:625 time=03/24/10 19:41:47.627 ]: Cannot initialize Passenger in an Apache child process: Could not connect to the ApplicationPool server: Broken pipe (32) (this warning is harmless if you're currently restarting or shutting down Apache)
[ pid=26453 file=Hooks.cpp:625 time=03/24/10 19:41:47.653 ]: Cannot initialize Passenger in an Apache child process: Could not connect to the ApplicationPool server: Broken pipe (32) (this warning is harmless if you're currently restarting or shutting down Apache)
[ pid=26454 file=Hooks.cpp:625 time=03/24/10 19:41:47.687 ]: Cannot initialize Passenger in an Apache child process: Could not connect to the ApplicationPool server: Broken pipe (32) (this warning is harmless if you're currently restarting or shutting down Apache)
[ pid=26455 file=Hooks.cpp:625 time=03/24/10 19:41:47.687 ]: Cannot initialize Passenger in an Apache child process: Could not connect to the ApplicationPool server: Broken pipe (32) (this warning is harmless if you're currently restarting or shutting down Apache)