Page 2 of 2

Re: Tremendous problems installing Nagios XI on RHEL 7.5 Ser

Posted: Wed May 30, 2018 9:17 am
by systempuppet
May be subscription issue, escalating internally.

Re: Tremendous problems installing Nagios XI on RHEL 7.5 Ser

Posted: Wed May 30, 2018 10:55 am
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

Re: Tremendous problems installing Nagios XI on RHEL 7.5 Ser

Posted: Wed May 30, 2018 12:22 pm
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

Re: Tremendous problems installing Nagios XI on RHEL 7.5 Ser

Posted: Wed May 30, 2018 12:43 pm
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

Re: Tremendous problems installing Nagios XI on RHEL 7.5 Ser

Posted: Wed May 30, 2018 1:10 pm
by systempuppet
109 Packages to install, and no errors so far.

Re: Tremendous problems installing Nagios XI on RHEL 7.5 Ser

Posted: Wed May 30, 2018 1:20 pm
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!

Re: Tremendous problems installing Nagios XI on RHEL 7.5 Ser

Posted: Wed May 30, 2018 1:30 pm
by systempuppet
I can actually get to the http login/setup page, but is this a failed install?

Re: Tremendous problems installing Nagios XI on RHEL 7.5 Ser

Posted: Wed May 30, 2018 2:09 pm
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

Re: Tremendous problems installing Nagios XI on RHEL 7.5 Ser

Posted: Wed May 30, 2018 2:44 pm
by systempuppet
Success.

Is it normally this painful on RHEL?

Re: Tremendous problems installing Nagios XI on RHEL 7.5 Ser

Posted: Wed May 30, 2018 2:57 pm
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.