Page 1 of 1

Install Error Nagios XI

Posted: Fri Aug 23, 2019 1:35 pm
by HIRT_Lab
Experiencing an install error which looks like its related to mariadb. OS is CentOS 7.6.1810.

Install log is attached. Please assist.

Re: Install Error Nagios XI

Posted: Fri Aug 23, 2019 1:51 pm
by lmiltchev
It seems like you have a mariadb "pre-installed" on this server... I would recommend that you completely remove mariadb and retry installing Nagios XI. You need to install XI on a "clean" system (a bare minimal install with nothing else installed or configured).
Important: Nagios Enterprises highly recommends and will only support installing Nagios XI on a newly installed, "clean" system (a bare minimal install with nothing else installed or configured).

Attempting to install Nagios XI on a pre-existing system with other applications already installed can cause the Nagios XI installation process to fail, critical system components and settings (e.g. database servers) to be modified in a way that negatively affects other applications, and previously installed applications to be automatically upgraded or removed. While installing XI on a system with other applications is possible, it is not recommended due to the possible interactions and complexity of multiple components that are required for Nagios XI to function. If you choose to ignore these warnings, you do so at your own risk.
Other Nagios products (Network Analyzer, Log Server and Fusion) should not co-exist on the same server.
https://assets.nagios.com/downloads/nag ... -Linux.pdf

Re: Install Error Nagios XI

Posted: Fri Aug 23, 2019 2:15 pm
by HIRT_Lab
MariaDB was not installed prior to running the install script. I verified by reverting to the base snapshot and checking for it. It is only installed once the fullinstall.sh script is run.

Re: Install Error Nagios XI

Posted: Fri Aug 23, 2019 2:44 pm
by lmiltchev
Is this server connected to the Internet? Are you using a proxy? Can you run "yum update" command successfully?

Run the following commands, and show the output:

Code: Select all

yum clean all
yum list installed | grep -i 'mariadb\|mysql'
ls -la /var/lib/mysql
yum repolist -v

Re: Install Error Nagios XI

Posted: Mon Aug 26, 2019 2:55 pm
by HIRT_Lab
The server is connected to the internet. There is no proxy. The yum update command is successful. I assume you want those commands run on the CentOS system prior to running the install to check for MariaDB? The attached images are of output reflects the commands run under this scenario.

Re: Install Error Nagios XI

Posted: Mon Aug 26, 2019 3:24 pm
by lmiltchev
MariaDB was not installed prior to running the install script. I verified by reverting to the base snapshot and checking for it. It is only installed once the fullinstall.sh script is run.
However, this is NOT a "minimal" clean install of CentOS... You have some custom repos, including local-mariadb. The version of mariadb that you have in this repo could be (most probably is) newer than the one that we are installing, so the install would fail. Try removing the "local-mariadb" repo (and/or other custom repos if needed), run:

Code: Select all

yum clean all
yum update -y
then try installing Nagios XI again.

Re: Install Error Nagios XI

Posted: Tue Aug 27, 2019 8:39 am
by HIRT_Lab
I was mistaken that this was a clean install of CentOS. Thank you for pointing that out. Removed mariadb and still got the same error. Then removed postgresql and still the same error.

So I reverted to what is supposed to be our clean CentOS base template and ran the NagiosXI install on it. This time I received a different error much earlier in the install process. Logs are attached. Please advise.

Re: Install Error Nagios XI

Posted: Tue Aug 27, 2019 9:32 am
by scottwilkerson
I'm not sure what this "ius" repository is, but it contains unexpected packages and is trying to install non-default packages.

Can you disable that repository and try again?

Re: Install Error Nagios XI

Posted: Tue Aug 27, 2019 2:18 pm
by HIRT_Lab
scottwilkerson wrote:I'm not sure what this "ius" repository is, but it contains unexpected packages and is trying to install non-default packages.

Can you disable that repository and try again?
That worked. Thank you!

Re: Install Error Nagios XI

Posted: Tue Aug 27, 2019 2:52 pm
by benjaminsmith
Hi @HIRT_Lab,
That worked. Thank you!
Excellent! I'll go ahead and close this post, but feel free to open another if you have an new questions.