I'm trying to install a fresh NagiosXi5 on CentOS 7.
As I am used to working with MySQL I opted to install that instead of MariaDB before downloading NagiosXi.
When i try to install Xi it errs out on ./1-prereqs and bugs me about MariaDB.
OK, maybe it's time to move on to MariaDB.. Let's try it..
Nocando!
I type
Nothing should need to be installed prior to doing the ./fullinstall for Nagios XI. MariaDB is basically a renamed fork of MySQL aiming for drop-in replacement. Our install script expects to need to handle this, so it's entirely possible that we don't properly check for its existence. I would recommend uninstalling MariaDB and going through the fullinstall, otherwise I can see about commenting out part of the install script.
Error: Package: nagiosxi-deps-el7-5.2.3-1.noarch (/nagiosxi-deps-el7-5.2.3-1.noarch)
Requires: mariadb-devel
Available: 1:mariadb-devel-5.5.44-2.el7.centos.i686 (base)
mariadb-devel = 1:5.5.44-2.el7.centos
Error: Package: nagiosxi-deps-el7-5.2.3-1.noarch (/nagiosxi-deps-el7-5.2.3-1.noarch)
Requires: mariadb
Available: 1:mariadb-5.5.44-2.el7.centos.x86_64 (base)
mariadb = 1:5.5.44-2.el7.centos
Error: Package: nagiosxi-deps-el7-5.2.3-1.noarch (/nagiosxi-deps-el7-5.2.3-1.noarch)
Requires: mariadb-server
Available: 1:mariadb-server-5.5.44-2.el7.centos.x86_64 (base)
mariadb-server = 1:5.5.44-2.el7.centos
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
RESULT=1
===================
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: './1-prereqs'
Assuming that the script expects MariaDB to be installed..
The script is expecting a clean install. It doesn't want any of the things installed ahead of time. Installing MySQL beforehand could have grabbed packages that don't play nicely with our software.
How do I fix it? I removed every instance of mysql.. but no go..
I thought I'd switch to older Nagios 2014 (stick with what you know) but whaddayaknow!! Same errors..!
I'd like to point out that yes, for CentOS 7 our requirement package does require mariadb because that is what comes with CentOs 7 in their own repos. If you start with a clean CentOS 7 box with no mysql linked repos you shouldn't have an issue. You may need to uninstall the mysql packages you had installed and disable the repo before trying to run the fullinstall script.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.