Puppet: System Administration Automated

Support

Ticket #810 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

Starting a second instance of puppetmasterd gives error about address family

Reported by: rainhead Assigned to: luke
Priority: normal Milestone: misspiggy
Component: server Version: 0.23.2
Severity: normal Keywords: puppetmasterd
Cc: Triage Stage: Accepted
Attached Patches: None Complexity: Unknown

Description

There are some sort of problems relating to ruby really wanting ipv6 support. I don't remember the specifics.

I have a kernel without ipv6 support, but ruby with ipv6 support. If I try to start puppetmasterd when it's already running, such as because the init script failed to stop in before, I get the error: Address family not supported by protocol - socket(2)

Which was confusing. This is on hardened Gentoo.

Change History

09/07/07 17:30:47 changed by michael

  • stage changed from Unreviewed to Needs more info.

The best we can do in this case is provide a better error message. If you could run "puppetmasterd --trace" to give us a stack trace of the error, that would be great.

09/07/07 23:15:56 changed by rainhead

Yes, that is what I would expect.

BTW, I'm running ruby 1.8.5.

Here's the output of puppetmasterd --trace: ` /usr/lib64/ruby/1.8/webrick/utils.rb:73:in `initialize' /usr/lib64/ruby/1.8/webrick/utils.rb:73:in `new' /usr/lib64/ruby/1.8/webrick/utils.rb:73:in `create_listeners' /usr/lib64/ruby/1.8/webrick/utils.rb:70:in `each' /usr/lib64/ruby/1.8/webrick/utils.rb:70:in `create_listeners' /usr/lib64/ruby/1.8/webrick/ssl.rb:87:in `listen' /usr/lib64/ruby/1.8/webrick/server.rb:63:in `initialize' /usr/lib64/ruby/1.8/webrick/httpserver.rb:24:in `initialize' /usr/lib64/ruby/site_ruby/1.8/puppet/network/server/webrick.rb:94:in `initialize' /usr/bin/puppetmasterd:251:in `new' /usr/bin/puppetmasterd:251 Address family not supported by protocol - socket(2) `

11/24/07 06:11:42 changed by luke

  • stage changed from Needs more info to Accepted.
  • milestone set to misspiggy.

Note that you can use three curly braces around these quotes to get good markup -- see Wiki Formatting for more info.

11/28/07 01:41:57 changed by luke

  • status changed from new to closed.
  • resolution set to fixed.

Fixed in [5d30ea93ad23d10564a765337b26d137d6643101].