Nagios error, installation in CENTOS 7

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
nimdahos
Posts: 1
Joined: Mon Jun 05, 2017 7:52 pm

Nagios error, installation in CENTOS 7

Post by nimdahos »

Hello friends, I installed CentOS 7 (1611) to manage network in a school network in Chile; and I replaced MariaDB by MySQL.
Well, all ok, except when I try intall Nagios XI, I get the following error message that I couldn't resolve... :(


[root@servidor-41502 sysadm]# curl https://assets.nagios.com/downloads/nagiosxi/install.sh | sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 561 100 561 0 0 233 0 0:00:02 0:00:02 --:--:-- 233
sh: línea 1: #!/bin/sh: No existe el fichero o el directorio
check if /tmp/nagiosxi exists
Downloading latest Nagios XI release
--2017-06-05 20:31:05-- https://assets.nagios.com/downloads/nag ... est.tar.gz
Resolviendo assets.nagios.com (assets.nagios.com)... 72.14.181.71, 2600:3c00::f03c:91ff:fedf:b821
Conectando con assets.nagios.com (assets.nagios.com)[72.14.181.71]:443... conectado.
Petición HTTP enviada, esperando respuesta... 200 OK
Longitud: 54771213 (52M) [application/x-gzip]
Grabando a: “/tmp/xi-latest.tar.gz”

100%[=====================================================================================>] 54.771.213 1,25MB/s en 45s

2017-06-05 20:31:51 (1,16 MB/s) - “/tmp/xi-latest.tar.gz” guardado [54771213/54771213]

========================
Nagios XI Full Installer
========================

This script will do a complete install of Nagios XI by executing all necessary sub-scripts.

IMPORTANT: This script should only be used on a 'clean' install of CentOS or RedHat. Do NOT use this on a system that
has been tasked with other purposes or has an existing install of Nagios Core. To create such a clean install you should
have selected ONLY the 'Base' package in the OS installer.
Proceeding with installation...
Checking MySQL credentials...
Enter the MySQL root password to continue...
Enter password:
Password validated.
Running './0-repos'...
Configuring Repos...
centos-release-7-3.1611.el7.centos.x86_64
epel-release RPM installed OK
Repo configured OK
RESULT=0
Running './1-prereqs'...
Installing prerequisites...
----------------------------------------

It looks like MySQL and MariaDB are available on your system. Please pick one:
1 - MariaDB (Default)
2 - MySQL Community

----------------------------------------
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'




What I can do? Thanks friends,
NinKY
Posts: 2
Joined: Wed May 24, 2017 9:29 am

Re: Nagios error, installation in CENTOS 7

Post by NinKY »

It seems mariadb is a requirement for CENTOS 7 install. but you could wait for a support tech to respond while reading this other forum.


You might find some info in another forum that is related to this issue.

https://support.nagios.com/forum/viewto ... 16&t=36194
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Nagios error, installation in CENTOS 7

Post by avandemore »

It's supposed to ask you to chose 1 or 2 at that screen, did you try inputting one of those values?
Previous Nagios employee
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Nagios error, installation in CENTOS 7

Post by tmcdonald »

Just checking in since we have not heard from you in a while. Did @avandemore's post clear things up or has the issue otherwise been resolved?
Former Nagios employee
Locked