Hi. I am running puppet with puppet version 3.3.2-1, apache 2.2.22-1ubuntu1.4 and passenger module 2.2.11debian-2. I having problem with passenger module, i create the config file /usr/share/puppet/rack/puppetmasterd/config.ru but the process master the puppet is not running . For what seems apache is not recognizing the file config.ru Example in other machine running puppet version 2.6 i have the result in ps -aux : puppet 16874 *** **** ***** **** ***** S 18:24 0:00 master My config.ru : ARGV << "--debug" ARGV << "--rack" # Rack applications typically don''t start as root. Set --confdir and --vardir # to prevent reading configuration from ~puppet/.puppet/puppet.conf and writing # to ~puppet/.puppet ARGV << "--trace" ARGV << "--vardir" << "/var/lib/puppet" ARGV << "--config" << "/etc/puppet/puppet.conf" require ''puppet/util/command_line'' # we''re usually running inside a Rack::Builder.new {} block, # therefore we need to call run *here*. run Puppet::Util::CommandLine.new.execute #run Puppet::Application[:master].run Permissions: -rwxr-xr-x 1 puppet puppet 1618 Nov 18 17:31 /usr/share/puppet/rack/puppetmasterd/config.ru Someone help me? Regards, Marcelo Frota -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/74651585-ad76-4e3b-bc91-3624f658b792%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Hi, is that config.ru from the ubuntu package? It looks odd and seems to miss the vital ''$0 = "master"'' line. For reference: https://github.com/puppetlabs/puppet/blob/master/ext/rack/config.ru HTH, Felix On 11/18/2013 09:52 PM, Marcelo Frota wrote:> I am running puppet with puppet version 3.3.2-1, apache > 2.2.22-1ubuntu1.4 and passenger module 2.2.11debian-2. > > My config.ru :-- MPeX.net GmbH / Werner-Voß-Damm 62 / D-12101 Berlin / Germany MPeXnetworks / www.mpexnetworks.de Tel: ++49-30-78097 180 / Fax: ++49-30-78097 181 Sitz, Registergericht: Berlin, Amtsgericht Charlottenburg, HRB 76688 Geschäftsführer: Lars Bräuer, Gregor Rex-Lawatscheck -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/528DE9CF.6010307%40alumni.tu-berlin.de. For more options, visit https://groups.google.com/groups/opt_out.
Hi Felix, My archive config.ru is equal to the file that you spoke. Do you have other sugestion, for the my problem ? Regards Marcelo Frota Em quinta-feira, 21 de novembro de 2013 09h09min03s UTC-2, Felix.Frank escreveu:> > Hi, > > is that config.ru from the ubuntu package? > > It looks odd and seems to miss the vital ''$0 = "master"'' line. For > reference: > https://github.com/puppetlabs/puppet/blob/master/ext/rack/config.ru > > HTH, > Felix > > On 11/18/2013 09:52 PM, Marcelo Frota wrote: > > I am running puppet with puppet version 3.3.2-1, apache > > 2.2.22-1ubuntu1.4 and passenger module 2.2.11debian-2. > > > > My config.ru : > > -- > MPeX.net GmbH / Werner-Vo�-Damm 62 / D-12101 Berlin / Germany > MPeXnetworks / www.mpexnetworks.de > Tel: ++49-30-78097 180 / Fax: ++49-30-78097 181 > > Sitz, Registergericht: Berlin, Amtsgericht Charlottenburg, HRB 76688 > Gesch�ftsf�hrer: Lars Br�uer, Gregor Rex-Lawatscheck >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/2d2ec909-43c9-4693-97a6-5625cba8b706%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Marcelo, well, have you made sure that apache is configured correctly according to the documentation? I.e. http://docs.puppetlabs.com/guides/passenger.html I advise to restart apache and keep an eye on its log files. HTH, Felix On 11/21/2013 02:07 PM, Marcelo Frota wrote:> Hi Felix, > > My archive config.ru is equal to the file that you spoke. > > Do you have other sugestion, for the my problem ? > > Regards > Marcelo Frota-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/528E06B2.80401%40alumni.tu-berlin.de. For more options, visit https://groups.google.com/groups/opt_out.
On Nov 18, 2013, at 12:52 PM, Marcelo Frota <infragter@gmail.com> wrote:> I having problem with passenger module, i create the config file /usr/share/puppet/rack/puppetmasterd/config.ru but > the process master the puppet is not running . > For what seems apache is not recognizing the file config.ruI don''t believe that this directory is an expected path for apache, is it? That''s an example file you copy to the apache config directory... -- Jo Rhett Net Consonance : net philanthropy to improve open source and internet projects. Author of Instant Puppet 3 Starter: http://www.netconsonance.com/instant-puppet-3-starter-book/ -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/764E3267-879C-41DE-8F75-5C7E32C8BE36%40netconsonance.com. For more options, visit https://groups.google.com/groups/opt_out.
On 11/21/2013 10:33 PM, Jo Rhett wrote:> On Nov 18, 2013, at 12:52 PM, Marcelo Frota <infragter@gmail.com> wrote: >> > I having problem with passenger module, i create the config file /usr/share/puppet/rack/puppetmasterd/config.ru but >> > the process master the puppet is not running . >> > For what seems apache is not recognizing the file config.ru > I don''t believe that this directory is an expected path for apache, is it? That''s an example file you copy to the apache config directory...One might think that, but that''s indeed the location suggested by the puppetlabs passenger docs. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/528F8578.6050802%40alumni.tu-berlin.de. For more options, visit https://groups.google.com/groups/opt_out.