Page 1 of 1

Issues configuring livestatus

Posted: Tue May 30, 2017 7:50 am
by Rhobar
MOD EDIT: Split from https://support.nagios.com/forum/viewto ... 999#bottom Please create your own threads for your issues rather than adding on.

Hi,

how did you solve the following?

Code: Select all

" Error: Could not load module '/usr/local/lib/mk-livestatus/livestatus.o' -> /usr/local/nagios/var/spool/checkresults/nebmodZP1TQg: undefined symbol: num_objects" 

Re: Issues configuring livestatus

Posted: Tue May 30, 2017 8:58 am
by tacolover101
your best bet is contacting livestatus for support, the guys here did not write it.

Re: Issues configuring livestatus

Posted: Tue May 30, 2017 9:01 am
by dwhitfield
@tacolover101 is correct. ll /usr/local/lib/mk-livestatus/ might be instructive though.

Best thing to do is to disable livestatus. If Nagios works with it disabled, then I would definitely suggest tacolover101's comment. If Nagios is not working when you disable, can you post your nagios.cfg for review?

Re: Issues configuring livestatus

Posted: Tue May 30, 2017 10:11 am
by Rhobar
Hi,

I asked in that 3ad because I had a similar problem but not the same as you can see in this post:
https://support.nagios.com/forum/viewto ... =7&t=44020

So, for this reason I did not open another 3ad.

Re: Issues configuring livestatus

Posted: Tue May 30, 2017 12:28 pm
by dwhitfield
If you want us to take a cursory look, we'll need to see the output of the following:
ll /usr/local/lib/mk-livestatus/

Also, does it work with livestatus disabled?

Re: Issues configuring livestatus

Posted: Wed May 31, 2017 3:14 am
by Rhobar
as I said I had a similar problem, not the same.

My problem is related to this output:

Code: Select all

[1495808590] Error: Could not load module '/usr/local/nagios/bin/ndomod.o' -> /var/log/nagios/spool/checkresults/nebmodO8WoUp: undefined symbol: num_objects
As you can see it is similar but not the same.

I would like to know how the other user solved his problem only in order to catch some hints

Re: Issues configuring livestatus

Posted: Wed May 31, 2017 8:38 am
by mcapra
Do you know what versions of ndoutils and Nagios Core are in play here? It's almost as if your ndoutils was compiled against Core 4 but is attempting to be loaded by Core 3. Or that livestatus was compiled against Core 4 but is attempting to be loaded by Core 3. Some sort of version mis-match.

At any rate, the question posed by @dwhitfield is still the most pertinent one; Does Core work when livestatus is disabled? If so, then we have isolated the problem specifically to livestatus and ruled out potential problems with Core/ndoutils.

Re: Issues configuring livestatus

Posted: Wed May 31, 2017 9:02 am
by Rhobar
Hi,

I solved my problem using the ndomod-3x version instead of the version I was using before (as you can read from the other 3ad).

Thanks for your support.

Re: Issues configuring livestatus

Posted: Wed May 31, 2017 9:05 am
by dwhitfield
So, are you not using livestatus at all? *This* is the reason you should start your own thread instead of just adding on to a new thread.

It seems ls -la /usr/local/nagios/bin/ is the output we need. Please put the output in a code block. The "Code" button is the fifth from the left on the post input screen (between Quote and List).

Also, can you attach your nagios.cfg?