* [gentoo-user] NdoUtils Wont Load module in nagios
@ 2014-09-08 0:32 Jeff Smelser
2014-09-08 12:02 ` J. Roeleveld
` (2 more replies)
0 siblings, 3 replies; 11+ messages in thread
From: Jeff Smelser @ 2014-09-08 0:32 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 489 bytes --]
I have been racking my head trying to figure out why this module wont load.
All the privs are correct as far as I can see.
Sep 7 19:22:32 kyle nagios: Nagios 3.5.1 starting... (PID=32513)
Sep 7 19:22:32 kyle nagios: Local time is Sun Sep 07 19:22:32 CDT 2014
Sep 7 19:22:32 kyle nagios: LOG VERSION: 2.0
Sep 7 19:22:32 kyle nagios: Error: Could not load module
'/usr/bin/ndomod.o' -> file not found
I cant even figure out how to get more debugging from the startup. :(
Thanks,
Jeff
[-- Attachment #2: Type: text/html, Size: 651 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] NdoUtils Wont Load module in nagios
2014-09-08 0:32 [gentoo-user] NdoUtils Wont Load module in nagios Jeff Smelser
@ 2014-09-08 12:02 ` J. Roeleveld
2014-09-08 14:52 ` Jeff Smelser
2014-09-08 12:06 ` Neil Bothwick
2014-09-08 15:02 ` Alan McKinnon
2 siblings, 1 reply; 11+ messages in thread
From: J. Roeleveld @ 2014-09-08 12:02 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 563 bytes --]
On Sunday, September 07, 2014 07:32:52 PM Jeff Smelser wrote:
> I have been racking my head trying to figure out why this module wont
load.
> All the privs are correct as far as I can see.
>
> Sep 7 19:22:32 kyle nagios: Nagios 3.5.1 starting... (PID=32513)
> Sep 7 19:22:32 kyle nagios: Local time is Sun Sep 07 19:22:32 CDT
2014
> Sep 7 19:22:32 kyle nagios: LOG VERSION: 2.0
> Sep 7 19:22:32 kyle nagios: Error: Could not load module
> '/usr/bin/ndomod.o' -> file not found
What is the result of the following:
# ls -lsah /usr/bin/ndomod.o
?
--
Joost
[-- Attachment #2: Type: text/html, Size: 3201 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] NdoUtils Wont Load module in nagios
2014-09-08 0:32 [gentoo-user] NdoUtils Wont Load module in nagios Jeff Smelser
2014-09-08 12:02 ` J. Roeleveld
@ 2014-09-08 12:06 ` Neil Bothwick
2014-09-08 15:02 ` Alan McKinnon
2 siblings, 0 replies; 11+ messages in thread
From: Neil Bothwick @ 2014-09-08 12:06 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 481 bytes --]
On Sun, 7 Sep 2014 19:32:52 -0500, Jeff Smelser wrote:
> Sep 7 19:22:32 kyle nagios: Nagios 3.5.1 starting... (PID=32513)
> Sep 7 19:22:32 kyle nagios: Local time is Sun Sep 07 19:22:32 CDT 2014
> Sep 7 19:22:32 kyle nagios: LOG VERSION: 2.0
> Sep 7 19:22:32 kyle nagios: Error: Could not load module
> '/usr/bin/ndomod.o' -> file not found
That seems an odd location for a module.
--
Neil Bothwick
If a parsley farmer is sued, can they garnish his wages?
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] NdoUtils Wont Load module in nagios
2014-09-08 12:02 ` J. Roeleveld
@ 2014-09-08 14:52 ` Jeff Smelser
2014-09-08 17:52 ` J. Roeleveld
0 siblings, 1 reply; 11+ messages in thread
From: Jeff Smelser @ 2014-09-08 14:52 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 259 bytes --]
On Mon, Sep 8, 2014 at 7:02 AM, J. Roeleveld <joost@antarean.org> wrote:
> What is the result of the following:
>
> # ls -lsah /usr/bin/ndomod.o
>
> ?
>
--()-[0s)# ls -lsah /usr/bin/ndomod.o
76K -rwxr-xr-x 1 nagios nagios 75K Sep 7 19:26 /usr/bin/ndomod.o
[-- Attachment #2: Type: text/html, Size: 825 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] NdoUtils Wont Load module in nagios
2014-09-08 0:32 [gentoo-user] NdoUtils Wont Load module in nagios Jeff Smelser
2014-09-08 12:02 ` J. Roeleveld
2014-09-08 12:06 ` Neil Bothwick
@ 2014-09-08 15:02 ` Alan McKinnon
2014-09-08 15:14 ` Jeff Smelser
2 siblings, 1 reply; 11+ messages in thread
From: Alan McKinnon @ 2014-09-08 15:02 UTC (permalink / raw
To: gentoo-user
On 08/09/2014 02:32, Jeff Smelser wrote:
> I have been racking my head trying to figure out why this module wont
> load. All the privs are correct as far as I can see.
>
> Sep 7 19:22:32 kyle nagios: Nagios 3.5.1 starting... (PID=32513)
> Sep 7 19:22:32 kyle nagios: Local time is Sun Sep 07 19:22:32 CDT 2014
> Sep 7 19:22:32 kyle nagios: LOG VERSION: 2.0
> Sep 7 19:22:32 kyle nagios: Error: Could not load module
> '/usr/bin/ndomod.o' -> file not found
>
> I cant even figure out how to get more debugging from the startup. :(
>
> Thanks,
> Jeff
This post seems relevant:
http://support.nagios.com/forum/viewtopic.php?t=8678&p=41799
Also, selinux and such things might be interfering. Are you running selinux?
--
Alan McKinnon
alan.mckinnon@gmail.com
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] NdoUtils Wont Load module in nagios
2014-09-08 15:02 ` Alan McKinnon
@ 2014-09-08 15:14 ` Jeff Smelser
2014-09-08 22:04 ` Alan McKinnon
0 siblings, 1 reply; 11+ messages in thread
From: Jeff Smelser @ 2014-09-08 15:14 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1627 bytes --]
Thanks, I saw that one.
If I am reading it right, he was missing the broker_command= which I have:
broker_module=/usr/bin/ndomod.o config_file=/etc/nagios/ndomod.cfg
Then when he add's it, its loading he just doesnt have it config'd
correctly:
[18-12-2012 17:39:07] Finished daemonizing... (New PID=10105)
[18-12-2012 17:39:07] Event broker module '/usr/local/nagios/bin/ndomod.o'
initialized successfully.
[18-12-2012 17:39:07] ndomod: Could not open data sink! I'll keep trying,
but some output may get lost...
[18-12-2012 17:39:07] ndomod: NDOMOD 1.5.2 (06-08-2012) Copyright (c) 2009
Nagios Core Development Team and Community Contributors
[18-12-2012 17:39:07] LOG VERSION: 2.0
[
Let me know if I missed something.
On Mon, Sep 8, 2014 at 10:02 AM, Alan McKinnon <alan.mckinnon@gmail.com>
wrote:
> On 08/09/2014 02:32, Jeff Smelser wrote:
> > I have been racking my head trying to figure out why this module wont
> > load. All the privs are correct as far as I can see.
> >
> > Sep 7 19:22:32 kyle nagios: Nagios 3.5.1 starting... (PID=32513)
> > Sep 7 19:22:32 kyle nagios: Local time is Sun Sep 07 19:22:32 CDT 2014
> > Sep 7 19:22:32 kyle nagios: LOG VERSION: 2.0
> > Sep 7 19:22:32 kyle nagios: Error: Could not load module
> > '/usr/bin/ndomod.o' -> file not found
> >
> > I cant even figure out how to get more debugging from the startup. :(
> >
> > Thanks,
> > Jeff
>
>
> This post seems relevant:
>
> http://support.nagios.com/forum/viewtopic.php?t=8678&p=41799
>
>
>
> Also, selinux and such things might be interfering. Are you running
> selinux?
>
> --
> Alan McKinnon
> alan.mckinnon@gmail.com
>
>
>
[-- Attachment #2: Type: text/html, Size: 4907 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] NdoUtils Wont Load module in nagios
2014-09-08 14:52 ` Jeff Smelser
@ 2014-09-08 17:52 ` J. Roeleveld
2014-09-08 18:20 ` Jeff Smelser
0 siblings, 1 reply; 11+ messages in thread
From: J. Roeleveld @ 2014-09-08 17:52 UTC (permalink / raw
To: gentoo-user
On 8 September 2014 16:52:58 CEST, Jeff Smelser <tradergt@gmail.com> wrote:
>On Mon, Sep 8, 2014 at 7:02 AM, J. Roeleveld <joost@antarean.org>
>wrote:
>
>> What is the result of the following:
>>
>> # ls -lsah /usr/bin/ndomod.o
>>
>> ?
>>
>
>--()-[0s)# ls -lsah /usr/bin/ndomod.o
>76K -rwxr-xr-x 1 nagios nagios 75K Sep 7 19:26 /usr/bin/ndomod.o
Assuming nagios runs as user 'nagios', can you run:
# ldd /usr/bin/ndomod.o
--
Joost
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] NdoUtils Wont Load module in nagios
2014-09-08 17:52 ` J. Roeleveld
@ 2014-09-08 18:20 ` Jeff Smelser
0 siblings, 0 replies; 11+ messages in thread
From: Jeff Smelser @ 2014-09-08 18:20 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 363 bytes --]
On Mon, Sep 8, 2014 at 12:52 PM, J. Roeleveld <joost@antarean.org> wrote:
> Assuming nagios runs as user 'nagios', can you run:
> # ldd /usr/bin/ndomod.o
>
--()-[78s)# sudo su - nagios
nagios@kyle ~ $ ldd /usr/bin/ndomod.o
linux-vdso.so.1 (0x00007fff6e1c7000)
libc.so.6 => /lib64/libc.so.6 (0x00007f9dee041000)
/lib64/ld-linux-x86-64.so.2 (0x00007f9dee608000)
[-- Attachment #2: Type: text/html, Size: 1073 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] NdoUtils Wont Load module in nagios
2014-09-08 15:14 ` Jeff Smelser
@ 2014-09-08 22:04 ` Alan McKinnon
2014-09-08 22:19 ` Jeff Smelser
0 siblings, 1 reply; 11+ messages in thread
From: Alan McKinnon @ 2014-09-08 22:04 UTC (permalink / raw
To: gentoo-user
On 08/09/2014 17:14, Jeff Smelser wrote:
> Thanks, I saw that one.
>
> If I am reading it right, he was missing the broker_command= which I have:
>
> broker_module=/usr/bin/ndomod.o config_file=/etc/nagios/ndomod.cfg
>
> Then when he add's it, its loading he just doesnt have it config'd
> correctly:
>
> [18-12-2012 17:39:07] Finished daemonizing... (New PID=10105)
> [18-12-2012 17:39:07] Event broker module
> '/usr/local/nagios/bin/ndomod.o' initialized successfully.
> [18-12-2012 17:39:07] ndomod: Could not open data sink! I'll keep
> trying, but some output may get lost...
> [18-12-2012 17:39:07] ndomod: NDOMOD 1.5.2 (06-08-2012) Copyright (c)
> 2009 Nagios Core Development Team and Community Contributors
> [18-12-2012 17:39:07] LOG VERSION: 2.0
> [
>
> Let me know if I missed something.
Looks like your problem is not the same. I'm just starting myself to
come to grips with this part of nagios, so I don't know how much further
hhelp I can be.
One thing that does stick out though is the taken literally, your error
output cannot be correct. The file cannot possibly be "not found" when
it quite obviously is right there on the disk :-)
So one must now think further out the box. Either the error is
completely wrong and the error handling code is buggy, or the message is
incomplete somehow (eg maybe it's not the module that is not found but
rather a file it references - or something like that).
I recommend your next stop is the nagios user lists.
Sorry I couldn;t assist more.
>
> On Mon, Sep 8, 2014 at 10:02 AM, Alan McKinnon <alan.mckinnon@gmail.com
> <mailto:alan.mckinnon@gmail.com>> wrote:
>
> On 08/09/2014 02:32, Jeff Smelser wrote:
> > I have been racking my head trying to figure out why this module wont
> > load. All the privs are correct as far as I can see.
> >
> > Sep 7 19:22:32 kyle nagios: Nagios 3.5.1 starting... (PID=32513)
> > Sep 7 19:22:32 kyle nagios: Local time is Sun Sep 07 19:22:32 CDT
> 2014
> > Sep 7 19:22:32 kyle nagios: LOG VERSION: 2.0
> > Sep 7 19:22:32 kyle nagios: Error: Could not load module
> > '/usr/bin/ndomod.o' -> file not found
> >
> > I cant even figure out how to get more debugging from the startup. :(
> >
> > Thanks,
> > Jeff
>
>
> This post seems relevant:
>
> http://support.nagios.com/forum/viewtopic.php?t=8678&p=41799
>
>
>
> Also, selinux and such things might be interfering. Are you running
> selinux?
>
> --
> Alan McKinnon
> alan.mckinnon@gmail.com <mailto:alan.mckinnon@gmail.com>
>
>
>
--
Alan McKinnon
alan.mckinnon@gmail.com
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] NdoUtils Wont Load module in nagios
2014-09-08 22:04 ` Alan McKinnon
@ 2014-09-08 22:19 ` Jeff Smelser
2014-09-09 6:11 ` J. Roeleveld
0 siblings, 1 reply; 11+ messages in thread
From: Jeff Smelser @ 2014-09-08 22:19 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 930 bytes --]
On Mon, Sep 8, 2014 at 5:04 PM, Alan McKinnon <alan.mckinnon@gmail.com>
wrote:
> Looks like your problem is not the same. I'm just starting myself to
> come to grips with this part of nagios, so I don't know how much further
> hhelp I can be.
>
> One thing that does stick out though is the taken literally, your error
> output cannot be correct. The file cannot possibly be "not found" when
> it quite obviously is right there on the disk :-)
>
> So one must now think further out the box. Either the error is
> completely wrong and the error handling code is buggy, or the message is
> incomplete somehow (eg maybe it's not the module that is not found but
> rather a file it references - or something like that).
>
> I recommend your next stop is the nagios user lists.
> Sorry I couldn;t assist more.
>
I would agree. I just dont know how to get more info from it. I will head
over there.
Thanks for the help so far,
Jeff
[-- Attachment #2: Type: text/html, Size: 1444 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] NdoUtils Wont Load module in nagios
2014-09-08 22:19 ` Jeff Smelser
@ 2014-09-09 6:11 ` J. Roeleveld
0 siblings, 0 replies; 11+ messages in thread
From: J. Roeleveld @ 2014-09-09 6:11 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1386 bytes --]
On Monday, September 08, 2014 05:19:24 PM Jeff Smelser wrote:
> On Mon, Sep 8, 2014 at 5:04 PM, Alan McKinnon
<alan.mckinnon@gmail.com>
>
> wrote:
> > Looks like your problem is not the same. I'm just starting myself to
> > come to grips with this part of nagios, so I don't know how much
further
> > hhelp I can be.
> >
> > One thing that does stick out though is the taken literally, your error
> > output cannot be correct. The file cannot possibly be "not found"
when
> > it quite obviously is right there on the disk :-)
> >
> > So one must now think further out the box. Either the error is
> > completely wrong and the error handling code is buggy, or the
message is
> > incomplete somehow (eg maybe it's not the module that is not found
but
> > rather a file it references - or something like that).
> >
> > I recommend your next stop is the nagios user lists.
> > Sorry I couldn;t assist more.
>
> I would agree. I just dont know how to get more info from it. I will head
> over there.
One extra thing you could try is to do a trace of what the module is trying
to do when it is loaded. Maybe it is missing a file (or not allowed to open it)
after loading.
The "ldd" output looks simple and it didn't show any other errors.
Good luck with this and let us know when you do find the solution.
I don't use this module with nagios, so can't help further.
--
Joost
[-- Attachment #2: Type: text/html, Size: 6410 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2014-09-09 6:11 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-08 0:32 [gentoo-user] NdoUtils Wont Load module in nagios Jeff Smelser
2014-09-08 12:02 ` J. Roeleveld
2014-09-08 14:52 ` Jeff Smelser
2014-09-08 17:52 ` J. Roeleveld
2014-09-08 18:20 ` Jeff Smelser
2014-09-08 12:06 ` Neil Bothwick
2014-09-08 15:02 ` Alan McKinnon
2014-09-08 15:14 ` Jeff Smelser
2014-09-08 22:04 ` Alan McKinnon
2014-09-08 22:19 ` Jeff Smelser
2014-09-09 6:11 ` J. Roeleveld
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox