Hi,
I am trying to get mod_gearman to work with Nagios 4.1.0rc2
I have compiled and installed all the necessary packages (gearman and mod_gearman)
I have put the following config in the nagios.cfg file :
broker_module=/usr/local/lib/mod_gearman/mod_gearman.o config=/usr/local/etc/mod_gearman/mod_gearman_neb.conf
but every time I start up nagios I get the following error in the logs:
Error: Could not load module '/usr/local/lib/mod_gearman/mod_gearman.o' -> file not found
Error: Failed to load module '/usr/local/lib/mod_gearman/mod_gearman.o'.
Error: Module loading failed. Aborting.
I have checked the location and the permissions on the module and it is all set correctly.
Is there something I am missing ?
Thanks
problem with mod_gearman broker module
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: problem with mod_gearman broker module
Are you able to get gearmand to start? Does it log anything useful? You might want to up the debug level to 1 or 2 in mod_gearman_neb.conf and restart.
What version of mod-gearman did you compile?
What version of mod-gearman did you compile?
-
liquidcool
- Posts: 59
- Joined: Tue Feb 21, 2012 6:08 am
Re: problem with mod_gearman broker module
I can get gearmand started.
there is nothing being logged anywhere.
I have compiled 1.5.3. I have even used the RPM and I get the same issue.
I built a Centos Box and tried it with mod_gearman2 and I get this :
Error: Could not load module '/usr/lib64/mod_gearman/mod_gearman2.o' -> /usr/lib64/mod_gearman/mod_gearman2.o: cannot open shared object file: No such file or directory
Error: Failed to load module '/usr/lib64/mod_gearman/mod_gearman2.o'.
Error: Module loading failed. Aborting.
The module is there. I have no idea what it is trying to do.
there is nothing being logged anywhere.
I have compiled 1.5.3. I have even used the RPM and I get the same issue.
I built a Centos Box and tried it with mod_gearman2 and I get this :
Error: Could not load module '/usr/lib64/mod_gearman/mod_gearman2.o' -> /usr/lib64/mod_gearman/mod_gearman2.o: cannot open shared object file: No such file or directory
Error: Failed to load module '/usr/lib64/mod_gearman/mod_gearman2.o'.
Error: Module loading failed. Aborting.
The module is there. I have no idea what it is trying to do.
-
liquidcool
- Posts: 59
- Joined: Tue Feb 21, 2012 6:08 am
Re: problem with mod_gearman broker module
Ok I have managed to get it working.
i installed the mod-gearman2 rpm and that seems to have solved it.
i installed the mod-gearman2 rpm and that seems to have solved it.
Re: problem with mod_gearman broker module
Is this topic all right to close?
Former Nagios Employee.
me.
me.
-
liquidcool
- Posts: 59
- Joined: Tue Feb 21, 2012 6:08 am
Re: problem with mod_gearman broker module
Yes. Thank you