Nagios xi installatinon fails on Subcomponents

This support forum board is for support questions relating to Nagios xi, our flagship commercial network monitoring solution.
dawaggen
Posts: 16
Joined: Tue Feb 05, 2019 9:07 am

Nagios xi installatinon fails on Subcomponents

Post 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
You do not have the required permissions to view the files attached to this post.
User avatar
jmichaelson
Posts: 336
Joined: Wed Aug 23, 2023 1:02 pm

Re: Nagios xi installatinon fails on Subcomponents

Post by jmichaelson »

I would recommend downloading the latest version of Nagios xi (2024R1.2.2) and installing that version.
Please let us know if you have any other questions or concerns.

-Jason
dawaggen
Posts: 16
Joined: Tue Feb 05, 2019 9:07 am

Re: Nagios xi installatinon fails on Subcomponents

Post by dawaggen »

Hi!

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

Regards
Rasmus
User avatar
lgute
Posts: 318
Joined: Mon Apr 06, 2020 2:49 pm

Re: Nagios xi installatinon fails on Subcomponents

Post 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
Please let us know if you have any other questions or concerns.

-Laura
sgardil
Posts: 327
Joined: Wed Aug 09, 2023 9:58 am

Re: Nagios xi installatinon fails on Subcomponents

Post 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.
DoubleDoubleA
Posts: 199
Joined: Thu Feb 09, 2017 5:07 pm

Re: Nagios xi installatinon fails on Subcomponents

Post by DoubleDoubleA »

Perhaps try

Code: Select all

rpm --import https://oss.oracle.com/ol6/RPM-GPG-KEY-oracle
dawaggen
Posts: 16
Joined: Tue Feb 05, 2019 9:07 am

Re: Nagios xi installatinon fails on Subcomponents

Post by dawaggen »

Thanks! That worked, i will try to install the new version on the ubuntu server now.
dawaggen
Posts: 16
Joined: Tue Feb 05, 2019 9:07 am

Re: Nagios xi installatinon fails on Subcomponents

Post 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
jsimon
Posts: 318
Joined: Wed Aug 23, 2023 11:27 am

Re: Nagios xi installatinon fails on Subcomponents

Post 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.
dawaggen
Posts: 16
Joined: Tue Feb 05, 2019 9:07 am

Re: Nagios xi installatinon fails on Subcomponents

Post 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.