Monitoring Engine is not starting after upgrade to 5.7.2
Posted: Thu Sep 03, 2020 9:49 am
I upgraded from NagiosXI 5.6.14 to 5.7.2. The upgrade process appeared to go smoothly, but now the monitoring engine will not start. When attempting to start the monitoring engine from the GUI, the following message is received in /usr/local/nagios/var/nagios.log:
[1599144162] Nagios 4.4.6 starting... (PID=29212)
[1599144162] Local time is Thu Sep 03 14:42:42 UTC 2020
[1599144162] LOG VERSION: 2.0
[1599144162] qh: Socket '/usr/local/nagios/var/rw/nagios.qh' successfully initialized
[1599144162] qh: core query handler registered
[1599144162] qh: echo service query handler registered
[1599144162] qh: help for the query handler registered
[1599144162] wproc: Successfully registered manager as @wproc with query handler
[1599144162] wproc: Registry request: name=Core Worker 29215;pid=29215
[1599144162] wproc: Registry request: name=Core Worker 29213;pid=29213
[1599144162] wproc: Registry request: name=Core Worker 29216;pid=29216
[1599144162] wproc: Registry request: name=Core Worker 29214;pid=29214
[1599144162] 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
[1599144162] Error: Failed to load module '/usr/local/nagios/bin/ndomod.o'.
[1599144162] Error: Module loading failed. Aborting.
/usr/local/nagios/bin contents:
drwxr-xr-x 2 root root 4096 Sep 3 13:15 .
drwxr-xr-x 8 root root 4096 Sep 27 2018 ..
-rwxrwxr-- 1 nagios nagios 693376 Jul 16 21:39 nagios
-rwxrwxr-- 1 nagios nagios 36960 Jul 16 21:39 nagiostats
-rwxr-xr-x 1 root root 736440 Jul 16 21:40 ndo.so
-rwxr-xr-x 1 root root 1083 Jul 16 21:40 ndo-startup-hash.sh
-rwxr-xr-- 1 nagios nagios 26400 Jul 16 21:40 npcd
-rwxr-xr-- 1 nagios nagios 13024 Jul 16 21:40 npcdmod.o
-rwxr-xr-x 1 root root 195822 Jul 16 21:42 nrpe
-rwxr-xr-x 1 root root 10627 Jul 16 21:42 nrpe-uninstall
-rwxr-xr-x 1 root root 118709 Jul 16 21:42 nsca
When I try to install the ndoutils package, I get the following:
# yum install ndoutils
Loaded plugins: fastestmirror, security
Setting up Install Process
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package ndoutils.x86_64 0:1.5.2-1.el6 will be installed
--> Processing Dependency: nagios >= 3 for package: ndoutils-1.5.2-1.el6.x86_64
--> Running transaction check
---> Package nagios.x86_64 0:4.4.3-3.el6 will be installed
--> Processing Dependency: user(nagios) for package: nagios-4.4.3-3.el6.x86_64
--> Processing Dependency: user(nagios) for package: nagios-4.4.3-3.el6.x86_64
--> Processing Dependency: nagios-common for package: nagios-4.4.3-3.el6.x86_64
--> Processing Dependency: group(nagios) for package: nagios-4.4.3-3.el6.x86_64
--> Processing Dependency: group(nagios) for package: nagios-4.4.3-3.el6.x86_64
--> Running transaction check
---> Package nagios-common.x86_64 0:4.4.3-3.el6 will be installed
--> Processing Conflict: nagiosxi-5.7.2-2.el6.x86_64 conflicts nagios
--> Processing Conflict: nagiosxi-5.7.2-2.el6.x86_64 conflicts ndoutils
--> Processing Conflict: nagiosxi-nagioscore-5.7.2-2.el6.x86_64 conflicts nagios
--> Processing Conflict: nagiosxi-ndoutils-5.7.2-2.el6.x86_64 conflicts ndoutils
--> Finished Dependency Resolution
Error: nagiosxi-nagioscore conflicts with nagios-4.4.3-3.el6.x86_64
Error: nagiosxi-ndoutils conflicts with ndoutils-1.5.2-1.el6.x86_64
Error: nagiosxi conflicts with ndoutils-1.5.2-1.el6.x86_64
Error: nagiosxi conflicts with nagios-4.4.3-3.el6.x86_64
NagiosXI is running on CentOS 6.10
Thank you for your time.
[1599144162] Nagios 4.4.6 starting... (PID=29212)
[1599144162] Local time is Thu Sep 03 14:42:42 UTC 2020
[1599144162] LOG VERSION: 2.0
[1599144162] qh: Socket '/usr/local/nagios/var/rw/nagios.qh' successfully initialized
[1599144162] qh: core query handler registered
[1599144162] qh: echo service query handler registered
[1599144162] qh: help for the query handler registered
[1599144162] wproc: Successfully registered manager as @wproc with query handler
[1599144162] wproc: Registry request: name=Core Worker 29215;pid=29215
[1599144162] wproc: Registry request: name=Core Worker 29213;pid=29213
[1599144162] wproc: Registry request: name=Core Worker 29216;pid=29216
[1599144162] wproc: Registry request: name=Core Worker 29214;pid=29214
[1599144162] 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
[1599144162] Error: Failed to load module '/usr/local/nagios/bin/ndomod.o'.
[1599144162] Error: Module loading failed. Aborting.
/usr/local/nagios/bin contents:
drwxr-xr-x 2 root root 4096 Sep 3 13:15 .
drwxr-xr-x 8 root root 4096 Sep 27 2018 ..
-rwxrwxr-- 1 nagios nagios 693376 Jul 16 21:39 nagios
-rwxrwxr-- 1 nagios nagios 36960 Jul 16 21:39 nagiostats
-rwxr-xr-x 1 root root 736440 Jul 16 21:40 ndo.so
-rwxr-xr-x 1 root root 1083 Jul 16 21:40 ndo-startup-hash.sh
-rwxr-xr-- 1 nagios nagios 26400 Jul 16 21:40 npcd
-rwxr-xr-- 1 nagios nagios 13024 Jul 16 21:40 npcdmod.o
-rwxr-xr-x 1 root root 195822 Jul 16 21:42 nrpe
-rwxr-xr-x 1 root root 10627 Jul 16 21:42 nrpe-uninstall
-rwxr-xr-x 1 root root 118709 Jul 16 21:42 nsca
When I try to install the ndoutils package, I get the following:
# yum install ndoutils
Loaded plugins: fastestmirror, security
Setting up Install Process
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package ndoutils.x86_64 0:1.5.2-1.el6 will be installed
--> Processing Dependency: nagios >= 3 for package: ndoutils-1.5.2-1.el6.x86_64
--> Running transaction check
---> Package nagios.x86_64 0:4.4.3-3.el6 will be installed
--> Processing Dependency: user(nagios) for package: nagios-4.4.3-3.el6.x86_64
--> Processing Dependency: user(nagios) for package: nagios-4.4.3-3.el6.x86_64
--> Processing Dependency: nagios-common for package: nagios-4.4.3-3.el6.x86_64
--> Processing Dependency: group(nagios) for package: nagios-4.4.3-3.el6.x86_64
--> Processing Dependency: group(nagios) for package: nagios-4.4.3-3.el6.x86_64
--> Running transaction check
---> Package nagios-common.x86_64 0:4.4.3-3.el6 will be installed
--> Processing Conflict: nagiosxi-5.7.2-2.el6.x86_64 conflicts nagios
--> Processing Conflict: nagiosxi-5.7.2-2.el6.x86_64 conflicts ndoutils
--> Processing Conflict: nagiosxi-nagioscore-5.7.2-2.el6.x86_64 conflicts nagios
--> Processing Conflict: nagiosxi-ndoutils-5.7.2-2.el6.x86_64 conflicts ndoutils
--> Finished Dependency Resolution
Error: nagiosxi-nagioscore conflicts with nagios-4.4.3-3.el6.x86_64
Error: nagiosxi-ndoutils conflicts with ndoutils-1.5.2-1.el6.x86_64
Error: nagiosxi conflicts with ndoutils-1.5.2-1.el6.x86_64
Error: nagiosxi conflicts with nagios-4.4.3-3.el6.x86_64
NagiosXI is running on CentOS 6.10
Thank you for your time.