Hi, I''ve got the following errors when i try to connect from a client. I have no idea how to solve that. I''m migrating to passenger. .... err: /File[/var/lib/puppet/lib]: Failed to generate additional resources using ''eval_generate'': Error 400 on SERVER: undefined method `path'' for #<Rack::Request:0x7fbe728a7888> debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw yaml; using pson err: /File[/var/lib/puppet/lib]: Failed to retrieve current state of resource: Error 400 on SERVER: undefined method `path'' for #<Rack::Request:0x7fbe728a3490> Could not retrieve file metadata for puppet://puppet/plugins: Error 400 on SERVER: undefined method `path'' for #<Rack::Request:0x7fbe728a3490> debug: Finishing transaction 70333353602660 with 0 changes debug: catalog supports formats: b64_zlib_yaml marshal pson raw yaml; using pson err: Could not retrieve catalog from remote server: Error 400 on SERVER: undefined method `path'' for #<Rack::Request:0x7fbe7289f0e8> warning: Not using cache on failed catalog err: Could not retrieve catalog; skipping run Could you help me please ? Regards, Grifith -- 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 30 March 2010 11:36, smain kahlouch <smainklh@gmail.com> wrote:> Hi, > > I''ve got the following errors when i try to connect from a client. I have > no idea how to solve that. > I''m migrating to passenger. > > .... > err: /File[/var/lib/puppet/lib]: Failed to generate additional resources > using ''eval_generate'': Error 400 on SERVER: undefined method `path'' for > #<Rack::Request:0x7fbe728a7888> > debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw yaml; > using pson > err: /File[/var/lib/puppet/lib]: Failed to retrieve current state of > resource: Error 400 on SERVER: undefined method `path'' for > #<Rack::Request:0x7fbe728a3490> Could not retrieve file metadata for > puppet://puppet/plugins: Error 400 on SERVER: undefined method `path'' for > #<Rack::Request:0x7fbe728a3490> > debug: Finishing transaction 70333353602660 with 0 changes > debug: catalog supports formats: b64_zlib_yaml marshal pson raw yaml; using > pson > err: Could not retrieve catalog from remote server: Error 400 on SERVER: > undefined method `path'' for #<Rack::Request:0x7fbe7289f0e8> > warning: Not using cache on failed catalog > err: Could not retrieve catalog; skipping run > > Could you help me please ? > > Regards, > Grifith > >What does this command show: `gem list|grep rack` It seems as though you are using an outdated version of the rack gem. 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.
2010/3/30 Ben Lovell <benjamin.lovell@gmail.com>> On 30 March 2010 11:36, smain kahlouch <smainklh@gmail.com> wrote: > >> Hi, >> >> I''ve got the following errors when i try to connect from a client. I have >> no idea how to solve that. >> I''m migrating to passenger. >> >> .... >> err: /File[/var/lib/puppet/lib]: Failed to generate additional resources >> using ''eval_generate'': Error 400 on SERVER: undefined method `path'' for >> #<Rack::Request:0x7fbe728a7888> >> debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw >> yaml; using pson >> err: /File[/var/lib/puppet/lib]: Failed to retrieve current state of >> resource: Error 400 on SERVER: undefined method `path'' for >> #<Rack::Request:0x7fbe728a3490> Could not retrieve file metadata for >> puppet://puppet/plugins: Error 400 on SERVER: undefined method `path'' for >> #<Rack::Request:0x7fbe728a3490> >> debug: Finishing transaction 70333353602660 with 0 changes >> debug: catalog supports formats: b64_zlib_yaml marshal pson raw yaml; >> using pson >> err: Could not retrieve catalog from remote server: Error 400 on SERVER: >> undefined method `path'' for #<Rack::Request:0x7fbe7289f0e8> >> warning: Not using cache on failed catalog >> err: Could not retrieve catalog; skipping run >> >> Could you help me please ? >> >> Regards, >> Grifith >> >> > What does this command show: > > `gem list|grep rack` > > It seems as though you are using an outdated version of the rack gem. > > 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. >Hi Ben, Here''s the output : gem list|grep rack rack (1.0.1) -- 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 30 March 2010 12:31, smain kahlouch <smainklh@gmail.com> wrote:> > > 2010/3/30 Ben Lovell <benjamin.lovell@gmail.com> > >> On 30 March 2010 11:36, smain kahlouch <smainklh@gmail.com> wrote: >> >>> Hi, >>> >>> I''ve got the following errors when i try to connect from a client. I have >>> no idea how to solve that. >>> I''m migrating to passenger. >>> >>> .... >>> err: /File[/var/lib/puppet/lib]: Failed to generate additional resources >>> using ''eval_generate'': Error 400 on SERVER: undefined method `path'' for >>> #<Rack::Request:0x7fbe728a7888> >>> debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw >>> yaml; using pson >>> err: /File[/var/lib/puppet/lib]: Failed to retrieve current state of >>> resource: Error 400 on SERVER: undefined method `path'' for >>> #<Rack::Request:0x7fbe728a3490> Could not retrieve file metadata for >>> puppet://puppet/plugins: Error 400 on SERVER: undefined method `path'' for >>> #<Rack::Request:0x7fbe728a3490> >>> debug: Finishing transaction 70333353602660 with 0 changes >>> debug: catalog supports formats: b64_zlib_yaml marshal pson raw yaml; >>> using pson >>> err: Could not retrieve catalog from remote server: Error 400 on SERVER: >>> undefined method `path'' for #<Rack::Request:0x7fbe7289f0e8> >>> warning: Not using cache on failed catalog >>> err: Could not retrieve catalog; skipping run >>> >>> Could you help me please ? >>> >>> Regards, >>> Grifith >>> >>> >> What does this command show: >> >> `gem list|grep rack` >> >> It seems as though you are using an outdated version of the rack gem. >> >> 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. >> > > Hi Ben, > > Here''s the output : > > gem list|grep rack > rack (1.0.1) > >Try updating the rack gem: `gem update rack` Should fix the issue. 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.
2010/3/30 Ben Lovell <benjamin.lovell@gmail.com>> On 30 March 2010 12:31, smain kahlouch <smainklh@gmail.com> wrote: > >> >> >> 2010/3/30 Ben Lovell <benjamin.lovell@gmail.com> >> >>> On 30 March 2010 11:36, smain kahlouch <smainklh@gmail.com> wrote: >>> >>>> Hi, >>>> >>>> I''ve got the following errors when i try to connect from a client. I >>>> have no idea how to solve that. >>>> I''m migrating to passenger. >>>> >>>> .... >>>> err: /File[/var/lib/puppet/lib]: Failed to generate additional resources >>>> using ''eval_generate'': Error 400 on SERVER: undefined method `path'' for >>>> #<Rack::Request:0x7fbe728a7888> >>>> debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw >>>> yaml; using pson >>>> err: /File[/var/lib/puppet/lib]: Failed to retrieve current state of >>>> resource: Error 400 on SERVER: undefined method `path'' for >>>> #<Rack::Request:0x7fbe728a3490> Could not retrieve file metadata for >>>> puppet://puppet/plugins: Error 400 on SERVER: undefined method `path'' for >>>> #<Rack::Request:0x7fbe728a3490> >>>> debug: Finishing transaction 70333353602660 with 0 changes >>>> debug: catalog supports formats: b64_zlib_yaml marshal pson raw yaml; >>>> using pson >>>> err: Could not retrieve catalog from remote server: Error 400 on SERVER: >>>> undefined method `path'' for #<Rack::Request:0x7fbe7289f0e8> >>>> warning: Not using cache on failed catalog >>>> err: Could not retrieve catalog; skipping run >>>> >>>> Could you help me please ? >>>> >>>> Regards, >>>> Grifith >>>> >>>> >>> What does this command show: >>> >>> `gem list|grep rack` >>> >>> It seems as though you are using an outdated version of the rack gem. >>> >>> 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. >>> >> >> Hi Ben, >> >> Here''s the output : >> >> gem list|grep rack >> rack (1.0.1) >> >> > Try updating the rack gem: > > `gem update rack` > > Should fix the issue. > > 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. >gem update rack Updating installed gems Updating rack Successfully installed rack-1.1.0 Gems updated: rack I still have the same error. -- 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.
> gem update rack > Updating installed gems > Updating rack > Successfully installed rack-1.1.0 > Gems updated: rack > > I still have the same error.just to be sure: you restarted apache, right? can you give us a list of your installed gems, as well you server and client version? cheers pete -- 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.
2010/3/30 Peter Meier <peter.meier@immerda.ch>> gem update rack >> Updating installed gems >> Updating rack >> Successfully installed rack-1.1.0 >> Gems updated: rack >> >> I still have the same error. >> > > just to be sure: you restarted apache, right? > > can you give us a list of your installed gems, as well you server and > client version? > > cheers pete > > > -- > 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. > >Yes Apache has been restarted. It seems that i have two versions of rack installed : gem list *** LOCAL GEMS *** rack (1.1.0, 1.0.1) rake (0.8.7) -- 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.
2010/3/30 smain kahlouch <smainklh@gmail.com>> > > 2010/3/30 Peter Meier <peter.meier@immerda.ch> > > gem update rack >>> Updating installed gems >>> Updating rack >>> Successfully installed rack-1.1.0 >>> Gems updated: rack >>> >>> I still have the same error. >>> >> >> just to be sure: you restarted apache, right? >> >> can you give us a list of your installed gems, as well you server and >> client version? >> >> cheers pete >> >> >> -- >> 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. >> >> > > Yes Apache has been restarted. It seems that i have two versions of rack > installed : > > gem list > > *** LOCAL GEMS *** > > rack (1.1.0, 1.0.1) > rake (0.8.7) > >Do you have any idea please ? -- 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.
2010/3/30 smain kahlouch <smainklh@gmail.com>> > > 2010/3/30 smain kahlouch <smainklh@gmail.com> > > >> >> 2010/3/30 Peter Meier <peter.meier@immerda.ch> >> >> gem update rack >>>> Updating installed gems >>>> Updating rack >>>> Successfully installed rack-1.1.0 >>>> Gems updated: rack >>>> >>>> I still have the same error. >>>> >>> >>> just to be sure: you restarted apache, right? >>> >>> can you give us a list of your installed gems, as well you server and >>> client version? >>> >>> cheers pete >>> >>> >>> -- >>> 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. >>> >>> >> >> Yes Apache has been restarted. It seems that i have two versions of rack >> installed : >> >> gem list >> >> *** LOCAL GEMS *** >> >> rack (1.1.0, 1.0.1) >> rake (0.8.7) >> >> > Do you have any idea please ? >I still can''t figure out how to solve my problem. I still have the same errors : err: /File[/var/lib/puppet/lib]: Failed to generate additional resources using ''eval_generate'': Error 400 on SERVER: undefined method `path'' for #<Rack::Request:0x7fd034ce6ce0> debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw yaml; using pson err: /File[/var/lib/puppet/lib]: Failed to retrieve current state of resource: Error 400 on SERVER: undefined method `path'' for #<Rack::Request:0x7fd034cc0720> Could not retrieve file metadata for puppet://puppet/plugins: Error 400 on SERVER: undefined method `path'' for #<Rack::Request:0x7fd034cc0720> debug: Finishing transaction 69914353358540 with 0 changes debug: catalog supports formats: b64_zlib_yaml marshal pson raw yaml; using pson err: Could not retrieve catalog from remote server: Error 400 on SERVER: undefined method `path'' for #<Rack::Request:0x7fd034cbc378> -- 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 30 March 2010 16:38, smain kahlouch <smainklh@gmail.com> wrote:> > > 2010/3/30 smain kahlouch <smainklh@gmail.com> > >> >> >> 2010/3/30 smain kahlouch <smainklh@gmail.com> >> >> >>> >>> 2010/3/30 Peter Meier <peter.meier@immerda.ch> >>> >>> gem update rack >>>>> Updating installed gems >>>>> Updating rack >>>>> Successfully installed rack-1.1.0 >>>>> Gems updated: rack >>>>> >>>>> I still have the same error. >>>>> >>>> >>>> just to be sure: you restarted apache, right? >>>> >>>> can you give us a list of your installed gems, as well you server and >>>> client version? >>>> >>>> cheers pete >>>> >>>> >>>> -- >>>> 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. >>>> >>>> >>> >>> Yes Apache has been restarted. It seems that i have two versions of rack >>> installed : >>> >>> gem list >>> >>> *** LOCAL GEMS *** >>> >>> rack (1.1.0, 1.0.1) >>> rake (0.8.7) >>> >>> >> Do you have any idea please ? >> > > I still can''t figure out how to solve my problem. > I still have the same errors : > > err: /File[/var/lib/puppet/lib]: Failed to generate additional resources > using ''eval_generate'': Error 400 on SERVER: undefined method `path'' for > #<Rack::Request:0x7fd034ce6ce0> > > debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw yaml; > using pson > err: /File[/var/lib/puppet/lib]: Failed to retrieve current state of > resource: Error 400 on SERVER: undefined method `path'' for > #<Rack::Request:0x7fd034cc0720> Could not retrieve file metadata for > puppet://puppet/plugins: Error 400 on SERVER: undefined method `path'' for > #<Rack::Request:0x7fd034cc0720> > debug: Finishing transaction 69914353358540 with 0 changes > > debug: catalog supports formats: b64_zlib_yaml marshal pson raw yaml; using > pson > err: Could not retrieve catalog from remote server: Error 400 on SERVER: > undefined method `path'' for #<Rack::Request:0x7fd034cbc378> > > >It seems as though you have multiple rubies on your machine. Can you confirm what the following displays at the prompt: `ruby -v` Also, please confirm which ruby version passenger is loading by checking the "PassengerRuby" in your apache configuration. Thanks, 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.
Ok, i think i''ll have to come back to mongrel. It seemed to me simplier. :( -------- Message initial -------- De: smain kahlouch <smainklh@gmail.com> À: puppet-users@googlegroups.com Sujet: Re: [Puppet Users] Passenger doesn''t work Date: Tue, 30 Mar 2010 17:38:52 +0200 2010/3/30 smain kahlouch <smainklh@gmail.com> 2010/3/30 smain kahlouch <smainklh@gmail.com> 2010/3/30 Peter Meier <peter.meier@immerda.ch> gem update rack Updating installed gems Updating rack Successfully installed rack-1.1.0 Gems updated: rack I still have the same error. just to be sure: you restarted apache, right? can you give us a list of your installed gems, as well you server and client version? cheers pete -- 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 Apache has been restarted. It seems that i have two versions of rack installed : gem list *** LOCAL GEMS *** rack (1.1.0, 1.0.1) rake (0.8.7) Do you have any idea please ? I still can''t figure out how to solve my problem. I still have the same errors : err: /File[/var/lib/puppet/lib]: Failed to generate additional resources using ''eval_generate'': Error 400 on SERVER: undefined method `path'' for #<Rack::Request:0x7fd034ce6ce0> debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw yaml; using pson err: /File[/var/lib/puppet/lib]: Failed to retrieve current state of resource: Error 400 on SERVER: undefined method `path'' for #<Rack::Request:0x7fd034cc0720> Could not retrieve file metadata for puppet://puppet/plugins: Error 400 on SERVER: undefined method `path'' for #<Rack::Request:0x7fd034cc0720> debug: Finishing transaction 69914353358540 with 0 changes debug: catalog supports formats: b64_zlib_yaml marshal pson raw yaml; using pson err: Could not retrieve catalog from remote server: Error 400 on SERVER: undefined method `path'' for #<Rack::Request:0x7fd034cbc378> -- 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.
2010/3/30 Ben Lovell <benjamin.lovell@gmail.com>> On 30 March 2010 16:38, smain kahlouch <smainklh@gmail.com> wrote: > >> >> >> 2010/3/30 smain kahlouch <smainklh@gmail.com> >> >>> >>> >>> 2010/3/30 smain kahlouch <smainklh@gmail.com> >>> >>> >>>> >>>> 2010/3/30 Peter Meier <peter.meier@immerda.ch> >>>> >>>> gem update rack >>>>>> Updating installed gems >>>>>> Updating rack >>>>>> Successfully installed rack-1.1.0 >>>>>> Gems updated: rack >>>>>> >>>>>> I still have the same error. >>>>>> >>>>> >>>>> just to be sure: you restarted apache, right? >>>>> >>>>> can you give us a list of your installed gems, as well you server and >>>>> client version? >>>>> >>>>> cheers pete >>>>> >>>>> >>>>> -- >>>>> 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. >>>>> >>>>> >>>> >>>> Yes Apache has been restarted. It seems that i have two versions of rack >>>> installed : >>>> >>>> gem list >>>> >>>> *** LOCAL GEMS *** >>>> >>>> rack (1.1.0, 1.0.1) >>>> rake (0.8.7) >>>> >>>> >>> Do you have any idea please ? >>> >> >> I still can''t figure out how to solve my problem. >> I still have the same errors : >> >> err: /File[/var/lib/puppet/lib]: Failed to generate additional resources >> using ''eval_generate'': Error 400 on SERVER: undefined method `path'' for >> #<Rack::Request:0x7fd034ce6ce0> >> >> debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw >> yaml; using pson >> err: /File[/var/lib/puppet/lib]: Failed to retrieve current state of >> resource: Error 400 on SERVER: undefined method `path'' for >> #<Rack::Request:0x7fd034cc0720> Could not retrieve file metadata for >> puppet://puppet/plugins: Error 400 on SERVER: undefined method `path'' for >> #<Rack::Request:0x7fd034cc0720> >> debug: Finishing transaction 69914353358540 with 0 changes >> >> debug: catalog supports formats: b64_zlib_yaml marshal pson raw yaml; >> using pson >> err: Could not retrieve catalog from remote server: Error 400 on SERVER: >> undefined method `path'' for #<Rack::Request:0x7fd034cbc378> >> >> >> > It seems as though you have multiple rubies on your machine. Can you > confirm what the following displays at the prompt: > > `ruby -v` > > Also, please confirm which ruby version passenger is loading by checking > the "PassengerRuby" in your apache configuration. > > Thanks, > 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. >Hi Ben, thanks for your answer. *ruby -v ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux] passenger.conf <IfModule mod_passenger.c> PassengerRoot /usr PassengerRuby /usr/bin/ruby </IfModule> /usr/bin/ruby -v ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux] *Regards, Grifith * * -- 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.
2010/3/30 smain kahlouch <smainklh@gmail.com>> > > 2010/3/30 Ben Lovell <benjamin.lovell@gmail.com> > >> On 30 March 2010 16:38, smain kahlouch <smainklh@gmail.com> wrote: >> >>> >>> >>> 2010/3/30 smain kahlouch <smainklh@gmail.com> >>> >>>> >>>> >>>> 2010/3/30 smain kahlouch <smainklh@gmail.com> >>>> >>>> >>>>> >>>>> 2010/3/30 Peter Meier <peter.meier@immerda.ch> >>>>> >>>>> gem update rack >>>>>>> Updating installed gems >>>>>>> Updating rack >>>>>>> Successfully installed rack-1.1.0 >>>>>>> Gems updated: rack >>>>>>> >>>>>>> I still have the same error. >>>>>>> >>>>>> >>>>>> just to be sure: you restarted apache, right? >>>>>> >>>>>> can you give us a list of your installed gems, as well you server and >>>>>> client version? >>>>>> >>>>>> cheers pete >>>>>> >>>>>> >>>>>> -- >>>>>> 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. >>>>>> >>>>>> >>>>> >>>>> Yes Apache has been restarted. It seems that i have two versions of >>>>> rack installed : >>>>> >>>>> gem list >>>>> >>>>> *** LOCAL GEMS *** >>>>> >>>>> rack (1.1.0, 1.0.1) >>>>> rake (0.8.7) >>>>> >>>>> >>>> Do you have any idea please ? >>>> >>> >>> I still can''t figure out how to solve my problem. >>> I still have the same errors : >>> >>> err: /File[/var/lib/puppet/lib]: Failed to generate additional resources >>> using ''eval_generate'': Error 400 on SERVER: undefined method `path'' for >>> #<Rack::Request:0x7fd034ce6ce0> >>> >>> debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw >>> yaml; using pson >>> err: /File[/var/lib/puppet/lib]: Failed to retrieve current state of >>> resource: Error 400 on SERVER: undefined method `path'' for >>> #<Rack::Request:0x7fd034cc0720> Could not retrieve file metadata for >>> puppet://puppet/plugins: Error 400 on SERVER: undefined method `path'' for >>> #<Rack::Request:0x7fd034cc0720> >>> debug: Finishing transaction 69914353358540 with 0 changes >>> >>> debug: catalog supports formats: b64_zlib_yaml marshal pson raw yaml; >>> using pson >>> err: Could not retrieve catalog from remote server: Error 400 on SERVER: >>> undefined method `path'' for #<Rack::Request:0x7fd034cbc378> >>> >>> >>> >> It seems as though you have multiple rubies on your machine. Can you >> confirm what the following displays at the prompt: >> >> `ruby -v` >> >> Also, please confirm which ruby version passenger is loading by checking >> the "PassengerRuby" in your apache configuration. >> >> Thanks, >> 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. >> > > > Hi Ben, thanks for your answer. > > *ruby -v > ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux] > > passenger.conf > <IfModule mod_passenger.c> > PassengerRoot /usr > PassengerRuby /usr/bin/ruby > </IfModule> > > /usr/bin/ruby -v > ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux] > > *Regards, > Grifith > * > > *I''m coming back to mongrel temporarly. If you have an idea how to solve this problem i will try again. Thanks -- 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.
Can you post your apache config? Maybe you want to compare it to i config i posted: http://www.linuxaddicted.de/blog/2010/03/18/puppetmasterd-and-passenger/ On Wed, Mar 31, 2010 at 9:48 AM, smain kahlouch <smainklh@gmail.com> wrote:> > > 2010/3/30 smain kahlouch <smainklh@gmail.com> >> >> >> 2010/3/30 Ben Lovell <benjamin.lovell@gmail.com> >>> >>> On 30 March 2010 16:38, smain kahlouch <smainklh@gmail.com> wrote: >>>> >>>> >>>> 2010/3/30 smain kahlouch <smainklh@gmail.com> >>>>> >>>>> >>>>> 2010/3/30 smain kahlouch <smainklh@gmail.com> >>>>>> >>>>>> >>>>>> 2010/3/30 Peter Meier <peter.meier@immerda.ch> >>>>>>>> >>>>>>>> gem update rack >>>>>>>> Updating installed gems >>>>>>>> Updating rack >>>>>>>> Successfully installed rack-1.1.0 >>>>>>>> Gems updated: rack >>>>>>>> >>>>>>>> I still have the same error. >>>>>>> >>>>>>> just to be sure: you restarted apache, right? >>>>>>> >>>>>>> can you give us a list of your installed gems, as well you server and >>>>>>> client version? >>>>>>> >>>>>>> cheers pete >>>>>>> >>>>>>> -- >>>>>>> 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 Apache has been restarted. It seems that i have two versions of >>>>>> rack installed : >>>>>> >>>>>> gem list >>>>>> >>>>>> *** LOCAL GEMS *** >>>>>> >>>>>> rack (1.1.0, 1.0.1) >>>>>> rake (0.8.7) >>>>>> >>>>> >>>>> Do you have any idea please ? >>>> >>>> I still can''t figure out how to solve my problem. >>>> I still have the same errors : >>>> >>>> err: /File[/var/lib/puppet/lib]: Failed to generate additional resources >>>> using ''eval_generate'': Error 400 on SERVER: undefined method `path'' for >>>> #<Rack::Request:0x7fd034ce6ce0> >>>> debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw >>>> yaml; using pson >>>> err: /File[/var/lib/puppet/lib]: Failed to retrieve current state of >>>> resource: Error 400 on SERVER: undefined method `path'' for >>>> #<Rack::Request:0x7fd034cc0720> Could not retrieve file metadata for >>>> puppet://puppet/plugins: Error 400 on SERVER: undefined method `path'' for >>>> #<Rack::Request:0x7fd034cc0720> >>>> debug: Finishing transaction 69914353358540 with 0 changes >>>> debug: catalog supports formats: b64_zlib_yaml marshal pson raw yaml; >>>> using pson >>>> err: Could not retrieve catalog from remote server: Error 400 on SERVER: >>>> undefined method `path'' for #<Rack::Request:0x7fd034cbc378> >>>> >>> >>> It seems as though you have multiple rubies on your machine. Can you >>> confirm what the following displays at the prompt: >>> `ruby -v` >>> Also, please confirm which ruby version passenger is loading by checking >>> the "PassengerRuby" in your apache configuration. >>> Thanks, >>> 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. >> >> >> Hi Ben, thanks for your answer. >> >> ruby -v >> ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux] >> >> passenger.conf >> <IfModule mod_passenger.c> >> PassengerRoot /usr >> PassengerRuby /usr/bin/ruby >> </IfModule> >> >> /usr/bin/ruby -v >> ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux] >> >> Regards, >> Grifith >> >> > > I''m coming back to mongrel temporarly. If you have an idea how to solve this > problem i will try again. > > Thanks > > -- > 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. >-- Cheers, Daniel -- 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.
> > >>>>> >>>>> 2010/3/30 Peter Meier <peter.meier@immerda.ch> >>>>> >>>>> gem update rack >>>>>>> Updating installed gems >>>>>>> Updating rack >>>>>>> Successfully installed rack-1.1.0 >>>>>>> Gems updated: rack >>>>>>> >>>>>>> I still have the same error. >>>>>>> >>>>>> >>>>>> just to be sure: you restarted apache, right? >>>>>> >>>>>> can you give us a list of your installed gems, as well you server and >>>>>> client version? >>>>>> >>>>>> cheers pete >>>>>> >>>>>> >>>>>> -- >>>>>> 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. >>>>>> >>>>>> >>>>> >>>>> Yes Apache has been restarted. It seems that i have two versions of >>>>> rack installed : >>>>> >>>>> gem list >>>>> >>>>> *** LOCAL GEMS *** >>>>> >>>>> rack (1.1.0, 1.0.1) >>>>> rake (0.8.7) >>>>> >>>>> >>>> Do you have any idea please ? >>>> >>> >>> I still can''t figure out how to solve my problem. >>> I still have the same errors : >>> >>> err: /File[/var/lib/puppet/lib]: Failed to generate additional resources >>> using ''eval_generate'': Error 400 on SERVER: undefined method `path'' for >>> #<Rack::Request:0x7fd034ce6ce0> >>> >>> debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw >>> yaml; using pson >>> err: /File[/var/lib/puppet/lib]: Failed to retrieve current state of >>> resource: Error 400 on SERVER: undefined method `path'' for >>> #<Rack::Request:0x7fd034cc0720> Could not retrieve file metadata for >>> puppet://puppet/plugins: Error 400 on SERVER: undefined method `path'' for >>> #<Rack::Request:0x7fd034cc0720> >>> debug: Finishing transaction 69914353358540 with 0 changes >>> >>> debug: catalog supports formats: b64_zlib_yaml marshal pson raw yaml; >>> using pson >>> err: Could not retrieve catalog from remote server: Error 400 on SERVER: >>> undefined method `path'' for #<Rack::Request:0x7fd034cbc378> >>> >>> >>> >> It seems as though you have multiple rubies on your machine. Can you >> confirm what the following displays at the prompt: >> >> `ruby -v` >> >> Also, please confirm which ruby version passenger is loading by checking >> the "PassengerRuby" in your apache configuration. >> >> Thanks, >> 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. >> > > > Hi Ben, thanks for your answer. > > *ruby -v > ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux] > > passenger.conf > <IfModule mod_passenger.c> > PassengerRoot /usr > PassengerRuby /usr/bin/ruby > </IfModule> > > /usr/bin/ruby -v > ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux] > > *Regards, > Grifith > * > * >Your "PassengerRoot" above is incorrect, it should point to wherever you have passenger and I doubt this is your /usr dir. If I were you I''d follow the passenger install instructions again and to the letter: http://www.modrails.com/install.html Your environment looks OK so I guess you have just misconfigured something during installation. Be sure to follow *exactly* what you are told by passenger-install-apache2-module. 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.
2010/3/31 Daniel Kerwin <daniel@linuxaddicted.de>> Can you post your apache config? Maybe you want to compare it to i > config i posted: > http://www.linuxaddicted.de/blog/2010/03/18/puppetmasterd-and-passenger/ > > On Wed, Mar 31, 2010 at 9:48 AM, smain kahlouch <smainklh@gmail.com> > wrote: > > > > > > 2010/3/30 smain kahlouch <smainklh@gmail.com> > >> > >> > >> 2010/3/30 Ben Lovell <benjamin.lovell@gmail.com> > >>> > >>> On 30 March 2010 16:38, smain kahlouch <smainklh@gmail.com> wrote: > >>>> > >>>> > >>>> 2010/3/30 smain kahlouch <smainklh@gmail.com> > >>>>> > >>>>> > >>>>> 2010/3/30 smain kahlouch <smainklh@gmail.com> > >>>>>> > >>>>>> > >>>>>> 2010/3/30 Peter Meier <peter.meier@immerda.ch> > >>>>>>>> > >>>>>>>> gem update rack > >>>>>>>> Updating installed gems > >>>>>>>> Updating rack > >>>>>>>> Successfully installed rack-1.1.0 > >>>>>>>> Gems updated: rack > >>>>>>>> > >>>>>>>> I still have the same error. > >>>>>>> > >>>>>>> just to be sure: you restarted apache, right? > >>>>>>> > >>>>>>> can you give us a list of your installed gems, as well you server > and > >>>>>>> client version? > >>>>>>> > >>>>>>> cheers pete > >>>>>>> > >>>>>>> -- > >>>>>>> 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. > >>>>>>> > >>>>>> > >>>>>> > >>>>>> Yes Apache has been restarted. It seems that i have two versions of > >>>>>> rack installed : > >>>>>> > >>>>>> gem list > >>>>>> > >>>>>> *** LOCAL GEMS *** > >>>>>> > >>>>>> rack (1.1.0, 1.0.1) > >>>>>> rake (0.8.7) > >>>>>> > >>>>> > >>>>> Do you have any idea please ? > >>>> > >>>> I still can''t figure out how to solve my problem. > >>>> I still have the same errors : > >>>> > >>>> err: /File[/var/lib/puppet/lib]: Failed to generate additional > resources > >>>> using ''eval_generate'': Error 400 on SERVER: undefined method `path'' > for > >>>> #<Rack::Request:0x7fd034ce6ce0> > >>>> debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw > >>>> yaml; using pson > >>>> err: /File[/var/lib/puppet/lib]: Failed to retrieve current state of > >>>> resource: Error 400 on SERVER: undefined method `path'' for > >>>> #<Rack::Request:0x7fd034cc0720> Could not retrieve file metadata for > >>>> puppet://puppet/plugins: Error 400 on SERVER: undefined method `path'' > for > >>>> #<Rack::Request:0x7fd034cc0720> > >>>> debug: Finishing transaction 69914353358540 with 0 changes > >>>> debug: catalog supports formats: b64_zlib_yaml marshal pson raw yaml; > >>>> using pson > >>>> err: Could not retrieve catalog from remote server: Error 400 on > SERVER: > >>>> undefined method `path'' for #<Rack::Request:0x7fd034cbc378> > >>>> > >>> > >>> It seems as though you have multiple rubies on your machine. Can you > >>> confirm what the following displays at the prompt: > >>> `ruby -v` > >>> Also, please confirm which ruby version passenger is loading by > checking > >>> the "PassengerRuby" in your apache configuration. > >>> Thanks, > >>> 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. > >> > >> > >> Hi Ben, thanks for your answer. > >> > >> ruby -v > >> ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux] > >> > >> passenger.conf > >> <IfModule mod_passenger.c> > >> PassengerRoot /usr > >> PassengerRuby /usr/bin/ruby > >> </IfModule> > >> > >> /usr/bin/ruby -v > >> ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux] > >> > >> Regards, > >> Grifith > >> > >> > > > > I''m coming back to mongrel temporarly. If you have an idea how to solve > this > > problem i will try again. > > > > Thanks > > > > -- > > 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. > > > > > > -- > > Cheers, > > Daniel > > -- > 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. > > Hi,I have the same configuration : ---------- # you probably want to tune these settings PassengerHighPerformance on PassengerMaxPoolSize 12 PassengerPoolIdleTime 1500 # PassengerMaxRequests 1000 PassengerStatThrottleRate 120 RackAutoDetect Off RailsAutoDetect Off Listen 8140 <VirtualHost *:8140> SSLEngine on SSLProtocol -ALL +SSLv3 +TLSv1 SSLCipherSuite ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:-LOW:-SSLv2:-EXP SSLCertificateFile /var/lib/puppet/ssl/certs/puppetmaster.domain.tld.pem SSLCertificateKeyFile /var/lib/puppet/ssl/private_keys/puppetmaster.domain.tld.pem SSLCertificateChainFile /var/lib/puppet/ssl/ca/ca_crt.pem SSLCACertificateFile /var/lib/puppet/ssl/ca/ca_crt.pem # If Apache complains about invalid signatures on the CRL, you can try disabling # CRL checking by commenting the next line, but this is not recommended. SSLCARevocationFile /var/lib/puppet/ssl/ca/ca_crl.pem SSLVerifyClient optional SSLVerifyDepth 1 SSLOptions +StdEnvVars DocumentRoot /etc/puppet/rack/public/ RackBaseURI / <Directory /etc/puppet/rack/> Options None AllowOverride None Order allow,deny allow from all </Directory> </VirtualHost> ------------ The module is enabled # a2enmod passenger Module passenger already enabled passenger-status ----------- General information ----------- max = 12 count = 0 active = 0 inactive = 0 Waiting on global queue: 0 ----------- Domains ----------- -- 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.
2010/3/31 Ben Lovell <benjamin.lovell@gmail.com>> >>>>>> >>>>>> 2010/3/30 Peter Meier <peter.meier@immerda.ch> >>>>>> >>>>>> gem update rack >>>>>>>> Updating installed gems >>>>>>>> Updating rack >>>>>>>> Successfully installed rack-1.1.0 >>>>>>>> Gems updated: rack >>>>>>>> >>>>>>>> I still have the same error. >>>>>>>> >>>>>>> >>>>>>> just to be sure: you restarted apache, right? >>>>>>> >>>>>>> can you give us a list of your installed gems, as well you server and >>>>>>> client version? >>>>>>> >>>>>>> cheers pete >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> 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. >>>>>>> >>>>>>> >>>>>> >>>>>> Yes Apache has been restarted. It seems that i have two versions of >>>>>> rack installed : >>>>>> >>>>>> gem list >>>>>> >>>>>> *** LOCAL GEMS *** >>>>>> >>>>>> rack (1.1.0, 1.0.1) >>>>>> rake (0.8.7) >>>>>> >>>>>> >>>>> Do you have any idea please ? >>>>> >>>> >>>> I still can''t figure out how to solve my problem. >>>> I still have the same errors : >>>> >>>> err: /File[/var/lib/puppet/lib]: Failed to generate additional resources >>>> using ''eval_generate'': Error 400 on SERVER: undefined method `path'' for >>>> #<Rack::Request:0x7fd034ce6ce0> >>>> >>>> debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw >>>> yaml; using pson >>>> err: /File[/var/lib/puppet/lib]: Failed to retrieve current state of >>>> resource: Error 400 on SERVER: undefined method `path'' for >>>> #<Rack::Request:0x7fd034cc0720> Could not retrieve file metadata for >>>> puppet://puppet/plugins: Error 400 on SERVER: undefined method `path'' for >>>> #<Rack::Request:0x7fd034cc0720> >>>> debug: Finishing transaction 69914353358540 with 0 changes >>>> >>>> debug: catalog supports formats: b64_zlib_yaml marshal pson raw yaml; >>>> using pson >>>> err: Could not retrieve catalog from remote server: Error 400 on SERVER: >>>> undefined method `path'' for #<Rack::Request:0x7fd034cbc378> >>>> >>>> >>>> >>> It seems as though you have multiple rubies on your machine. Can you >>> confirm what the following displays at the prompt: >>> >>> `ruby -v` >>> >>> Also, please confirm which ruby version passenger is loading by checking >>> the "PassengerRuby" in your apache configuration. >>> >>> Thanks, >>> 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. >>> >> >> >> Hi Ben, thanks for your answer. >> >> *ruby -v >> ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux] >> >> passenger.conf >> <IfModule mod_passenger.c> >> PassengerRoot /usr >> PassengerRuby /usr/bin/ruby >> </IfModule> >> >> /usr/bin/ruby -v >> ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux] >> >> *Regards, >> Grifith >> * >> * >> > > Your "PassengerRoot" above is incorrect, it should point to wherever you > have passenger and I doubt this is your /usr dir. If I were you I''d follow > the passenger install instructions again and to the letter: > > http://www.modrails.com/install.html > > Your environment looks OK so I guess you have just misconfigured something > during installation. Be sure to follow *exactly* what you are told by > passenger-install-apache2-module. > > 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. >Hi Ben, I installed Passenger via the debian package : libapache2-mod-passenger. Regards -- 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 31 March 2010 11:03, smain kahlouch <smainklh@gmail.com> wrote:> > > 2010/3/31 Ben Lovell <benjamin.lovell@gmail.com> > > >>>>>>> >>>>>>> 2010/3/30 Peter Meier <peter.meier@immerda.ch> >>>>>>> >>>>>>> gem update rack >>>>>>>>> Updating installed gems >>>>>>>>> Updating rack >>>>>>>>> Successfully installed rack-1.1.0 >>>>>>>>> Gems updated: rack >>>>>>>>> >>>>>>>>> I still have the same error. >>>>>>>>> >>>>>>>> >>>>>>>> just to be sure: you restarted apache, right? >>>>>>>> >>>>>>>> can you give us a list of your installed gems, as well you server >>>>>>>> and client version? >>>>>>>> >>>>>>>> cheers pete >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> 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. >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> Yes Apache has been restarted. It seems that i have two versions of >>>>>>> rack installed : >>>>>>> >>>>>>> gem list >>>>>>> >>>>>>> *** LOCAL GEMS *** >>>>>>> >>>>>>> rack (1.1.0, 1.0.1) >>>>>>> rake (0.8.7) >>>>>>> >>>>>>> >>>>>> Do you have any idea please ? >>>>>> >>>>> >>>>> I still can''t figure out how to solve my problem. >>>>> I still have the same errors : >>>>> >>>>> err: /File[/var/lib/puppet/lib]: Failed to generate additional >>>>> resources using ''eval_generate'': Error 400 on SERVER: undefined method >>>>> `path'' for #<Rack::Request:0x7fd034ce6ce0> >>>>> >>>>> debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw >>>>> yaml; using pson >>>>> err: /File[/var/lib/puppet/lib]: Failed to retrieve current state of >>>>> resource: Error 400 on SERVER: undefined method `path'' for >>>>> #<Rack::Request:0x7fd034cc0720> Could not retrieve file metadata for >>>>> puppet://puppet/plugins: Error 400 on SERVER: undefined method `path'' for >>>>> #<Rack::Request:0x7fd034cc0720> >>>>> debug: Finishing transaction 69914353358540 with 0 changes >>>>> >>>>> debug: catalog supports formats: b64_zlib_yaml marshal pson raw yaml; >>>>> using pson >>>>> err: Could not retrieve catalog from remote server: Error 400 on >>>>> SERVER: undefined method `path'' for #<Rack::Request:0x7fd034cbc378> >>>>> >>>>> >>>>> >>>> It seems as though you have multiple rubies on your machine. Can you >>>> confirm what the following displays at the prompt: >>>> >>>> `ruby -v` >>>> >>>> Also, please confirm which ruby version passenger is loading by checking >>>> the "PassengerRuby" in your apache configuration. >>>> >>>> Thanks, >>>> 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. >>>> >>> >>> >>> Hi Ben, thanks for your answer. >>> >>> *ruby -v >>> ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux] >>> >>> passenger.conf >>> <IfModule mod_passenger.c> >>> PassengerRoot /usr >>> PassengerRuby /usr/bin/ruby >>> </IfModule> >>> >>> /usr/bin/ruby -v >>> ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux] >>> >>> *Regards, >>> Grifith >>> * >>> * >>> >> >> Your "PassengerRoot" above is incorrect, it should point to wherever you >> have passenger and I doubt this is your /usr dir. If I were you I''d follow >> the passenger install instructions again and to the letter: >> >> http://www.modrails.com/install.html >> >> Your environment looks OK so I guess you have just misconfigured something >> during installation. Be sure to follow *exactly* what you are told by >> passenger-install-apache2-module. >> >> 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. >> > > Hi Ben, > > I installed Passenger via the debian package : libapache2-mod-passenger. > > Regards > > >Not having had any experience installing from a package I''m not sure I can help. My advice would be to remove the package and install it following the steps I mentioned or from phusion''s instructions (which are very comprehensive). It isn''t difficult to get setup. -- 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.
2010/3/31 Ben Lovell <benjamin.lovell@gmail.com>> On 31 March 2010 11:03, smain kahlouch <smainklh@gmail.com> wrote: > >> >> >> 2010/3/31 Ben Lovell <benjamin.lovell@gmail.com> >> >> >>>>>>>> >>>>>>>> 2010/3/30 Peter Meier <peter.meier@immerda.ch> >>>>>>>> >>>>>>>> gem update rack >>>>>>>>>> Updating installed gems >>>>>>>>>> Updating rack >>>>>>>>>> Successfully installed rack-1.1.0 >>>>>>>>>> Gems updated: rack >>>>>>>>>> >>>>>>>>>> I still have the same error. >>>>>>>>>> >>>>>>>>> >>>>>>>>> just to be sure: you restarted apache, right? >>>>>>>>> >>>>>>>>> can you give us a list of your installed gems, as well you server >>>>>>>>> and client version? >>>>>>>>> >>>>>>>>> cheers pete >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> 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. >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> Yes Apache has been restarted. It seems that i have two versions of >>>>>>>> rack installed : >>>>>>>> >>>>>>>> gem list >>>>>>>> >>>>>>>> *** LOCAL GEMS *** >>>>>>>> >>>>>>>> rack (1.1.0, 1.0.1) >>>>>>>> rake (0.8.7) >>>>>>>> >>>>>>>> >>>>>>> Do you have any idea please ? >>>>>>> >>>>>> >>>>>> I still can''t figure out how to solve my problem. >>>>>> I still have the same errors : >>>>>> >>>>>> err: /File[/var/lib/puppet/lib]: Failed to generate additional >>>>>> resources using ''eval_generate'': Error 400 on SERVER: undefined method >>>>>> `path'' for #<Rack::Request:0x7fd034ce6ce0> >>>>>> >>>>>> debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw >>>>>> yaml; using pson >>>>>> err: /File[/var/lib/puppet/lib]: Failed to retrieve current state of >>>>>> resource: Error 400 on SERVER: undefined method `path'' for >>>>>> #<Rack::Request:0x7fd034cc0720> Could not retrieve file metadata for >>>>>> puppet://puppet/plugins: Error 400 on SERVER: undefined method `path'' for >>>>>> #<Rack::Request:0x7fd034cc0720> >>>>>> debug: Finishing transaction 69914353358540 with 0 changes >>>>>> >>>>>> debug: catalog supports formats: b64_zlib_yaml marshal pson raw yaml; >>>>>> using pson >>>>>> err: Could not retrieve catalog from remote server: Error 400 on >>>>>> SERVER: undefined method `path'' for #<Rack::Request:0x7fd034cbc378> >>>>>> >>>>>> >>>>>> >>>>> It seems as though you have multiple rubies on your machine. Can you >>>>> confirm what the following displays at the prompt: >>>>> >>>>> `ruby -v` >>>>> >>>>> Also, please confirm which ruby version passenger is loading by >>>>> checking the "PassengerRuby" in your apache configuration. >>>>> >>>>> Thanks, >>>>> 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. >>>>> >>>> >>>> >>>> Hi Ben, thanks for your answer. >>>> >>>> *ruby -v >>>> ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux] >>>> >>>> passenger.conf >>>> <IfModule mod_passenger.c> >>>> PassengerRoot /usr >>>> PassengerRuby /usr/bin/ruby >>>> </IfModule> >>>> >>>> /usr/bin/ruby -v >>>> ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux] >>>> >>>> *Regards, >>>> Grifith >>>> * >>>> * >>>> >>> >>> Your "PassengerRoot" above is incorrect, it should point to wherever you >>> have passenger and I doubt this is your /usr dir. If I were you I''d follow >>> the passenger install instructions again and to the letter: >>> >>> http://www.modrails.com/install.html >>> >>> Your environment looks OK so I guess you have just misconfigured >>> something during installation. Be sure to follow *exactly* what you are told >>> by passenger-install-apache2-module. >>> >>> 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. >>> >> >> Hi Ben, >> >> I installed Passenger via the debian package : libapache2-mod-passenger. >> >> Regards >> >> >> > Not having had any experience installing from a package I''m not sure I can > help. My advice would be to remove the package and install it following the > steps I mentioned or from phusion''s instructions (which are very > comprehensive). It isn''t difficult to get setup. > > -- > 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. >Yes i understand, it''s not difficult but for security reasons i don''t want to install development tools (gcc ...). -- 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 31 March 2010 11:20, smain kahlouch <smainklh@gmail.com> wrote:> > > 2010/3/31 Ben Lovell <benjamin.lovell@gmail.com> > >> On 31 March 2010 11:03, smain kahlouch <smainklh@gmail.com> wrote: >> >>> >>> >>> 2010/3/31 Ben Lovell <benjamin.lovell@gmail.com> >>> >>> >>>>>>>>> >>>>>>>>> 2010/3/30 Peter Meier <peter.meier@immerda.ch> >>>>>>>>> >>>>>>>>> gem update rack >>>>>>>>>>> Updating installed gems >>>>>>>>>>> Updating rack >>>>>>>>>>> Successfully installed rack-1.1.0 >>>>>>>>>>> Gems updated: rack >>>>>>>>>>> >>>>>>>>>>> I still have the same error. >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> just to be sure: you restarted apache, right? >>>>>>>>>> >>>>>>>>>> can you give us a list of your installed gems, as well you server >>>>>>>>>> and client version? >>>>>>>>>> >>>>>>>>>> cheers pete >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> 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. >>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>> Yes Apache has been restarted. It seems that i have two versions of >>>>>>>>> rack installed : >>>>>>>>> >>>>>>>>> gem list >>>>>>>>> >>>>>>>>> *** LOCAL GEMS *** >>>>>>>>> >>>>>>>>> rack (1.1.0, 1.0.1) >>>>>>>>> rake (0.8.7) >>>>>>>>> >>>>>>>>> >>>>>>>> Do you have any idea please ? >>>>>>>> >>>>>>> >>>>>>> I still can''t figure out how to solve my problem. >>>>>>> I still have the same errors : >>>>>>> >>>>>>> err: /File[/var/lib/puppet/lib]: Failed to generate additional >>>>>>> resources using ''eval_generate'': Error 400 on SERVER: undefined method >>>>>>> `path'' for #<Rack::Request:0x7fd034ce6ce0> >>>>>>> >>>>>>> debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw >>>>>>> yaml; using pson >>>>>>> err: /File[/var/lib/puppet/lib]: Failed to retrieve current state of >>>>>>> resource: Error 400 on SERVER: undefined method `path'' for >>>>>>> #<Rack::Request:0x7fd034cc0720> Could not retrieve file metadata for >>>>>>> puppet://puppet/plugins: Error 400 on SERVER: undefined method `path'' for >>>>>>> #<Rack::Request:0x7fd034cc0720> >>>>>>> debug: Finishing transaction 69914353358540 with 0 changes >>>>>>> >>>>>>> debug: catalog supports formats: b64_zlib_yaml marshal pson raw yaml; >>>>>>> using pson >>>>>>> err: Could not retrieve catalog from remote server: Error 400 on >>>>>>> SERVER: undefined method `path'' for #<Rack::Request:0x7fd034cbc378> >>>>>>> >>>>>>> >>>>>>> >>>>>> It seems as though you have multiple rubies on your machine. Can you >>>>>> confirm what the following displays at the prompt: >>>>>> >>>>>> `ruby -v` >>>>>> >>>>>> Also, please confirm which ruby version passenger is loading by >>>>>> checking the "PassengerRuby" in your apache configuration. >>>>>> >>>>>> Thanks, >>>>>> 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. >>>>>> >>>>> >>>>> >>>>> Hi Ben, thanks for your answer. >>>>> >>>>> *ruby -v >>>>> ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux] >>>>> >>>>> passenger.conf >>>>> <IfModule mod_passenger.c> >>>>> PassengerRoot /usr >>>>> PassengerRuby /usr/bin/ruby >>>>> </IfModule> >>>>> >>>>> /usr/bin/ruby -v >>>>> ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux] >>>>> >>>>> *Regards, >>>>> Grifith >>>>> * >>>>> * >>>>> >>>> >>>> Your "PassengerRoot" above is incorrect, it should point to wherever you >>>> have passenger and I doubt this is your /usr dir. If I were you I''d follow >>>> the passenger install instructions again and to the letter: >>>> >>>> http://www.modrails.com/install.html >>>> >>>> Your environment looks OK so I guess you have just misconfigured >>>> something during installation. Be sure to follow *exactly* what you are told >>>> by passenger-install-apache2-module. >>>> >>>> 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. >>>> >>> >>> Hi Ben, >>> >>> I installed Passenger via the debian package : libapache2-mod-passenger. >>> >>> Regards >>> >>> >>> >> Not having had any experience installing from a package I''m not sure I can >> help. My advice would be to remove the package and install it following the >> steps I mentioned or from phusion''s instructions (which are very >> comprehensive). It isn''t difficult to get setup. >> >> -- >> 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. >> > > > Yes i understand, it''s not difficult but for security reasons i don''t want > to install development tools (gcc ...). > >OK I understand. You''ll have to speak to the maintainer of the package I guess. -- 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.
2010/3/31 Ben Lovell <benjamin.lovell@gmail.com>> On 31 March 2010 11:20, smain kahlouch <smainklh@gmail.com> wrote: > >> >> >> 2010/3/31 Ben Lovell <benjamin.lovell@gmail.com> >> >>> On 31 March 2010 11:03, smain kahlouch <smainklh@gmail.com> wrote: >>> >>>> >>>> >>>> 2010/3/31 Ben Lovell <benjamin.lovell@gmail.com> >>>> >>>> >>>>>>>>>> >>>>>>>>>> 2010/3/30 Peter Meier <peter.meier@immerda.ch> >>>>>>>>>> >>>>>>>>>> gem update rack >>>>>>>>>>>> Updating installed gems >>>>>>>>>>>> Updating rack >>>>>>>>>>>> Successfully installed rack-1.1.0 >>>>>>>>>>>> Gems updated: rack >>>>>>>>>>>> >>>>>>>>>>>> I still have the same error. >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> just to be sure: you restarted apache, right? >>>>>>>>>>> >>>>>>>>>>> can you give us a list of your installed gems, as well you server >>>>>>>>>>> and client version? >>>>>>>>>>> >>>>>>>>>>> cheers pete >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>>> 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. >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Yes Apache has been restarted. It seems that i have two versions >>>>>>>>>> of rack installed : >>>>>>>>>> >>>>>>>>>> gem list >>>>>>>>>> >>>>>>>>>> *** LOCAL GEMS *** >>>>>>>>>> >>>>>>>>>> rack (1.1.0, 1.0.1) >>>>>>>>>> rake (0.8.7) >>>>>>>>>> >>>>>>>>>> >>>>>>>>> Do you have any idea please ? >>>>>>>>> >>>>>>>> >>>>>>>> I still can''t figure out how to solve my problem. >>>>>>>> I still have the same errors : >>>>>>>> >>>>>>>> err: /File[/var/lib/puppet/lib]: Failed to generate additional >>>>>>>> resources using ''eval_generate'': Error 400 on SERVER: undefined method >>>>>>>> `path'' for #<Rack::Request:0x7fd034ce6ce0> >>>>>>>> >>>>>>>> debug: file_metadata supports formats: b64_zlib_yaml marshal pson >>>>>>>> raw yaml; using pson >>>>>>>> err: /File[/var/lib/puppet/lib]: Failed to retrieve current state of >>>>>>>> resource: Error 400 on SERVER: undefined method `path'' for >>>>>>>> #<Rack::Request:0x7fd034cc0720> Could not retrieve file metadata for >>>>>>>> puppet://puppet/plugins: Error 400 on SERVER: undefined method `path'' for >>>>>>>> #<Rack::Request:0x7fd034cc0720> >>>>>>>> debug: Finishing transaction 69914353358540 with 0 changes >>>>>>>> >>>>>>>> debug: catalog supports formats: b64_zlib_yaml marshal pson raw >>>>>>>> yaml; using pson >>>>>>>> err: Could not retrieve catalog from remote server: Error 400 on >>>>>>>> SERVER: undefined method `path'' for #<Rack::Request:0x7fd034cbc378> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> It seems as though you have multiple rubies on your machine. Can you >>>>>>> confirm what the following displays at the prompt: >>>>>>> >>>>>>> `ruby -v` >>>>>>> >>>>>>> Also, please confirm which ruby version passenger is loading by >>>>>>> checking the "PassengerRuby" in your apache configuration. >>>>>>> >>>>>>> Thanks, >>>>>>> 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. >>>>>>> >>>>>> >>>>>> >>>>>> Hi Ben, thanks for your answer. >>>>>> >>>>>> *ruby -v >>>>>> ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux] >>>>>> >>>>>> passenger.conf >>>>>> <IfModule mod_passenger.c> >>>>>> PassengerRoot /usr >>>>>> PassengerRuby /usr/bin/ruby >>>>>> </IfModule> >>>>>> >>>>>> /usr/bin/ruby -v >>>>>> ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux] >>>>>> >>>>>> *Regards, >>>>>> Grifith >>>>>> * >>>>>> * >>>>>> >>>>> >>>>> Your "PassengerRoot" above is incorrect, it should point to wherever >>>>> you have passenger and I doubt this is your /usr dir. If I were you I''d >>>>> follow the passenger install instructions again and to the letter: >>>>> >>>>> http://www.modrails.com/install.html >>>>> >>>>> Your environment looks OK so I guess you have just misconfigured >>>>> something during installation. Be sure to follow *exactly* what you are told >>>>> by passenger-install-apache2-module. >>>>> >>>>> 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. >>>>> >>>> >>>> Hi Ben, >>>> >>>> I installed Passenger via the debian package : libapache2-mod-passenger. >>>> >>>> Regards >>>> >>>> >>>> >>> Not having had any experience installing from a package I''m not sure I >>> can help. My advice would be to remove the package and install it following >>> the steps I mentioned or from phusion''s instructions (which are very >>> comprehensive). It isn''t difficult to get setup. >>> >>> -- >>> 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. >>> >> >> >> Yes i understand, it''s not difficult but for security reasons i don''t want >> to install development tools (gcc ...). >> >> > OK I understand. You''ll have to speak to the maintainer of the package I > guess. > > -- > 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. >Hi, I''m coming back ''cause i still notice the same error. I installed a new VM (debian 64) I followed exactly the documentation (installation of passenger via gems) and the error. err: /File[/var/lib/puppet/lib]: Failed to generate additional resources using ''eval_generate'': Error 400 on SERVER: undefined method `path'' for #<Rack::Request:0x7fe8523989c8> err: /File[/var/lib/puppet/lib]: Failed to retrieve current state of resource: Error 400 on SERVER: undefined method `path'' for #<Rack::Request:0x7fe852372408> Could not retrieve file metadata for puppet://puppet/plugins: Error 400 on SERVER: undefined method `path'' for #<Rack::Request:0x7fe852372408> err: Could not retrieve catalog from remote server: Error 400 on SERVER: undefined method `path'' for #<Rack::Request:0x7fe85236e060> My apache configuration for passenger LoadModule passenger_module /var/lib/gems/1.8/gems/passenger-2.2.11/ext/apache2/mod_passenger.so PassengerRoot /var/lib/gems/1.8/gems/passenger-2.2.11 PassengerRuby /usr/bin/ruby1.8 # you probably want to tune these settings PassengerHighPerformance on PassengerMaxPoolSize 12 PassengerPoolIdleTime 1500 # PassengerMaxRequests 1000 PassengerStatThrottleRate 120 RackAutoDetect Off RailsAutoDetect Off Listen 8140 <VirtualHost *:8140> SSLEngine on SSLProtocol -ALL +SSLv3 +TLSv1 SSLCipherSuite ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:-LOW:-SSLv2:-EXP SSLCertificateFile /var/lib/puppet/ssl/certs/puppetmaster.ipoc.btservices.fr.pem SSLCertificateKeyFile /var/lib/puppet/ssl/private_keys/puppetmaster.ipoc.btservices.fr.pem SSLCertificateChainFile /var/lib/puppet/ssl/ca/ca_crt.pem SSLCACertificateFile /var/lib/puppet/ssl/ca/ca_crt.pem # If Apache complains about invalid signatures on the CRL, you can try disabling # CRL checking by commenting the next line, but this is not recommended. SSLCARevocationFile /var/lib/puppet/ssl/ca/ca_crl.pem SSLVerifyClient optional SSLVerifyDepth 1 SSLOptions +StdEnvVars DocumentRoot /etc/puppet/rack/public/ RackBaseURI / <Directory /etc/puppet/rack/> Options None AllowOverride None Order allow,deny allow from all </Directory> </VirtualHost> Do you have any idea ? My problem is that i can''t migrate my web server neither to mongrel (files can''t be downloaded : http://projects.puppetlabs.com/projects/puppet/wiki/Using_Mongrel_On_Debian) or Passenger. Need help guys. Regards, Grifith -- 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 Wed, Apr 7, 2010 at 7:16 AM, smain kahlouch <smainklh@gmail.com> wrote:> Hi, > > I''m coming back ''cause i still notice the same error. > I installed a new VM (debian 64) > I followed exactly the documentation (installation of passenger via gems) > and the error. > > err: /File[/var/lib/puppet/lib]: Failed to generate additional resources > using ''eval_generate'': Error 400 on SERVER: undefined method `path'' for > #<Rack::Request:0x7fe8523989c8> > err: /File[/var/lib/puppet/lib]: Failed to retrieve current state of > resource: Error 400 on SERVER: undefined method `path'' for > #<Rack::Request:0x7fe852372408> Could not retrieve file metadata for > puppet://puppet/plugins: Error 400 on SERVER: undefined method `path'' for > #<Rack::Request:0x7fe852372408> > err: Could not retrieve catalog from remote server: Error 400 on SERVER: > undefined method `path'' for #<Rack::Request:0x7fe85236e060> > > My apache configuration for passenger > LoadModule passenger_module > /var/lib/gems/1.8/gems/passenger-2.2.11/ext/apache2/mod_passenger.so > PassengerRoot /var/lib/gems/1.8/gems/passenger-2.2.11 > PassengerRuby /usr/bin/ruby1.8/var/lib/gems looks like a non standard location which isn''t in ruby''s library search path, right? Perhaps you need to set the RUBYLIB and GEM_HOME environment variables as well, or modify $: in the rack configuration. -Jeff -- 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.
2010/4/7 Jeff McCune <mccune.jeff@gmail.com>> On Wed, Apr 7, 2010 at 7:16 AM, smain kahlouch <smainklh@gmail.com> wrote: > > Hi, > > > > I''m coming back ''cause i still notice the same error. > > I installed a new VM (debian 64) > > I followed exactly the documentation (installation of passenger via gems) > > and the error. > > > > err: /File[/var/lib/puppet/lib]: Failed to generate additional resources > > using ''eval_generate'': Error 400 on SERVER: undefined method `path'' for > > #<Rack::Request:0x7fe8523989c8> > > err: /File[/var/lib/puppet/lib]: Failed to retrieve current state of > > resource: Error 400 on SERVER: undefined method `path'' for > > #<Rack::Request:0x7fe852372408> Could not retrieve file metadata for > > puppet://puppet/plugins: Error 400 on SERVER: undefined method `path'' for > > #<Rack::Request:0x7fe852372408> > > err: Could not retrieve catalog from remote server: Error 400 on SERVER: > > undefined method `path'' for #<Rack::Request:0x7fe85236e060> > > > > My apache configuration for passenger > > LoadModule passenger_module > > /var/lib/gems/1.8/gems/passenger-2.2.11/ext/apache2/mod_passenger.so > > PassengerRoot /var/lib/gems/1.8/gems/passenger-2.2.11 > > PassengerRuby /usr/bin/ruby1.8 > > > /var/lib/gems looks like a non standard location which isn''t in ruby''s > library search path, right? Perhaps you need to set the RUBYLIB and > GEM_HOME environment variables as well, or modify $: in the rack > configuration. > > -Jeff > > -- > 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. > >Thanks Jeff, could you please tell me how can i do that ? What are the files to modify ? Regards, Grifith -- 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 Wed, Apr 7, 2010 at 11:15 AM, smain kahlouch <smainklh@gmail.com> wrote:> > > 2010/4/7 Jeff McCune <mccune.jeff@gmail.com> >> >> On Wed, Apr 7, 2010 at 7:16 AM, smain kahlouch <smainklh@gmail.com> wrote: >> > Hi, >> > >> > I''m coming back ''cause i still notice the same error. >> > I installed a new VM (debian 64) >> > I followed exactly the documentation (installation of passenger via >> > gems) >> > and the error. >> > >> > err: /File[/var/lib/puppet/lib]: Failed to generate additional resources >> > using ''eval_generate'': Error 400 on SERVER: undefined method `path'' for >> > #<Rack::Request:0x7fe8523989c8> >> > err: /File[/var/lib/puppet/lib]: Failed to retrieve current state of >> > resource: Error 400 on SERVER: undefined method `path'' for >> > #<Rack::Request:0x7fe852372408> Could not retrieve file metadata for >> > puppet://puppet/plugins: Error 400 on SERVER: undefined method `path'' >> > for >> > #<Rack::Request:0x7fe852372408> >> > err: Could not retrieve catalog from remote server: Error 400 on SERVER: >> > undefined method `path'' for #<Rack::Request:0x7fe85236e060> >> > >> > My apache configuration for passenger >> > LoadModule passenger_module >> > /var/lib/gems/1.8/gems/passenger-2.2.11/ext/apache2/mod_passenger.so >> > PassengerRoot /var/lib/gems/1.8/gems/passenger-2.2.11 >> > PassengerRuby /usr/bin/ruby1.8 >> >> >> /var/lib/gems looks like a non standard location which isn''t in ruby''s >> library search path, right? Perhaps you need to set the RUBYLIB and >> GEM_HOME environment variables as well, or modify $: in the rack >> configuration. >> >> -Jeff >> >> -- >> 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. >> > > Thanks Jeff, could you please tell me how can i do that ? > What are the files to modify ?Here are some of your options. Again, I''m not sure if this is actually the problem, but it just looks like it might be. Try setting up a wrapper script to set and export the GEM_HOME environment variable appropriately. http://stackoverflow.com/questions/79474/setting-environment-variables-for-phusion-passenger-applications -Jeff -- 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.
And actually, it looks like the recommended way currently us to use Apache mod_env and the SetEnv directive. http://blog.phusion.nl/2009/06/17/phusion-passenger-223-released-bug-fix-edition/ -- 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.