mod_gearman.o failed to load Nagios XI 2014 2.3
Posted: Fri Jan 16, 2015 9:49 am
I am attempting to install mod_gearman on my Nagios XI server running 2014R2.3
After the install I modified the nagios.cfg file with the new broker module "broker_module=/usr/lib64/mod_gearman/mod_gearman.o config=/etc/mod_gearman/mod_gearman_neb.conf
"
Nagios fails to start. If I comment out the new broker line nagios will start.
The Nagios.cfg log file shows
[1421418856] Nagios 4.0.8 starting... (PID=32318)
[1421418856] Local time is Fri Jan 16 16:34:16 IST 2015
[1421418856] LOG VERSION: 2.0
[1421418856] qh: Socket '/usr/local/nagios/var/rw/nagios.qh' successfully initialized
[1421418856] qh: core query handler registered
[1421418856] nerd: Channel hostchecks registered successfully
[1421418856] nerd: Channel servicechecks registered successfully
[1421418856] nerd: Channel opathchecks registered successfully
[1421418856] nerd: Fully initialized and ready to rock!
[1421418856] wproc: Successfully registered manager as @wproc with query handler
[1421418856] wproc: Registry request: name=Core Worker 32323;pid=32323
[1421418856] wproc: Registry request: name=Core Worker 32322;pid=32322
[1421418856] wproc: Registry request: name=Core Worker 32321;pid=32321
[1421418856] wproc: Registry request: name=Core Worker 32320;pid=32320
[1421418856] mod_gearman: ERROR - please specify at least one server
[1421418856] Error: Function nebmodule_init() in module '/usr/lib64/mod_gearman/mod_gearman.o' returned an error. Module will be unloaded.
[1421418856] Event broker module '/usr/lib64/mod_gearman/mod_gearman.o' deinitialized successfully.
[1421418856] Error: Failed to load module '/usr/lib64/mod_gearman/mod_gearman.o'.
[1421418856] ndomod: NDOMOD 2.0.0 (02-28-2014) Copyright (c) 2009 Nagios Core Development Team and Community Contributors
[1421418856] ndomod: Successfully connected to data sink. 0 queued items to flush.
I am using the VMWare image from Nagios XI R2.0. Its running CentOS version 6.6, Nagios XI has been updated three times using the upgrade scripts
I have installed the mod_gearman plug-in using the "Integrating Mod-Gearman with Nagios XI" pdf
using http://assets.nagios.com/downloads/mod_ ... x86_64.rpm
I will attach both mod_gearman_neb.conf and mod_gearmand_worker.conf along with the nagios.cfg file
After the install I modified the nagios.cfg file with the new broker module "broker_module=/usr/lib64/mod_gearman/mod_gearman.o config=/etc/mod_gearman/mod_gearman_neb.conf
"
Nagios fails to start. If I comment out the new broker line nagios will start.
The Nagios.cfg log file shows
[1421418856] Nagios 4.0.8 starting... (PID=32318)
[1421418856] Local time is Fri Jan 16 16:34:16 IST 2015
[1421418856] LOG VERSION: 2.0
[1421418856] qh: Socket '/usr/local/nagios/var/rw/nagios.qh' successfully initialized
[1421418856] qh: core query handler registered
[1421418856] nerd: Channel hostchecks registered successfully
[1421418856] nerd: Channel servicechecks registered successfully
[1421418856] nerd: Channel opathchecks registered successfully
[1421418856] nerd: Fully initialized and ready to rock!
[1421418856] wproc: Successfully registered manager as @wproc with query handler
[1421418856] wproc: Registry request: name=Core Worker 32323;pid=32323
[1421418856] wproc: Registry request: name=Core Worker 32322;pid=32322
[1421418856] wproc: Registry request: name=Core Worker 32321;pid=32321
[1421418856] wproc: Registry request: name=Core Worker 32320;pid=32320
[1421418856] mod_gearman: ERROR - please specify at least one server
[1421418856] Error: Function nebmodule_init() in module '/usr/lib64/mod_gearman/mod_gearman.o' returned an error. Module will be unloaded.
[1421418856] Event broker module '/usr/lib64/mod_gearman/mod_gearman.o' deinitialized successfully.
[1421418856] Error: Failed to load module '/usr/lib64/mod_gearman/mod_gearman.o'.
[1421418856] ndomod: NDOMOD 2.0.0 (02-28-2014) Copyright (c) 2009 Nagios Core Development Team and Community Contributors
[1421418856] ndomod: Successfully connected to data sink. 0 queued items to flush.
I am using the VMWare image from Nagios XI R2.0. Its running CentOS version 6.6, Nagios XI has been updated three times using the upgrade scripts
I have installed the mod_gearman plug-in using the "Integrating Mod-Gearman with Nagios XI" pdf
using http://assets.nagios.com/downloads/mod_ ... x86_64.rpm
I will attach both mod_gearman_neb.conf and mod_gearmand_worker.conf along with the nagios.cfg file