Bug #810
Starting a second instance of puppetmasterd gives error about address family
| Status: | Closed | Start date: | ||
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | % Done: | 0% |
||
| Category: | - | |||
| Target version: | 0.24.0 | |||
| Affected Puppet version: | 0.25.4 | Branch: | ||
| Keywords: | ||||
| Votes: | 0 |
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.
History
Updated by Anonymous over 4 years ago
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.
Updated by Peter Abrahamsen over 4 years ago
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) @@@
Updated by Luke Kanies over 4 years ago
Note that you can use three curly braces around these quotes to get good markup — see WikiFormatting for more info.
Updated by Luke Kanies over 4 years ago
- Status changed from 1 to Closed
- 7 set to fixed
Fixed in commit:5d30ea93ad23d10564a765337b26d137d6643101.