Fran Rodríguez
2013-Oct-07 13:40 UTC
[Puppet Users] Puppet 3.2, passenger 4.0.3 and nginx, could not spawn process for group /etc/puppet/rack#default
Hi group,
I got strange situations with my puppet configuration, i get this error
with out my puppetmaster runnging:
<code>
[ 2013-10-07 15:09:51.4965 4514/7fc6e1ded700 Pool2/Spawner.h:738 ]: [App
4605 stdout]
[ 2013-10-07 15:09:52.5461 4514/7fc6e1ded700 Pool2/Implementation.cpp:777
]: Could not spawn process for group /etc/puppet/rack#default: An error
occured while starting up the preloader.
in ''void
Passenger::ApplicationPool2::SmartSpawner::handleErrorResponse(Passenger::ApplicationPool2::SmartSpawner::StartupDetails&)''
(SmartSpawner.h:455)
in ''std::string
Passenger::ApplicationPool2::SmartSpawner::negotiatePreloaderStartup(Passenger::ApplicationPool2::SmartSpawner::StartupDetails&)''
(SmartSpawner.h:558)
in ''void
Passenger::ApplicationPool2::SmartSpawner::startPreloader()''
(SmartSpawner.h:206)
in ''virtual Passenger::ApplicationPool2::ProcessPtr
Passenger::ApplicationPool2::SmartSpawner::spawn(const
Passenger::ApplicationPool2::Options&)'' (SmartSpawner.h:744)
in ''void
Passenger::ApplicationPool2::Group::spawnThreadRealMain(const
SpawnerPtr&, const Passenger::ApplicationPool2::Options&, unsigned
int)''
(Implementation.cpp:710)
[ 2013-10-07 15:09:52.5463 4514/7fc6dff8c700
agents/HelperAgent/RequestHandler.h:1892 ]: [Client 20] Cannot checkout
session. An error occured while starting up the preloader.
Error page:
exit (SystemExit)
/usr/lib/ruby/vendor_ruby/puppet/util.rb:518:in `exit''
/usr/lib/ruby/vendor_ruby/puppet/util.rb:518:in `rescue in
exit_on_fail''
/usr/lib/ruby/vendor_ruby/puppet/util.rb:504:in `exit_on_fail''
/usr/lib/ruby/vendor_ruby/puppet/application.rb:362:in `run''
/usr/lib/ruby/vendor_ruby/puppet/util/command_line.rb:132:in `run''
/usr/lib/ruby/vendor_ruby/puppet/util/command_line.rb:86:in `execute''
config.ru:35:in `block in <main>''
/usr/lib/ruby/vendor_ruby/rack/builder.rb:51:in `instance_eval''
/usr/lib/ruby/vendor_ruby/rack/builder.rb:51:in `initialize''
config.ru:1:in `new''
config.ru:1:in `<main>''
/var/lib/gems/1.9.1/gems/passenger-4.0.8/helper-scripts/rack-preloader.rb:82:in
`eval''
/var/lib/gems/1.9.1/gems/passenger-4.0.8/helper-scripts/rack-preloader.rb:82:in
`preload_app''
/var/lib/gems/1.9.1/gems/passenger-4.0.8/helper-scripts/rack-preloader.rb:127:in
`<module:App>''
/var/lib/gems/1.9.1/gems/passenger-4.0.8/helper-scripts/rack-preloader.rb:6:in
`<module:PhusionPassenger>''
/var/lib/gems/1.9.1/gems/passenger-4.0.8/helper-scripts/rack-preloader.rb:5:in
`<main>''
[ 2013-10-07 15:09:56.1571 4514/7fc6e1ded700 Pool2/Spawner.h:738 ]: [App
4635 stdout]
[ 2013-10-07 15:09:57.2195 4514/7fc6e1ded700 Pool2/Implementation.cpp:777
]: Could not spawn process for group /etc/puppet/rack#default: An error
occured while starting up the preloader.
in ''void
Passenger::ApplicationPool2::SmartSpawner::handleErrorResponse(Passenger::ApplicationPool2::SmartSpawner::StartupDetails&)''
(SmartSpawner.h:455)
in ''std::string
Passenger::ApplicationPool2::SmartSpawner::negotiatePreloaderStartup(Passenger::ApplicationPool2::SmartSpawner::StartupDetails&)''
(SmartSpawner.h:558)
in ''void
Passenger::ApplicationPool2::SmartSpawner::startPreloader()''
(SmartSpawner.h:206)
in ''virtual Passenger::ApplicationPool2::ProcessPtr
Passenger::ApplicationPool2::SmartSpawner::spawn(const
Passenger::ApplicationPool2::Options&)'' (SmartSpawner.h:744)
in ''void
Passenger::ApplicationPool2::Group::spawnThreadRealMain(const
SpawnerPtr&, const Passenger::ApplicationPool2::Options&, unsigned
int)''
(Implementation.cpp:710)
</code>
When i run puppetmaster like daemon, and i restart the nginx everything
works ok, but i thought that i didnt need anymore the puppetmaster daemon
running. It seems something is not loaded when i restarted the nginx, could
anyone explain me what is happening?¿
Cheers.
--
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.