Installing Nagios XI latest ver on RHEL7

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Installing Nagios XI latest ver on RHEL7

Post by bosecorp »

I am unable to install Nagios latest version on RHEL 7,

I am getting bunch of dependencies errors

Code: Select all

---> Package php-common.x86_64 0:5.4.16-21.el7 will be updated
--> Processing Dependency: php-common(x86-64) = 5.4.16-21.el7 for package: php-mbstring-5.4.16-21.el7.x86_64
---> Package php-common.x86_64 0:5.4.16-23.el7_0.3 will be an update
---> Package php70w.x86_64 0:7.0.0-1.w6 will be installed
--> Processing Dependency: httpd-mmn = 20051115 for package: php70w-7.0.0-1.w6.x86_64
---> Package php70w-common.x86_64 0:7.0.0-1.w6 will be installed
--> Processing Dependency: libgmp.so.3()(64bit) for package: php70w-common-7.0.0-1.w6.x86_64
---> Package php70w-ldap.x86_64 0:7.0.0-1.w6 will be installed
--> Processing Dependency: libsasl2.so.2()(64bit) for package: php70w-ldap-7.0.0-1.w6.x86_64
---> Package php70w-snmp.x86_64 0:7.0.0-1.w6 will be installed
--> Processing Dependency: libnetsnmp.so.20()(64bit) for package: php70w-snmp-7.0.0-1.w6.x86_64
--> Processing Conflict: 1:mariadb100u-config-10.0.22-1.ius.centos7.x86_64 conflicts mariadb-libs < 1:10.0
--> Processing Conflict: php70w-common-7.0.0-1.w6.x86_64 conflicts php-common < 5.5.0
--> Finished Dependency Resolution
Error: php70w-common conflicts with php-common-5.4.16-23.el7_0.3.x86_64
Error: Package: libmcrypt-devel-2.5.8-9.el6.x86_64 (webtatic)
           Requires: libmcrypt = 2.5.8-9.el6
           Available: libmcrypt-2.5.8-9.el6.x86_64 (webtatic)
               libmcrypt = 2.5.8-9.el6
           Installing: libmcrypt-2.5.8-13.el7.x86_64 (nagiosxi-deps)
               libmcrypt = 2.5.8-13.el7
Error: Package: freetds-devel-0.91-2.el6.x86_64 (webtatic)
           Requires: freetds = 0.91-2.el6
           Available: freetds-0.91-2.el6.x86_64 (webtatic)
               freetds = 0.91-2.el6
           Available: freetds-0.91-12.git0a42888.el7.x86_64 (nagiosxi-deps)
               freetds = 0.91-12.git0a42888.el7
           Installing: freetds-0.95.19-1.el7.x86_64 (nagiosxi-deps)
               freetds = 0.95.19-1.el7
Error: Package: php70w-snmp-7.0.0-1.w6.x86_64 (webtatic)
           Requires: libnetsnmp.so.20()(64bit)
Error: Package: php70w-common-7.0.0-1.w6.x86_64 (webtatic)
           Requires: libgmp.so.3()(64bit)
Error: Package: php70w-ldap-7.0.0-1.w6.x86_64 (webtatic)
           Requires: libsasl2.so.2()(64bit)
Error: mariadb100u-config conflicts with 1:mariadb-libs-5.5.41-2.el7_0.x86_64
Error: Package: php-mbstring-5.4.16-21.el7.x86_64 (@/php-mbstring-5.4.16-21.el7.x86_64)
           Requires: php-common(x86-64) = 5.4.16-21.el7
           Removing: php-common-5.4.16-21.el7.x86_64 (@Bose-dev-rhel-x86_64-server-7)
               php-common(x86-64) = 5.4.16-21.el7
           Updated By: php-common-5.4.16-23.el7_0.3.x86_64 (Bose-dev-rhel-x86_64-server-7)
               php-common(x86-64) = 5.4.16-23.el7_0.3
           Available: php-common-5.4.16-23.el7_0.x86_64 (Bose-dev-rhel-x86_64-server-7)
               php-common(x86-64) = 5.4.16-23.el7_0
           Available: php-common-5.4.16-23.el7_0.1.x86_64 (Bose-dev-rhel-x86_64-server-7)
               php-common(x86-64) = 5.4.16-23.el7_0.1
           Available: php54w-common-5.4.45-2.w6.x86_64 (webtatic)
               php-common(x86-64) = 5.4.45-2.w6
           Available: php55w-common-5.5.30-2.w6.x86_64 (webtatic)
               php-common(x86-64) = 5.5.30-2.w6
           Available: php56u-common-5.6.16-1.ius.centos7.x86_64 (ius)
               php-common(x86-64) = 5.6.16-1.ius.centos7
           Available: php56w-common-5.6.14-2.w6.x86_64 (webtatic)
               php-common(x86-64) = 5.6.14-2.w6
           Available: php56w-common-5.6.15-1.w6.x86_64 (webtatic)
               php-common(x86-64) = 5.6.15-1.w6
           Available: php56w-common-5.6.16-1.w6.x86_64 (webtatic)
               php-common(x86-64) = 5.6.16-1.w6
           Installing: php70w-common-7.0.0-1.w6.x86_64 (webtatic)
               php-common(x86-64) = 7.0.0-1.w6
