Install Error Nagios XI

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
HIRT_Lab
Posts: 5
Joined: Mon Aug 12, 2019 5:06 pm

Install Error Nagios XI

Post 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.
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Install Error Nagios XI

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
HIRT_Lab
Posts: 5
Joined: Mon Aug 12, 2019 5:06 pm

Re: Install Error Nagios XI

Post 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.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Install Error Nagios XI

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
HIRT_Lab
Posts: 5
Joined: Mon Aug 12, 2019 5:06 pm

Re: Install Error Nagios XI

Post 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.
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Install Error Nagios XI

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
HIRT_Lab
Posts: 5
Joined: Mon Aug 12, 2019 5:06 pm

Re: Install Error Nagios XI

Post 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.
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Install Error Nagios XI

Post 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?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
HIRT_Lab
Posts: 5
Joined: Mon Aug 12, 2019 5:06 pm

Re: Install Error Nagios XI

Post 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!
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Install Error Nagios XI

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked