Cannot Start Passenger 3.0.18 Using Mountain Lion (OS X Server) and RVM

Posted by LightBe Corp on Server Fault See other posts from Server Fault or by LightBe Corp
Published on 2012-12-14T19:58:25Z Indexed on 2012/12/16 23:06 UTC
Read the original article Hit count: 270

I recently did a clean install of Mountain Lion on my Mac Mini Server.

I installed version 3.0.18 using a gem according to the directions on http://www.phusionpassenger.com with no errors that I could see.

rvmsudo gem install passenger-enterprise-server-3.0.18.gem
rvmsudo passenger-install-apache2-module

Here are my entries in /etc/apache2/httpd.conf with my username masked:

LoadModule passenger_module /Users/username/.rvm/gems/ruby-1.9.3-p327/gems/passenger-enterprise-server-3.0.18/ext/apache2/mod_passenger.so
PassengerRoot /Users/username/.rvm/gems/ruby-1.9.3-p327/gems/passenger-enterprise-server-3.0.18
PassengerRuby /Users/username/.rvm/wrappers/ruby-1.9.3-p327/ruby

I uncommented out the following statement:

Include /private/etc/apache2/extra/httpd-vhosts.conf

Here is a sample virtual host entry. I have three of them in the file.

<VirtualHost *:80>
  ServerName www.mydomain.com
  ServerAlias mydomain.com
  PassengerAppRoot /Users/username/Sites/myfolder/
  DocumentRoot /Users/username/Sites/myfolder/public
  <Directory /Users/username/Sites/myfolder/public>
     Allow from all
     AllowOverride all
     Options -MultiViews
  </Directory>
</VirtualHost>

I have restarted Apache several times. Here is information from my server:

[~]$ ps -ef | grep Passenger
  501 18804   303   0 12:39PM ttys000    0:00.00 grep Passenger
[~]$ rvmsudo passenger-status
Password:
**ERROR: Phusion Passenger doesn't seem to be running.**
[~]$ rvmsudo passenger-config --version  
3.0.18

I have tried doing online searches on this. I was surprised that there was not all that much on this specific error even though from my understanding Passenger has been around for a few years. I have posted this issue on the Phusion Passenger Google Groups but have not heard anything.

Any help would be appreciated, the sooner the better LOL. Seriously I need to have one of my three websites up by tomorrow evening. This is the only issue stopping that from happening. Thanks again.

© Server Fault or respective owner

Related posts about apache2

Related posts about phusion-passenger