Tremendous problems installing Nagios XI on RHEL 7.5 Server

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
systempuppet
Posts: 13
Joined: Tue May 29, 2018 12:07 pm

Re: Tremendous problems installing Nagios XI on RHEL 7.5 Ser

Post by systempuppet »

May be subscription issue, escalating internally.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Tremendous problems installing Nagios XI on RHEL 7.5 Ser

Post by scottwilkerson »

I need to mention that for some reason your install got way past where it should have already failed becaise the prerequisites were not able to be installed.

Once you get it sorted out, you are going to have to delete the nagiosxi installation folder and start over as some things have not installed correctly
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
systempuppet
Posts: 13
Joined: Tue May 29, 2018 12:07 pm

Re: Tremendous problems installing Nagios XI on RHEL 7.5 Ser

Post by systempuppet »

I nuked the entire folder, and on a clean reinstall it fails here.

Error: Package: nagiosxi-deps-el7-5.4.13-1.noarch (/nagiosxi-deps-el7-5.4.13-1.noarch)
Requires: libmcrypt-devel
Error: Package: nagiosxi-deps-el7-5.4.13-1.noarch (/nagiosxi-deps-el7-5.4.13-1.noarch)
Requires: freetds-devel
Error: Package: nagiosxi-deps-el7-5.4.13-1.noarch (/nagiosxi-deps-el7-5.4.13-1.noarch)
Requires: python-pip
**********************************************************************
Dependency resolving failed due to missing dependencies.
Some repositories on your system are disabled, but yum can enable them
and search for missing dependencies. This will require downloading
metadata for disabled repositories and may take some time and traffic.
**********************************************************************

https://cdn.redhat.com/content/dist/rhe ... repomd.xml: [Errno 14] HTTPS Error 403 - Forbidden
Trying other mirror.
To address this issue please refer to the below knowledge base article

https://access.redhat.com/solutions/69319

If above article doesn't help to resolve this issue please open a ticket with Red Hat Support.

--> Running transaction check
---> Package nagiosxi-deps-el7.noarch 0:5.4.13-1 will be installed
--> Processing Dependency: libmcrypt-devel for package: nagiosxi-deps-el7-5.4.13-1.noarch
--> Processing Dependency: python-pip for package: nagiosxi-deps-el7-5.4.13-1.noarch
--> Processing Dependency: freetds-devel for package: nagiosxi-deps-el7-5.4.13-1.noarch
--> Finished Dependency Resolution
Error: Package: nagiosxi-deps-el7-5.4.13-1.noarch (/nagiosxi-deps-el7-5.4.13-1.noarch)
Requires: libmcrypt-devel
Error: Package: nagiosxi-deps-el7-5.4.13-1.noarch (/nagiosxi-deps-el7-5.4.13-1.noarch)
Requires: freetds-devel
Error: Package: nagiosxi-deps-el7-5.4.13-1.noarch (/nagiosxi-deps-el7-5.4.13-1.noarch)
Requires: python-pip
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Tremendous problems installing Nagios XI on RHEL 7.5 Ser

Post by scottwilkerson »

systempuppet wrote:Error: Package: nagiosxi-deps-el7-5.4.13-1.noarch (/nagiosxi-deps-el7-5.4.13-1.noarch)
Requires: libmcrypt-devel
Error: Package: nagiosxi-deps-el7-5.4.13-1.noarch (/nagiosxi-deps-el7-5.4.13-1.noarch)
Requires: freetds-devel
Error: Package: nagiosxi-deps-el7-5.4.13-1.noarch (/nagiosxi-deps-el7-5.4.13-1.noarch)
Requires: python-pip
These are part of the epel repository. Can you edit /etc/yum.repos.d/epel.repo and set

Code: Select all

enabled=1
under this section

Code: Select all

[epel]
then try the ./fullinstall again

I have no idea why this is getting forced disabled
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
systempuppet
Posts: 13
Joined: Tue May 29, 2018 12:07 pm

Re: Tremendous problems installing Nagios XI on RHEL 7.5 Ser

Post by systempuppet »

109 Packages to install, and no errors so far.
systempuppet
Posts: 13
Joined: Tue May 29, 2018 12:07 pm

Re: Tremendous problems installing Nagios XI on RHEL 7.5 Ser

Post by systempuppet »

===================
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: './E-importnagiosql'

From the Install.log

Found config files to import - continuing...
URL: http://localhost/nagiosxi/includes/components/ccm/
CMDLINE
/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies http://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'submi$
Resolving localhost (localhost)... ::1
Connecting to localhost (localhost)|::1|:80... failed: Address family not supported by protocol.
NAGIOSQL LOGIN FAILED!
systempuppet
Posts: 13
Joined: Tue May 29, 2018 12:07 pm

Re: Tremendous problems installing Nagios XI on RHEL 7.5 Ser

Post by systempuppet »

I can actually get to the http login/setup page, but is this a failed install?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Tremendous problems installing Nagios XI on RHEL 7.5 Ser

Post by scottwilkerson »

systempuppet wrote:I can actually get to the http login/setup page, but is this a failed install?
the install isn't complete but almost.

you need to add the following to /etc/hosts

Code: Select all

127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
then run ./fullinstall again
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
systempuppet
Posts: 13
Joined: Tue May 29, 2018 12:07 pm

Re: Tremendous problems installing Nagios XI on RHEL 7.5 Ser

Post by systempuppet »

Success.

Is it normally this painful on RHEL?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Tremendous problems installing Nagios XI on RHEL 7.5 Ser

Post by scottwilkerson »

No but there were clearly some things that were not defaults on this install..

It is not normal to not have localhost listed in /etc/hosts

Glad it is resolved! Locking thread.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked