2010/3/31 Ben Lovell <[email protected]>
> On 31 March 2010 11:20, smain kahlouch <[email protected]> wrote:
>
>>
>>
>> 2010/3/31 Ben Lovell <[email protected]>
>>
>>> On 31 March 2010 11:03, smain kahlouch <[email protected]> wrote:
>>>
>>>>
>>>>
>>>> 2010/3/31 Ben Lovell <[email protected]>
>>>>
>>>>
>>>>>>>>>>
>>>>>>>>>> 2010/3/30 Peter Meier <[email protected]>
>>>>>>>>>>
>>>>>>>>>> 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
>>>>>>>>>>> [email protected].
>>>>>>>>>>> To unsubscribe from this group, send email to
>>>>>>>>>>> [email protected]<puppet-users%[email protected]>
>>>>>>>>>>> .
>>>>>>>>>>> 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 [email protected].
>>>>>>> To unsubscribe from this group, send email to
>>>>>>> [email protected]<puppet-users%[email protected]>
>>>>>>> .
>>>>>>> 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 [email protected].
>>>>> To unsubscribe from this group, send email to
>>>>> [email protected]<puppet-users%[email protected]>
>>>>> .
>>>>> 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 [email protected].
>>> To unsubscribe from this group, send email to
>>> [email protected]<puppet-users%[email protected]>
>>> .
>>> 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 [email protected].
> To unsubscribe from this group, send email to
> [email protected]<puppet-users%[email protected]>
> .
> 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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.