1

I try to solve the problem described here by adding some Passenger configuration options to my virtual host settings, like this:

<VirtualHost 123.123.123.456:80>
  DocumentRoot  /var/www/my-app/public
  ServerName my-awesome-site.com
  PassengerMinInstances 1
  PassengerPoolIdleTime 1000
</VirtualHost>

PassengerPreStart http.//my-awesome-site.com

When I tell Apache2 to restart, it tells me:

Invalid command 'PassengerMinInstances', perhaps misspelled or 
defined by a module not included in the server configuration

My system: Server version: Apache/2.2.8 (Ubuntu), Passenger version: 3.0.8

I couldn´t find an answer to this problem yet.

Any hints, folks?

Community
  • 1
  • 1
auralbee
  • 8,741
  • 4
  • 29
  • 36
  • Did you try moving it outside of the virtual host block? Make sure the Passenger module is loaded before this VH block. – Callmeed Aug 24 '11 at 19:16
  • Problem solved. I installed passenger-3.0.8 but forgot to update the Apache configuration :-( Thanks for your help. – auralbee Aug 24 '11 at 20:40

1 Answers1

1

Did you complete the Passenger installation by adding the suggested code to the bottom of your Apache configuration file?

Are you running Passenger in the same version of Ruby indicated in that code at the bottom of Apache configuration?

allesklar
  • 9,506
  • 6
  • 36
  • 53