Running inside a Linode slice with Ubuntu 10.04 LTS. I get a 500 Internal Server Error.

The Apache log has:

Apache/2.2.14 (Ubuntu) Phusion_Passenger/2.2.7 set up -- returning to normal procedures

caught SIGTERM, shutting lower

* Passenger couldn't be initialized due to this error: The Passenger spawn server script, '/usr/local/lib/ruby/gems/1.8/gems/passenger-3../lib/phusion_passenger/passenger-spawn-server', doesn't exist. Book if the 'PassengerRoot' choice is specified properly.

However when we run: sudo passenger-install-apache2-module. Passenger doesn't complain.

On restart we obtain: sudo /etc/init.d/apache2 restart * Restarting web server apache2 [Sitting March 23 23:58:30 2010] [warn] module passenger_module has already been loaded, missing ... waiting [Sitting March 23 23:58:31 2010] [warn] module passenger_module has already been loaded, missing ...done.

Any ideas?

Thanks ahead of time!

Try (re)setting up the native apache module (after setting up the jewel)

apt-get install libapache2-mod-passenger

I believe I'd exactly the same problem also it labored next.

Best of luck!

I solved this formerly using:

sudo a2dismod passenger
sudo /etc/init.d/apache2 restart

Seems like your config file has run out of whack. Have you run the instructions such as the following the install? It appears like it's worrying that you simply did not add the PassengerRoot directive for your apache config. The passenger install requires you to definitely give a couple of lines for your Apache config file by hand. On the ubuntu install this is actually the apache.conf file: /etc/apache2/apache2.conf

Make certain you add the lines

LoadModule passenger_module /home/[username]/.rvm/gems/ruby-1.9.2-p0/gems/passenger-3.0.0/ext/apache2/
PassengerRoot /home/[username]/.rvm/gems/ruby-1.9.2-p0/gems/passenger-3.0.0
PassengerRuby /home/[username]/.rvm/wrappers/ruby-1.9.2-p0/ruby

This assumes you're using RVM. Otherwise, the printout and also the finish from the install provides you with the right path.