From owner-freebsd-questions@FreeBSD.ORG Tue Jun 19 07:42:26 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E19D106564A; Tue, 19 Jun 2012 07:42:26 +0000 (UTC) (envelope-from kenyon@kenyonralph.com) Received: from darwin.kenyonralph.com (darwin.kenyonralph.com [IPv6:2600:3c01::f03c:91ff:fe93:b0d1]) by mx1.freebsd.org (Postfix) with ESMTP id 64C8D8FC0A; Tue, 19 Jun 2012 07:42:26 +0000 (UTC) Received: from darwin.kenyonralph.com (localhost [IPv6:::1]) by darwin.kenyonralph.com (Postfix) with ESMTP id 2B91DE137; Tue, 19 Jun 2012 00:42:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=simple; d=kenyonralph.com; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=postfix; bh=3WXTCZbKp3JMswoNrAvVzPm RBhU=; b=eO9TsL60VhH/BxWohVw+4q6AZl09jep7pe6x8Qg+XETv957KQkQTG/Y KSuaRUATR08c/Q2dszT0vYESl8QPVkhU7d/sQ5e4r91jg+Kg0hc75gVgqKW7Z5/r xigSr4PvwPZpwLNXL9f5Azn+Ah17sfuslQKGBsF9LnQx1dBYbKt8= DomainKey-Signature: a=rsa-sha1; c=simple; d=kenyonralph.com; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; q=dns; s=postfix; b=dOycfsyVbVqKILvfr zYSQOsJ2AtQALX8rhMAhB5wM768xphXI+3nZPtU23RMsw3pzYPXkUmMgg3k/AoSu zQJiynHvWVg3Pez0AiXyLQw5xYOImmeg2/B20OIO5wdcyYFq8k+Y8rep46vA1QrB XEvCe5cDHvcM8WXYmsytlJWX+w= Received: by darwin.kenyonralph.com (Postfix, from userid 1000) id 135D9E11F; Tue, 19 Jun 2012 02:42:26 -0500 (CDT) Date: Tue, 19 Jun 2012 00:42:26 -0700 From: Kenyon Ralph To: Paul Macdonald Message-ID: <20120619074225.GB9940@kenyonralph.com> Mail-Followup-To: Paul Macdonald , munin , ports@freebsd.org, FreeBSD References: <4FE02775.7000109@ifdnrg.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ZvvH1QDaOFG4lOZN" Content-Disposition: inline In-Reply-To: <4FE02775.7000109@ifdnrg.com> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: ports@freebsd.org, munin , FreeBSD Subject: Re: [munin-users] Munin crashing : p5-Net-Server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jun 2012 07:42:26 -0000 --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 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--