Cant seem to get Passenger to work on my test server. Keep getting the following error in access_log *** Exception LoadError in PhusionPassenger::Rack::ApplicationSpawner (no such file to load -- rack/builder) (process 1998): from config.ru:1 Rack was installed from gem and is in the gempath. puppetversion 0.24.8 (both server and client) passenger (2.2.5) rack (1.0.1) rake (0.8.3) RHEL 5.3 httpd 2.2.3-22 ruby 1.8.5 The config.ru file is copied and pasted from http://reductivelabs.com/trac/puppet/wiki/UsingPassenger for 0.24.x Same goes for the virtual hosts config file, with added lines for Custom Logging Any suggestions? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On Feb 28, 2010, at 2:22 PM, Pratod <dotarp1@gmail.com> wrote:> Cant seem to get Passenger to work on my test server. Keep getting the > following error in access_log > > *** Exception LoadError in PhusionPassenger::Rack::ApplicationSpawner > (no such file to load -- rack/builder) (process 1998): > from config.ru:1 > > Rack was installed from gem and is in the gempath. > puppetversion 0.24.8 (both server and client) > passenger (2.2.5) > rack (1.0.1) > rake (0.8.3) > RHEL 5.3 > httpd 2.2.3-22 > ruby 1.8.5 > > The config.ru file is copied and pasted from > http://reductivelabs.com/trac/puppet/wiki/UsingPassenger for 0.24.x > Same goes for the virtual hosts config file, with added lines for > Custom Logging > > Any suggestions? > > -- > You received this message because you are subscribed to the Google > Groups "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com > . > For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en > . >Did you run passenger-install-apache2-module and then drop the provided config into the apache config? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Yes, the passenger configs have been added to httpd.conf On Feb 28, 2:28 pm, "Gary Larizza Jr." <glari...@me.com> wrote:> On Feb 28, 2010, at 2:22 PM, Pratod <dota...@gmail.com> wrote: > > > > > Cant seem to get Passenger to work on my test server. Keep getting the > > following error in access_log > > > *** Exception LoadError in PhusionPassenger::Rack::ApplicationSpawner > > (no such file to load -- rack/builder) (process 1998): > > from config.ru:1 > > > Rack was installed from gem and is in the gempath. > > puppetversion 0.24.8 (both server and client) > > passenger (2.2.5) > > rack (1.0.1) > > rake (0.8.3) > > RHEL 5.3 > > httpd 2.2.3-22 > > ruby 1.8.5 > > > The config.ru file is copied and pasted from > >http://reductivelabs.com/trac/puppet/wiki/UsingPassengerfor 0.24.x > > Same goes for the virtual hosts config file, with added lines for > > Custom Logging > > > Any suggestions? > > > -- > > You received this message because you are subscribed to the Google > > Groups "Puppet Users" group. > > To post to this group, send email to puppet-users@googlegroups.com. > > To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com > > . > > For more options, visit this group athttp://groups.google.com/group/puppet-users?hl=en > > . > > Did you run passenger-install-apache2-module and then drop the > provided config into the apache config?-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On 28 February 2010 19:22, Pratod <dotarp1@gmail.com> wrote:> Cant seem to get Passenger to work on my test server. Keep getting the > following error in access_log > > *** Exception LoadError in PhusionPassenger::Rack::ApplicationSpawner > (no such file to load -- rack/builder) (process 1998): > from config.ru:1 > > Rack was installed from gem and is in the gempath. > puppetversion 0.24.8 (both server and client) > passenger (2.2.5) > rack (1.0.1) > rake (0.8.3) > RHEL 5.3 > httpd 2.2.3-22 > ruby 1.8.5 > > The config.ru file is copied and pasted from > http://reductivelabs.com/trac/puppet/wiki/UsingPassenger for 0.24.x > Same goes for the virtual hosts config file, with added lines for > Custom Logging > > Any suggestions? > >Do you have multiple ruby installations? Be sure that the one passenger is loading has all the required gems. Cheers, Ben -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Only one ruby installation. Tried with both Passenger 2.2.2 and 2.2.5 (only one installed at a time), No luck. Thanks Pratod On Feb 28, 3:47 pm, Ben Lovell <benjamin.lov...@gmail.com> wrote:> On 28 February 2010 19:22, Pratod <dota...@gmail.com> wrote: > > > > > Cant seem to get Passenger to work on my test server. Keep getting the > > following error in access_log > > > *** Exception LoadError in PhusionPassenger::Rack::ApplicationSpawner > > (no such file to load -- rack/builder) (process 1998): > > from config.ru:1 > > > Rack was installed from gem and is in the gempath. > > puppetversion 0.24.8 (both server and client) > > passenger (2.2.5) > > rack (1.0.1) > > rake (0.8.3) > > RHEL 5.3 > > httpd 2.2.3-22 > > ruby 1.8.5 > > > The config.ru file is copied and pasted from > >http://reductivelabs.com/trac/puppet/wiki/UsingPassengerfor 0.24.x > > Same goes for the virtual hosts config file, with added lines for > > Custom Logging > > > Any suggestions? > > Do you have multiple ruby installations? Be sure that the one passenger is > loading has all the required gems. > > Cheers, > Ben-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On 1 March 2010 02:48, Pratod <dotarp1@gmail.com> wrote:> Only one ruby installation. Tried with both Passenger 2.2.2 and 2.2.5 > (only one installed at a time), No luck. > > Thanks > Pratod > >I just noticed you''re running ruby 1.8.5 which is pretty old. You probably want to use a more recent ruby interpreter, perhaps REE if this is a production environment. It works great with passenger and consumes much less memory than the other rubies: http://www.rubyenterpriseedition.com/ Cheers, Ben> On Feb 28, 3:47 pm, Ben Lovell <benjamin.lov...@gmail.com> wrote: > > On 28 February 2010 19:22, Pratod <dota...@gmail.com> wrote: > > > > > > > > > Cant seem to get Passenger to work on my test server. Keep getting the > > > following error in access_log > > > > > *** Exception LoadError in PhusionPassenger::Rack::ApplicationSpawner > > > (no such file to load -- rack/builder) (process 1998): > > > from config.ru:1 > > > > > Rack was installed from gem and is in the gempath. > > > puppetversion 0.24.8 (both server and client) > > > passenger (2.2.5) > > > rack (1.0.1) > > > rake (0.8.3) > > > RHEL 5.3 > > > httpd 2.2.3-22 > > > ruby 1.8.5 > > > > > The config.ru file is copied and pasted from > > >http://reductivelabs.com/trac/puppet/wiki/UsingPassengerfor 0.24.x > > > Same goes for the virtual hosts config file, with added lines for > > > Custom Logging > > > > > Any suggestions? > > > > Do you have multiple ruby installations? Be sure that the one passenger > is > > loading has all the required gems. > > > > Cheers, > > Ben > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscribe@googlegroups.com<puppet-users%2Bunsubscribe@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.