Date: Tue, 19 Jun 2012 00:42:26 -0700 From: Kenyon Ralph <kenyon@kenyonralph.com> To: Paul Macdonald <paul@ifdnrg.com> Cc: ports@freebsd.org, munin <munin-users@lists.sourceforge.net>, FreeBSD <freebsd-questions@freebsd.org> Subject: Re: [munin-users] Munin crashing : p5-Net-Server Message-ID: <20120619074225.GB9940@kenyonralph.com> In-Reply-To: <4FE02775.7000109@ifdnrg.com> References: <4FE02775.7000109@ifdnrg.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--ZvvH1QDaOFG4lOZN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2012-06-19T08:17:09+0100, Paul Macdonald <paul@ifdnrg.com> wrote: > After a recent upgrade to p5-Net-Server-2.005 on various boxes, I'm=20 > finding that munin-node is going down regularly. >=20 > (Multiple machines, looks to be affected on FreeBSD8.2 and FreeBSD8.3=20 > 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= =20 > there) and i suspect this is a default from the perl Net-Server module=20 > rather than munin? >=20 > 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)=20 > 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=20 > /usr/local/lib/perl5/5.12.4/mach/IO/Socket.pm line 295. > shutdown() on unopened socket GEN1 at=20 > /usr/local/lib/perl5/5.12.4/mach/IO/Socket.pm line 295. >=20 > Paul. --=20 Kenyon Ralph --ZvvH1QDaOFG4lOZN Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBCgAGBQJP4C1hAAoJEJj/PvnJuRLVsNUQAIF9O5ukJycn6OPFf7OXTZCL 9dX6QlUTlNcdTV0mTaAuWYUHZbhpeaEwaJK/1w7/GsTeek2FfZVyomu09nIxseyV vMtW1l49rsdu8T2cyg5gGPklhz5Eeu68scOKAwwdbVfoZqOk/8d7XCvFM/ehyfvq RcimMWyLSSkZTBqwr9uWjn5+wcwQjB8rIBQ7PsT645tuwFuFF9EGAjxpuEaaeM++ xkjAJK4dfjVMRt4Qj9asaMWopN9kgpIr1TQcQ2kF7UID4nQevmsL48xsCWMJC3HA RpXU4DimbKMj+N2LdHm/Dj34G/KsBuljn0Hg8yuYwu21zIDZPjSnkKiT6RtREH0O uJEMkvC7XmXQbejkCsCCYjJVePqQQOGUDooS2dfd9N//tjWjY24zSlb6MoAksUTk rGxl5MXMD4cOz112piAbWEX4No5RnjzHwPEKujrdCqiPri4uFKHG9vZsptscbu7x aI91iVW6eipZUSRiRh1WC7cQmWRCjtc/6LIWnXIVweWjpWRdTJiFy/CUOvW77JTq wL9T3Q5InIgXRMozYXZKQ0761UPrB4BT4jUCOFzFpNrK1yDYA8Nga3JJ7XM8012G 22pTYWv3t5GXGRO6kFkYWIY9isOTSSv1W6La/i3fcH3+9F60dvmDBvDuNaLwItjU Jdhaz3P6JK8eoOckizja =DbEf -----END PGP SIGNATURE----- --ZvvH1QDaOFG4lOZN--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120619074225.GB9940>