z

Commercial Support Clients: Clients with support contracts can get escalated support assistance by visiting Nagios Answer Hub. These forums are for community support services. Although we at Nagios try our best to help out on the forums here, we always give priority support to our support clients.

Re: [Nagios-devel] Core 3.4.1 upgrade to 4

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.

Re: [Nagios-devel] Core 3.4.1 upgrade to 4

Postby Guest » Wed Oct 03, 2012 7:04 pm

I submitted a patch to Andreas yesterday for this :) There's a setting in =
the .in file for @localstatedir@ that's missing the last @ sign so it does=
n't replace it during the 'make' :)

Dan


On Oct 3, 2012, at 2:49 PM, Mike Guthrie wrote:

> Greetings,
>=20
> Working on testing an upgrade from Core 3.4.1 to 4.x for those who may=20
> want to migrate to 4. After some doing some house cleaning and removing=20
> deprecated config directives, the following issue still presented itself=
=20
> in the logs:
>=20
> [1349292382] Nagios 3.99.95 starting... (PID=3D28837)
>=20
> [1349292382] Local time is Wed Oct 03 14:26:22 CDT 2012
>=20
> [1349292382] LOG VERSION: 2.0
>=20
> [1349292382] Init of query socket '@localstatedir/rw/nagios.qh' failed. b=
ind() failed: No such file or directory
>=20
> [1349292382] Error: Failed to insert query handler 'nerd' (0x19d0a70) int=
o hash table (nil) (-22): No such file or directory
>=20
> [1349292382] Error: Failed to register 'nerd' with query handler
>=20
> [1349292382] Finished daemonizing... (New PID=3D28838)
>=20
> [1349292384] Successfully launched command file worker with pid 28841
>=20
> [1349292384] Workers spawned: 6
>=20
> [1349292384] Error: Failed to insert query handler 'register_worker' (0x1=
9d3770) into hash table (nil) (-22): Operation now in progress
>=20
>=20
> From looking through the code, the issue was resolved by specifying the=20
> following in the main nagios.cfg.
>=20
> query_socket=3D/usr/local/nagios/var/rw/query.sh
>=20
>=20
> It looks like there's supposed to be an error message that tells a user=20
> to add this, but for some reason it skipped past this and failed at the=20
> next conditional. Line 220 base/query-handler.c
>=20
> if(!path) {
>=20
> /* not configured, so do nothing */
>=20
> logit(NSLOG_INFO_MESSAGE, TRUE, "Query socket not enabled=
. Set 'query_socket=3D' in config (and stop whining,=
Robin).\n");
>=20
> return 0;
>=20
> }
>=20
>=20
>=20
> --=20
>=20
>=20
> Mike Guthrie
> Technical Team
> ___
> Nagios Enterprises, LLC
> Email: mguthrie@nagios.com
> Web: www.nagios.com
>=20
>=20
> -------------------------------------------------------------------------=
-----
> Don't let slow site performance ruin your business. Deploy New Relic APM
> Deploy New Relic app performance management and know exactly
> what is happening inside your Ruby, Python, PHP, Java, and .NET app
> Try New Relic at no cost today and get our sweet Data Nerd shirt too!
> http://p.sf.net/sfu/newrelic-dev2dev
> _______________________________________________
> Nagios-devel mailing list
> Nagios-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-devel






This post was automatically imported from historical nagios-devel mailing list archives
Original poster: daniel.wittenberg.r0ko@statefarm.com
Guest
 

Return to Open Source Nagios Projects

Who is online

Users browsing this forum: No registered users and 20 guests