Page 1 of 2

Nagios XI installatinon fails on Subcomponents

Posted: Mon Oct 14, 2024 9:01 am
by dawaggen
Hi!

I recently started my migration from CentOS to Ubuntu.

Version 2024R1.0.1

Ubuntu 22.04 is installed due to the version i was running on CentOS does not support the latest ubuntu version so i have to upgrade it afterwards.

This is a clean install.

This is the end of the install.log

# Failed test 'use Nagios::Monitoring::Plugin::Functions;'

Files=16, Tests=33, 1 wallclock secs ( 0.04 usr 0.01 sys + 0.68 cusr 0.08 csys = 0.81 CPU)
Result: FAIL
Failed 16/16 test programs. 32/33 subtests failed.
make: *** [Makefile:861: test_dynamic] Error 255
ERROR: Subcomponent 'extraplugins' installation failed - exiting.
Subcomponents installation failed - exiting

Failing every test on the sumconponents.

I am doing a local install with ./fullinstall

I´ve tried running the ./A-subcomponents separately but fails at the same place.

I´ve also tried running the fullinstallatino again but no success.

The installation is done from /tmp. I´ve given root full access to all the folders.

Install.log attached.

Regards
Rasmus

Re: Nagios XI installatinon fails on Subcomponents

Posted: Mon Oct 14, 2024 9:39 am
by jmichaelson
I would recommend downloading the latest version of Nagios XI (2024R1.2.2) and installing that version.

Re: Nagios XI installatinon fails on Subcomponents

Posted: Mon Oct 14, 2024 10:08 am
by dawaggen
Hi!

Doesnt it have to be the exact same version when im doing a migration?

Regards
Rasmus

Re: Nagios XI installatinon fails on Subcomponents

Posted: Mon Oct 14, 2024 10:37 am
by lgute
Hi @dawaggen,

Yes, both servers need to have the same version of XI.

Assuming you have CentOS 7/8, you can upgrade to 2024R1.1.5 and that may take care of your issue.

Nagios Software Supported OS Versions

Re: Nagios XI installatinon fails on Subcomponents

Posted: Mon Oct 14, 2024 10:47 am
by sgardil
Hey @dawaggen

Is it the installation mainly that you are having issues with on Ubunutu 22? If so can you check your system to make sure that it is fully updated/upgraded and try another install? I was able to run an installation with no issues for that version so it may just be a loss of connection during install/needing an updated system.

Re: Nagios XI installatinon fails on Subcomponents

Posted: Mon Oct 14, 2024 12:44 pm
by DoubleDoubleA
Perhaps try

Code: Select all

rpm --import https://oss.oracle.com/ol6/RPM-GPG-KEY-oracle

Re: Nagios XI installatinon fails on Subcomponents

Posted: Mon Oct 14, 2024 2:35 pm
by dawaggen
Thanks! That worked, i will try to install the new version on the ubuntu server now.

Re: Nagios XI installatinon fails on Subcomponents

Posted: Mon Oct 14, 2024 2:46 pm
by dawaggen
When trying to do a ./fullinstall now it says all the mysql passwords are wrong?

Should i reinstall mysql or do a full reinstall of the OS?

Regards
Rasmus

Re: Nagios XI installatinon fails on Subcomponents

Posted: Tue Oct 15, 2024 9:57 am
by jsimon
The simplest option might be reinstalling the OS or mysql. You could also determine what the current mysql passwords are and run the fullinstall script without the -n noninteractive flag, and provide the current passwords during the install process.

Re: Nagios XI installatinon fails on Subcomponents

Posted: Tue Oct 15, 2024 12:04 pm
by dawaggen
Hi, okay i will try to remove mysql and see if it works.

Weird because i know what the password was when i ran the fullinstall before that.