Install Error Nagios XI
Install Error Nagios XI
Experiencing an install error which looks like its related to mariadb. OS is CentOS 7.6.1810.
Install log is attached. Please assist.
Install log is attached. Please assist.
You do not have the required permissions to view the files attached to this post.
Re: Install Error Nagios XI
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).
https://assets.nagios.com/downloads/nag ... -Linux.pdfImportant: 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Install Error Nagios XI
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
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:
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 -vBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Install Error Nagios XI
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.
Re: Install Error Nagios XI
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: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.
Code: Select all
yum clean all
yum update -yBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Install Error Nagios XI
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.
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
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?
Can you disable that repository and try again?
Re: Install Error Nagios XI
That worked. Thank you!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?
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Install Error Nagios XI
Hi @HIRT_Lab,
Excellent! I'll go ahead and close this post, but feel free to open another if you have an new questions.That worked. Thank you!
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!
Be sure to check out our Knowledgebase for helpful articles and solutions!