Andrei Pashkevich
2012-Feb-20 11:43 UTC
[Puppet Users] Puppet agent fails to start on Windows Server 2008 with --listen option
Hi all, I''m trying to start puppet agent on windows machine with --listen option: puppet agent --no-daemonize --verbose --listen But in this case I`m receiving the following error message: notice: Starting Puppet client version 2.7.10 D:/Ruby187/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:72:in `setup_logger'': uninitialized constant Fcntl::F_SETFD (NameError) from D:/Ruby187/lib/ruby/site_ruby/1.8/puppet/network/http/ webrick.rb:20:in `listen'' from D:/Ruby187/lib/ruby/site_ruby/1.8/puppet/network/ server.rb:100:in `listen'' from D:/Ruby187/lib/ruby/site_ruby/1.8/puppet/network/ server.rb:115:in `start'' from D:/Ruby187/lib/ruby/site_ruby/1.8/puppet/daemon.rb:123:in `start'' from D:/Ruby187/lib/ruby/site_ruby/1.8/puppet/application/ agent.rb:347:in `main'' from D:/Ruby187/lib/ruby/site_ruby/1.8/puppet/application/ agent.rb:302:in `run_command'' from D:/Ruby187/lib/ruby/site_ruby/1.8/puppet/application.rb: 309:in `run'' from D:/Ruby187/lib/ruby/site_ruby/1.8/puppet/application.rb: 412:in `hook'' from D:/Ruby187/lib/ruby/site_ruby/1.8/puppet/application.rb: 309:in `run'' from D:/Ruby187/lib/ruby/site_ruby/1.8/puppet/application.rb: 404:in `exit_on_fail'' from D:/Ruby187/lib/ruby/site_ruby/1.8/puppet/application.rb: 309:in `run'' from D:/Ruby187/lib/ruby/site_ruby/1.8/puppet/util/ command_line.rb:69:in `execute'' from D:/Ruby187/bin/puppet:4 I''ve tried to use 2.7.9 puppet agent, but without any luck too. Any ideas how to workaround this problem? -- 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.
Josh Cooper
2012-Feb-20 19:01 UTC
Re: [Puppet Users] Puppet agent fails to start on Windows Server 2008 with --listen option
Hi Andrei, On Mon, Feb 20, 2012 at 3:43 AM, Andrei Pashkevich <zatomz@gmail.com> wrote:> Hi all, > I''m trying to start puppet agent on windows machine with --listen > option: > puppet agent --no-daemonize --verbose --listen > > But in this case I`m receiving the following error message: > > notice: Starting Puppet client version 2.7.10 > D:/Ruby187/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:72:in > `setup_logger'': uninitialized constant Fcntl::F_SETFD (NameError) > from D:/Ruby187/lib/ruby/site_ruby/1.8/puppet/network/http/ > webrick.rb:20:in `listen'' > from D:/Ruby187/lib/ruby/site_ruby/1.8/puppet/network/ > server.rb:100:in `listen'' > from D:/Ruby187/lib/ruby/site_ruby/1.8/puppet/network/ > server.rb:115:in `start'' > from D:/Ruby187/lib/ruby/site_ruby/1.8/puppet/daemon.rb:123:in > `start'' > from D:/Ruby187/lib/ruby/site_ruby/1.8/puppet/application/ > agent.rb:347:in `main'' > from D:/Ruby187/lib/ruby/site_ruby/1.8/puppet/application/ > agent.rb:302:in `run_command'' > from D:/Ruby187/lib/ruby/site_ruby/1.8/puppet/application.rb: > 309:in `run'' > from D:/Ruby187/lib/ruby/site_ruby/1.8/puppet/application.rb: > 412:in `hook'' > from D:/Ruby187/lib/ruby/site_ruby/1.8/puppet/application.rb: > 309:in `run'' > from D:/Ruby187/lib/ruby/site_ruby/1.8/puppet/application.rb: > 404:in `exit_on_fail'' > from D:/Ruby187/lib/ruby/site_ruby/1.8/puppet/application.rb: > 309:in `run'' > from D:/Ruby187/lib/ruby/site_ruby/1.8/puppet/util/ > command_line.rb:69:in `execute'' > from D:/Ruby187/bin/puppet:4 > > I''ve tried to use 2.7.9 puppet agent, but without any luck too. > > Any ideas how to workaround this problem?This is a bug, filed as https://projects.puppetlabs.com/issues/12725 Josh -- Josh Cooper Developer, Puppet Labs -- 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.