Seems ndomod.o is causing the problem
Code: Select all
[1456806210] Event broker module '/usr/local/nagios/bin/ndomod.o' initialized successfully.
[1456806210] Error: Module loading failed. Aborting.
Code: Select all
[1456806210] Event broker module '/usr/local/nagios/bin/ndomod.o' initialized successfully.
[1456806210] Error: Module loading failed. Aborting.
Code: Select all
[1456807053.953708] [064.1] [pid=3532] Making callbacks (type 2)...
[1456807053.953715] [064.2] [pid=3532] Callback #1 (type 2) return code = 0
[1456807053.953721] [064.1] [pid=3532] Making callbacks (type 2)...
[1456807053.953727] [064.2] [pid=3532] Callback #1 (type 2) return code = 0
[1456807053.953733] [064.1] [pid=3532] Making callbacks (type 2)...
[1456807053.953740] [064.2] [pid=3532] Callback #1 (type 2) return code = 0
[1456807053.953746] [064.1] [pid=3532] Making callbacks (type 2)...
[1456807053.953752] [064.2] [pid=3532] Callback #1 (type 2) return code = 0
[1456807053.953759] [064.1] [pid=3532] Making callbacks (type 2)...
[1456807053.953766] [064.2] [pid=3532] Callback #1 (type 2) return code = 0
[1456807053.953772] [064.0] [pid=3532] Module '/usr/local/nagios/bin/ndomod.o' loaded with return code of '0'
[1456807053.953775] [064.0] [pid=3532] nebmodule_deinit() found
[1456807053.953781] [064.1] [pid=3532] Making callbacks (type 2)...
[1456807053.953788] [064.2] [pid=3532] Callback #1 (type 2) return code = 0
Code: Select all
cd /tmp
yum remove libgearman-devel libgearman gearmand mod_gearman
mkdir gearman_install
cd gearman_install/
wget http://mod-gearman.org/download/v2.1.1/rhel6/x86_64/gearmand-0.33-2.rhel6.x86_64.rpm
wget http://mod-gearman.org/download/v2.1.1/rhel6/x86_64/gearmand-devel-0.33-2.rhel6.x86_64.rpm
wget http://mod-gearman.org/download/v2.1.1/rhel6/x86_64/gearmand-server-0.33-2.rhel6.x86_64.rpm
wget http://mod-gearman.org/download/v2.1.1/rhel6/x86_64/mod_gearman2-2.1.1-1.rhel6.x86_64.rpm
yum --nogpgcheck localinstall *
sed -i 's/\(^broker_module=.*mod_gearman.*\)/#\1/' /usr/local/nagios/etc/nagios.cfg
echo "broker_module=/usr/lib64/mod_gearman2/mod_gearman2.o config=/etc/mod_gearman/mod_gearman_neb.conf eventhandler=no" >> /usr/local/nagios/etc/nagios.cfg
service nagios stop
service mod_gearman_worker stop
service gearmand stop
service gearmand start
service mod_gearman_worker start
service nagios start
Can you provide us with a URL link to these instructions? Thank you!Problem was due to instructions to update gearmand to fix the resource leak problem.
Here you golmiltchev wrote:Can you provide us with a URL link to these instructions? Thank you!Problem was due to instructions to update gearmand to fix the resource leak problem.
Does the script take care of the user credential that the mod gearman worker is running as?Box293 wrote:FYI all of this has been incorporated into an automated script and is part of our official documentation:
https://support.nagios.com/kb/article.php?id=225
It does now!Does the script take care of the user credential that the mod gearman worker is running as?
It supposed to be nagios, mine ended up being naemon.