Page 1 of 1

NagiosXI Installation error

Posted: Fri Jan 31, 2025 5:52 am
by Savan
Hello All,

Im new here and new to this system.

Im trying to install NagiosXI on a VM with Ubuntu 24.

Can anyone help?

i did the installation with sudo , server is updated. any ideia?

i am trying to install it manually , and i got this error:

INSTALLATION ERROR!
===================
Installation step failed - exiting.
Check for error messages in the install log (install.log).

If you require assistance in resolving the issue, please include install.log
in your communications with Nagios XI technical support.

The script that failed was: './11-subcomponents'
+ exit 1


Log says:

Nagios XI Installation Log
==========================
DATE: Wed Jan 29 11:00:28 AM UTC 2025

DISTRO INFO:
Ubuntu
24.04
x86_64

THIS IS A NEW INSTALL!

INSTALLING:
full=2024R1.3.3
major=2024R1
minor=3.3
releasedate=2024-01-22
release=60303

Configuring Repos...
Repos configured OK
This script needs to be run as root/superuser.
Nagios XI Installation Log
==========================
DATE: Wed Jan 29 11:09:47 AM UTC 2025

DISTRO INFO:
Ubuntu
24.04
x86_64

THIS IS A NEW INSTALL!

INSTALLING:
full=2024R1.3.3
major=2024R1
minor=3.3
releasedate=2024-01-22
release=60303

Repos already configured - exiting.
Installing prerequisites...
Checking conflicting packages
dpkg-query: package 'nagios' is not installed and no information is available
dpkg-query: package 'nagios-nrpe' is not installed and no information is available
dpkg-query: package 'nagios-nsca' is not installed and no information is available
dpkg-query: package 'ndoutils' is not installed and no information is available
dpkg-query: package 'ndoutils-mysql' is not installed and no information is available
dpkg-query: package 'nrpe' is not installed and no information is available
dpkg-query: package 'nsca' is not installed and no information is available



Thank you all!

Re: NagiosXI Installation error

Posted: Fri Jan 31, 2025 1:08 pm
by lgute
Hi @Savan,

Thanks for reaching out. We could use a little more information, in order to help you.

How big is the downloaded file?

What command did you use to run the manual installation?

Could you please attach the complete install.log file? There should be more information about the failure towards the bottom.

Re: NagiosXI Installation error

Posted: Sat Feb 01, 2025 3:57 pm
by Savan
Hello , thank you for the reply.

i started with
sudo wget --no-check-certificate https://repo.nagios.com/GPG-KEY-NAGIOS-V3
rpm --import GPG-KEY-NAGIOS-V3

then :
cd /tmp
sudo wget --no-check-certificate https://assets.nagios.com/downloads/nag ... est.tar.gz
tar xzf xi-latest.tar.gz
cd nagiosxi
sudo ./fullinstall

i have attached here the full log.

Re: NagiosXI Installation error

Posted: Mon Feb 03, 2025 11:21 am
by jsimon
Hi @Savan,

I'm wondering if you're trying an offline install based on the missing packages you're seeing and the inclusion of the GPG key. Here is a link to our offline install instructions. The offline tarballs we provide should contain the dependent RPMs, so if an offline install is the goal here you'll want to use the offline tarball. Please let us know if this isn't the issue you're seeing.

Re: NagiosXI Installation error

Posted: Wed Feb 05, 2025 2:22 am
by Savan
Dear @jsimon

thank you for the reply, I have installed all the libraries and components one by one. and then did the installation.

Best Regards,
Savan

Re: NagiosXI Installation error

Posted: Wed Feb 05, 2025 5:04 pm
by lgute
Hi @Savan,

Were you able to get XI installed?

Re: NagiosXI Installation error

Posted: Fri Feb 07, 2025 10:23 am
by TheCooDave
Just went through this. On the newest Ubuntu image, with the newest NagiosXI I would get failure. It would fail on postfix. I would use a "sudo apt purge postfix" removing postfix after failure, re-install it would work.

Needed to install an older version (2024R1.1.3, our current server can't go higher) on Ubuntu (we needed to upgrade our server), tried on the newest version of Ubuntu and POSTFIX would fail (again) and after that a "chromium" failure due to dependencies, tried to manually install the dependencies, no luck and could not get it to run. Needed to go to Ubuntu 20.04.6 (after trying 22.04.5 and complete failure) and it would install after the postfix fail. updated, then backed up, made a new Ubuntu 24.04.1 LTS vm, installed the latest NagiosXI, restored and that is how I got it to the latest NagiosXI on the latest server.

Still problems with Vmware hosts but, opened a ticket on that one...

Re: NagiosXI Installation error

Posted: Mon Feb 10, 2025 5:16 am
by Savan
lgute wrote: Wed Feb 05, 2025 5:04 pm Hi @Savan,

Were you able to get XI installed?

Hello, Yes, I was able to install it. I had to install all the libraries and dependencies one by one before the full install.