Skip to content

Can't connect to TCP port 4949 on :: [Invalid argument] with default munin-node config "host *" #1625

Open
@Perdu

Description

@Perdu

Describe the bug
My munin-node.service started crashing even though I did not modify the config. The service crashes without displaying any relevant information, but munin-node.log contains:

2024/07/02-17:05:02 Munin::Node::Server (type Net::Server::Fork) starting! pid(739273)
Resolved [*]:4949 to [::]:4949, IPv6
Not including resolved host [0.0.0.0] IPv4 because it will be handled by [::] IPv6
Binding to TCP port 4949 on host :: with IPv6
2024/07/02-17:05:02 Can't connect to TCP port 4949 on :: [Invalid argument]
  at line 66 in file /usr/share/perl5/vendor_perl/Net/Server/Proto/TCP.pm
2024/07/02-17:05:02 Server closing!
shutdown() on unopened socket GEN0 at /usr/lib/perl5/5.38/core_perl/IO/Socket.pm line 327.

Following advices in #1579, I tried modifying the host line in munin-node.conf... And it works again. For some reason, the default host * crashes, but host 127.0.0.1 doesn't.

Desktop (please complete the following information):

  • OS+Distribution Version: arch linux
  • Munin Version: 2.0.76-1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions