[munin-users] Munin crashing : p5-Net-Server

Kenyon Ralph kenyon at kenyonralph.com
Tue Jun 19 07:42:26 UTC 2012


On 2012-06-19T08:17:09+0100, Paul Macdonald <paul at ifdnrg.com> wrote:
> After a recent upgrade to p5-Net-Server-2.005 on various boxes, I'm 
> finding that munin-node is going down regularly.
> 
> (Multiple machines, looks to be affected on FreeBSD8.2 and FreeBSD8.3 
> REL, but not 9.0 machines)

This is due to newsyslog sending a signal to munin-node (notice the
first line of the log). As a workaround, if you comment the munin-node
line in /etc/newsyslog.conf, munin-node will stay running, but you'll
have to figure out another way to rotate the logs, if you care about
rotating those logs.

This is probably a bug somewhere. I haven't debugged further than this
due to lack of time, but maybe this will help you determine the root
cause, and a fix.

> It looks related to trying to start on an ipv6 interface ( which is not 
> there) and i suspect this is a default from the perl Net-Server module 
> rather than munin?
> 
> Jun 19 00:00:01 ifdnrg20 newsyslog[24331]: logfile turned over
> Pid_file created by this same process. Doing nothing.
> 2012/06/19-00:00:02 Munin::Node::Server (type Net::Server::Fork) 
> starting! pid(50897)
> sysctl: unknown oid 'net.ipv6.bindv6only'
> Resolved [*]:4949 to [::]:4949, IPv6
> Resolved [*]:4949 to [0.0.0.0]:4949, IPv4
> Binding open file descriptors
> 2012/06/19-00:00:02 Bad file descriptor
>    at line 298 in file /usr/local/lib/perl5/site_perl/5.12.4/Net/Server.pm
> 2012/06/19-00:00:02 Server closing!
> shutdown() on unopened socket GEN0 at 
> /usr/local/lib/perl5/5.12.4/mach/IO/Socket.pm line 295.
> shutdown() on unopened socket GEN1 at 
> /usr/local/lib/perl5/5.12.4/mach/IO/Socket.pm line 295.
> 
> Paul.

-- 
Kenyon Ralph
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20120619/42143c26/attachment.pgp


More information about the freebsd-ports mailing list