Error: Package: php70w-7.0.0-1.w6.x86_64 (webtatic)
           Requires: httpd-mmn = 20051115
           Installed: httpd-2.4.6-31.el7.x86_64 (@rhel-7-server-rpms)
               httpd-mmn = 20120211
               httpd-mmn = 20120211x8664
               httpd-mmn = 20120211-x86-64
           Available: httpd-2.4.6-17.el7.x86_64 (Bose-dev-rhel-x86_64-server-7)
               httpd-mmn = 20120211-x86-64
               httpd-mmn = 20120211x8664
               httpd-mmn = 20120211
           Available: httpd-2.4.6-18.el7_0.x86_64 (Bose-dev-rhel-x86_64-server-7)
               httpd-mmn = 20120211-x86-64
               httpd-mmn = 20120211x8664
               httpd-mmn = 20120211
           Available: httpd-2.4.6-19.el7_0.x86_64 (Bose-dev-rhel-x86_64-server-7)
               httpd-mmn = 20120211-x86-64
               httpd-mmn = 20120211x8664
               httpd-mmn = 20120211
 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'
Last edited by tmcdonald on Sun Dec 20, 2015 9:24 pm, edited 1 time in total.
Reason: Please use [code][/code] tags around long output
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Installing Nagios XI latest ver on RHEL7

Post by rkennedy »

Is this a fresh install? Can you please post the result of yum repolist?
Former Nagios Employee
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: Installing Nagios XI latest ver on RHEL7

Post by bosecorp »

it's a fresh install.

here you go

# yum repolist
Loaded plugins: product-id, rhnplugin, subscription-manager
This system is receiving updates from RHN Classic or Red Hat Satellite.
repo id repo name status
Bose-dev-rhel-x86_64-server-7 Bose-dev-rhel-x86_64-server-7 6,990
ius/x86_64 IUS Community Packages for Enterprise Linux 7 - x86_64 133
nagios-base Nagios 76
nagiosxi-deps Nagios XI Dependencies 27
remi-safe Safe Remi's RPM repository for Enterprise Linux 7 - x86_64 680
rpmforge RHEL 7Server - RPMforge.net - dag 245
webtatic/x86_64 Webtatic Repository EL6 - x86_64 285
repolist: 8,436
root@nagmonus3:(12-22 08:34): /root
#
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Installing Nagios XI latest ver on RHEL7

Post by lmiltchev »

Can you post the entire install.log?
Be sure to check out our Knowledgebase for helpful articles and solutions!
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Re: Installing Nagios XI latest ver on RHEL7

Post by rajasegar »

bosecorp wrote:it's a fresh install.

here you go

# yum repolist
Loaded plugins: product-id, rhnplugin, subscription-manager
This system is receiving updates from RHN Classic or Red Hat Satellite.
repo id repo name status
Bose-dev-rhel-x86_64-server-7 Bose-dev-rhel-x86_64-server-7 6,990
ius/x86_64 IUS Community Packages for Enterprise Linux 7 - x86_64 133
nagios-base Nagios 76
nagiosxi-deps Nagios XI Dependencies 27
remi-safe Safe Remi's RPM repository for Enterprise Linux 7 - x86_64 680
rpmforge RHEL 7Server - RPMforge.net - dag 245
webtatic/x86_64 Webtatic Repository EL6 - x86_64 285
repolist: 8,436
root@nagmonus3:(12-22 08:34): /root
#

You will need the version 7 of the repos below

Code: Select all

nagios-base                                         Nagios                                                                          151
nagiosxi-deps                                       Nagios XI Dependencies                                                           33
rhel-6-server-optional-debug-rpms                   Red Hat Enterprise Linux 6 Server - Optional (Debug RPMs)                     3,984
rhel-6-server-optional-rpms                         Red Hat Enterprise Linux 6 Server - Optional (RPMs)                           9,288
rhel-6-server-rpms                                  Red Hat Enterprise Linux 6 Server (RPMs)                                     16,455
rhel-6-server-supplementary-debuginfo               Red Hat Enterprise Linux 6 Server - Supplementary (Debug RPMs)                   39
rhel-6-server-supplementary-rpms                    Red Hat Enterprise Linux 6 Server - Supplementary (RPMs)                        576
rpmforge                                            RHEL 6Server - RPMforge.net - dag                             
Have not tried this but try changing the 6 to 7. If does not work, do it from the RedHat site.

