Oren Marmor
2011-Jan-31 16:41 UTC
[Puppet Users] problem running puppet with passenger - no puppet session on passenger
hi. i installed puppet and passenger on a test server according to wiki pages with rpms. edited the config.ru and puppetmaster.conf files and passenger-status working but gives no active session of puppet: [root@ httpd]# passenger-status ----------- General information ----------- max = 12 count = 0 active = 0 inactive = 0 Waiting on global queue: 0 ----------- Domains ----------- content of /etc/httpd/conf.d/puppetmaster.conf: ================================== PassengerHighPerformance on PassengerMaxPoolSize 12 PassengerPoolIdleTime 1500 # PassengerMaxRequests 1000 PassengerStatThrottleRate 120 RackAutoDetect Off RailsAutoDetect Off Listen 8140 <VirtualHost puppet.local:8140> SSLEngine on SSLProtocol -ALL +SSLv3 +TLSv1 SSLCipherSuite ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:-LOW:-SSLv2:-EXP SSLCertificateFile /etc/puppet/ssl/certs/ myserver.local.pem SSLCertificateKeyFile /etc/puppet/ssl/private_keys/ myserver.local.pem SSLCertificateChainFile /etc/puppet/ssl/ca/ca_crt.pem SSLCACertificateFile /etc/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 /etc/puppet/ssl/ca/ca_crl.pem SSLVerifyClient optional SSLVerifyDepth 1 SSLOptions +StdEnvVars #DocumentRoot /etc/puppet/rack/public/ DocumentRoot /var/lib/puppet/ RackBaseURI /var/lib/puppet <Directory /var/lib/puppet/> Options None AllowOverride None Order allow,deny allow from all </Directory> </VirtualHost> content of config.ru: ==============$0 = "master" ARGV << "--rack" run Puppet::Application[:master].run rpms installed & gems: ================ruby-augeas-0.3.0-1.el5 rubygems-1.3.1-1.el5 ruby-libs-1.8.5-5.el5_4.8 ruby-1.8.5-5.el5_4.8 ruby-shadow-1.4.1-7.el5 ruby-rdoc-1.8.5-5.el5_4.8 rubygem-fastthread-1.0.7-1.el5 rubygem-passenger-2.2.11-3.el5 ruby-devel-1.8.5-5.el5_4.8 ruby-libs-1.8.5-5.el5_4.8 libselinux-ruby-1.33.4-5.5.el5 ruby-irb-1.8.5-5.el5_4.8 rubygem-rack-1.1.0-2.el5 ruby-devel-1.8.5-5.el5_4.8 puppet-server-2.6.4-0.5.el5 puppet-2.6.4-0.5.el5 rubygem-passenger-2.2.11-3.el5 *** LOCAL GEMS *** fastthread (1.0.7) passenger (2.2.11) rack (1.1.0) rake (0.8.7) i would appreciate any help, thanks. Oren. -- 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.
Ohad Levy
2011-Jan-31 17:52 UTC
Re: [Puppet Users] problem running puppet with passenger - no puppet session on passenger
Passenger starts only when there are requests... when you connect from a client, what does your apache logs say? Ohad On Mon, Jan 31, 2011 at 6:41 PM, Oren Marmor <oren.marmor@gmail.com> wrote:> hi. > i installed puppet and passenger on a test server according to wiki > pages with rpms. > edited the config.ru and puppetmaster.conf files and passenger-status > working but gives no active session of puppet: > > [root@ httpd]# passenger-status > ----------- General information ----------- > max = 12 > count = 0 > active = 0 > inactive = 0 > Waiting on global queue: 0 > > ----------- Domains ----------- > > content of /etc/httpd/conf.d/puppetmaster.conf: > ==================================> > PassengerHighPerformance on > PassengerMaxPoolSize 12 > PassengerPoolIdleTime 1500 > # PassengerMaxRequests 1000 > PassengerStatThrottleRate 120 > RackAutoDetect Off > RailsAutoDetect Off > > Listen 8140 > > <VirtualHost puppet.local:8140> > SSLEngine on > SSLProtocol -ALL +SSLv3 +TLSv1 > SSLCipherSuite ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:-LOW:-SSLv2:-EXP > > SSLCertificateFile /etc/puppet/ssl/certs/ > myserver.local.pem > SSLCertificateKeyFile /etc/puppet/ssl/private_keys/ > myserver.local.pem > SSLCertificateChainFile /etc/puppet/ssl/ca/ca_crt.pem > SSLCACertificateFile /etc/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 /etc/puppet/ssl/ca/ca_crl.pem > SSLVerifyClient optional > SSLVerifyDepth 1 > SSLOptions +StdEnvVars > > #DocumentRoot /etc/puppet/rack/public/ > DocumentRoot /var/lib/puppet/ > RackBaseURI /var/lib/puppet > <Directory /var/lib/puppet/> > Options None > AllowOverride None > Order allow,deny > allow from all > </Directory> > </VirtualHost> > > content of config.ru: > ==============> $0 = "master" > ARGV << "--rack" > run Puppet::Application[:master].run > > rpms installed & gems: > ================> ruby-augeas-0.3.0-1.el5 > rubygems-1.3.1-1.el5 > ruby-libs-1.8.5-5.el5_4.8 > ruby-1.8.5-5.el5_4.8 > ruby-shadow-1.4.1-7.el5 > ruby-rdoc-1.8.5-5.el5_4.8 > rubygem-fastthread-1.0.7-1.el5 > rubygem-passenger-2.2.11-3.el5 > ruby-devel-1.8.5-5.el5_4.8 > ruby-libs-1.8.5-5.el5_4.8 > libselinux-ruby-1.33.4-5.5.el5 > ruby-irb-1.8.5-5.el5_4.8 > rubygem-rack-1.1.0-2.el5 > ruby-devel-1.8.5-5.el5_4.8 > puppet-server-2.6.4-0.5.el5 > puppet-2.6.4-0.5.el5 > rubygem-passenger-2.2.11-3.el5 > > > *** LOCAL GEMS *** > fastthread (1.0.7) > passenger (2.2.11) > rack (1.1.0) > rake (0.8.7) > > i would appreciate any help, thanks. > Oren. > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscribe@googlegroups.com<puppet-users%2Bunsubscribe@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.