2010/3/31 Daniel Kerwin <[email protected]>

> 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 <[email protected]>
> wrote:
> >
> >
> > 2010/3/30 smain kahlouch <[email protected]>
> >>
> >>
> >> 2010/3/30 Ben Lovell <[email protected]>
> >>>
> >>> On 30 March 2010 16:38, smain kahlouch <[email protected]> wrote:
> >>>>
> >>>>
> >>>> 2010/3/30 smain kahlouch <[email protected]>
> >>>>>
> >>>>>
> >>>>> 2010/3/30 smain kahlouch <[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
> >>
> >>
> >
> > 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 [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.
> >
>
>
>
> --
>
> 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 [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 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 [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.

Reply via email to