Code: Select all

sudo subscription-manager repos --enable=rhel-6-server-optional-rpms
sudo subscription-manager repos --enable=rhel-6-server-optional-debug-rpms
sudo subscription-manager repos --enable=rhel-6-server-supplementary-rpms
sudo subscription-manager repos --enable=rhel-6-server-supplementary-debuginfo
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Installing Nagios XI latest ver on RHEL7

Post by tgriep »

Rajasegar, thanks for the help.
A couple of things that look wrong that have to be addressed.
1. The version 6 of the repos will have to be removed and version 7 will have to be installed.
2. It look like you have installed PHP version 7 which we currently do not support. The highest version we support in 5.6 so that will have to be resolved.

BTW, we did install XI in a fresh version of RHEL 7.2 with the optional channels enabled without any issues.
Be sure to check out our Knowledgebase for helpful articles and solutions!
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: Installing Nagios XI latest ver on RHEL7

Post by bosecorp »

what are we suggesting as a next step?
You do not have the required permissions to view the files attached to this post.
Last edited by bosecorp on Wed Dec 23, 2015 4:36 pm, edited 1 time in total.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Installing Nagios XI latest ver on RHEL7

Post by hsmith »

bosecorp wrote:what are we suggesting as a next step?
tgriep wrote:1. The version 6 of the repos will have to be removed and version 7 will have to be installed.
2. It look like you have installed PHP version 7 which we currently do not support. The highest version we support in 5.6 so that will have to be resolved.
rajasegar wrote:
bosecorp wrote:it's a fresh install.

here you go

# yum repolist
Loaded plugins: product-id, rhnplugin, subscription-manager
This system is receiving updates from RHN Classic or Red Hat Satellite.
repo id repo name status
Bose-dev-rhel-x86_64-server-7 Bose-dev-rhel-x86_64-server-7 6,990
ius/x86_64 IUS Community Packages for Enterprise Linux 7 - x86_64 133
nagios-base Nagios 76
nagiosxi-deps Nagios XI Dependencies 27
remi-safe Safe Remi's RPM repository for Enterprise Linux 7 - x86_64 680
rpmforge RHEL 7Server - RPMforge.net - dag 245
webtatic/x86_64 Webtatic Repository EL6 - x86_64 285
repolist: 8,436
root@nagmonus3:(12-22 08:34): /root
#

You will need the version 7 of the repos below

Code: Select all

nagios-base                                         Nagios                                                                          151
nagiosxi-deps                                       Nagios XI Dependencies                                                           33
rhel-6-server-optional-debug-rpms                   Red Hat Enterprise Linux 6 Server - Optional (Debug RPMs)                     3,984
rhel-6-server-optional-rpms                         Red Hat Enterprise Linux 6 Server - Optional (RPMs)                           9,288
rhel-6-server-rpms                                  Red Hat Enterprise Linux 6 Server (RPMs)                                     16,455
rhel-6-server-supplementary-debuginfo               Red Hat Enterprise Linux 6 Server - Supplementary (Debug RPMs)                   39
rhel-6-server-supplementary-rpms                    Red Hat Enterprise Linux 6 Server - Supplementary (RPMs)                        576
rpmforge                                            RHEL 6Server - RPMforge.net - dag                             
Have not tried this but try changing the 6 to 7. If does not work, do it from the RedHat site.

Code: Select all

sudo subscription-manager repos --enable=rhel-6-server-optional-rpms
sudo subscription-manager repos --enable=rhel-6-server-optional-debug-rpms
sudo subscription-manager repos --enable=rhel-6-server-supplementary-rpms
sudo subscription-manager repos --enable=rhel-6-server-supplementary-debuginfo
Have you done any of this?
Former Nagios Employee.
me.
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: Installing Nagios XI latest ver on RHEL7

Post by bosecorp »

I uploaded the log you asked for in my prev. post

and my version of php is the following

# rpm -qa | grep php
php-common-5.4.16-21.el7.x86_64
php-mbstring-5.4.16-21.el7.x86_64
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Installing Nagios XI latest ver on RHEL7

Post by tgriep »

Try and remove the conflicting package and see if that helps.

Code: Select all

yum remove php70w-common
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked