Page 1 of 1

Nagios CentOS 8 Install Issue

Posted: Tue Jul 14, 2020 7:40 am
by danniiffxi
Hi Guys

So at first I thought it may be an issue with the PowerTools repo or the Corporate Firewall was blocking me, but after confirming the PowerTools repo was installed and enabled, and the Firewall was bypassed, I am still getting the same exit point on the installer which you can see below. Any idea how to fix this please?

Code: Select all

[root@nagxi01 nagiosxi]# ./fullinstall
Your system $PATH does not include /sbin and /usr/sbin. This is usually the result of installing GNOME rather than creating a clean system.
Adding /sbin and /usr/sbin to $PATH.
========================
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,
RHEL, Ubuntu LTS, Debian, or Oracle. 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.
Do you want to continue? [Y/n] y
Proceeding with installation...
Checking MySQL credentials...
MySQL not yet installed - that's okay.
Running './0-repos'...
Repos already configured - exiting.
RESULT=0
Running './1-prereqs'...
Installing prerequisites...
Error: No matching repo to modify: PowerTools.
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'

Re: Nagios CentOS 8 Install Issue

Posted: Tue Jul 14, 2020 4:08 pm
by lmiltchev
Can you post the entire install.log on the forum?

Are you in an offline environment? Are you using proxy? Local repos?

Run the following commands and show the output:

Code: Select all

uname -a
cat /etc/*release
yum repolist -v

Re: Nagios CentOS 8 Install Issue

Posted: Wed Jul 15, 2020 8:01 am
by danniiffxi
Hi lmiltchev

Close this thread please. We run mostly in an offline environment and our linux engineer had not applied all of the repos as CentOS 8 has some different ones to CentOS 6 which we are moving from.

After a bit of install script hacking and messing with repos, we got the 5.7.2 installed on our CentOS 8 servers.

Many thanks

Re: Nagios CentOS 8 Install Issue

Posted: Wed Jul 15, 2020 8:36 am
by scottwilkerson
danniiffxi wrote:Hi lmiltchev

Close this thread please. We run mostly in an offline environment and our linux engineer had not applied all of the repos as CentOS 8 has some different ones to CentOS 6 which we are moving from.

After a bit of install script hacking and messing with repos, we got the 5.7.2 installed on our CentOS 8 servers.

Many thanks
Ok, Locking thread