Error after upgrading to 5.7.2

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
dbcummings
Posts: 130
Joined: Thu Dec 13, 2018 8:37 am

Error after upgrading to 5.7.2

Post by dbcummings »

Hello,

I installed the 5.7.2 upgrade after getting a fix for the offline upgrade script. However, I am now getting this error prevent Nagios from starting.

[1598282619] wproc: Registry request: name=Core Worker 2973;pid=2973
[1598282619] wproc: Registry request: name=Core Worker 2968;pid=2968
[1598282619] wproc: Registry request: name=Core Worker 2969;pid=2969
[1598282619] wproc: Registry request: name=Core Worker 2972;pid=2972
[1598282619] mod_gearman: initialized version 3.0.7 (libgearman 0.33)
[1598282619] Event broker module '/usr/lib64/mod_gearman/mod_gearman_nagios4.o' initialized successfully.
[1598282619] Error: Could not load module '/usr/local/nagios/bin/ndomod.o' -> /usr/local/nagios/bin/ndomod.o: cannot open shared object file: No such file or directory
[1598282619] Error: Failed to load module '/usr/local/nagios/bin/ndomod.o'.
[1598282619] Error: Module loading failed. Aborting.
[1598282619] Event broker module '/usr/lib64/mod_gearman/mod_gearman_nagios4.o' deinitialized successfully.
[1598282770] Nagios 4.4.6 starting... (PID=4404)
[1598282770] Local time is Mon Aug 24 11:26:10 EDT 2020
[1598282770] LOG VERSION: 2.0
[1598282770] qh: Socket '/usr/local/nagios/var/rw/nagios.qh' successfully initialized
[1598282770] qh: core query handler registered
[1598282770] qh: echo service query handler registered
[1598282770] qh: help for the query handler registered
[1598282770] wproc: Successfully registered manager as @wproc with query handler
[1598282770] wproc: Registry request: name=Core Worker 4405;pid=4405
[1598282770] wproc: Registry request: name=Core Worker 4409;pid=4409
[1598282770] wproc: Registry request: name=Core Worker 4406;pid=4406
[1598282770] wproc: Registry request: name=Core Worker 4410;pid=4410
[1598282770] wproc: Registry request: name=Core Worker 4407;pid=4407
[1598282770] wproc: Registry request: name=Core Worker 4408;pid=4408
[1598282770] mod_gearman: initialized version 3.0.7 (libgearman 0.33)
[1598282770] Event broker module '/usr/lib64/mod_gearman/mod_gearman_nagios4.o' initialized successfully.
[1598282770] Error: Could not load module '/usr/local/nagios/bin/ndomod.o' -> /usr/local/nagios/bin/ndomod.o: cannot open shared object file: No such file or directory
[1598282770] Error: Failed to load module '/usr/local/nagios/bin/ndomod.o'.
[1598282770] Error: Module loading failed. Aborting.
[1598282770] Event broker module '/usr/lib64/mod_gearman/mod_gearman_nagios4.o' deinitialized successfully.
Last edited by dbcummings on Mon Aug 24, 2020 10:58 am, edited 1 time in total.
dbcummings
Posts: 130
Joined: Thu Dec 13, 2018 8:37 am

Re: Error after upgrading to 5.7.2

Post by dbcummings »

Ok. I made this change and Nagios started.

nagios.cfg

#broker_module=/usr/local/nagios/bin/ndomod.o config_file=/usr/local/nagios/etc/ndomod.cfg^M
broker_module=/usr/local/nagios/bin/ndo.so /usr/local/nagios/etc/ndo.cfg

any other changes I should make?
can we get an updated upgrade script that does this with a manual update?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Error after upgrading to 5.7.2

Post by scottwilkerson »

dbcummings wrote:Ok. I made this change and Nagios started.

nagios.cfg

#broker_module=/usr/local/nagios/bin/ndomod.o config_file=/usr/local/nagios/etc/ndomod.cfg^M
broker_module=/usr/local/nagios/bin/ndo.so /usr/local/nagios/etc/ndo.cfg

any other changes I should make?
can we get an updated upgrade script that does this with a manual update?
It is odd that yours didn't change, this was supposed to happen in the upgrade script
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked