Page 1 of 1

Getting error when installing nagios on CentOS

Posted: Sat Sep 08, 2018 3:55 am
by gamecheck80
I am trying to run the fullinstall and getting the below errors. How do i download all the dependencies at one go.

Code: Select all

    Error: Package: rrdtool-1.4.9-1.el7.x86_64 (nagiosxi-deps)
           Requires: dejavu-lgc-sans-mono-fonts
    Error: Package: dejavu-lgc-sans-fonts-2.33-1.el6.noarch (installed)
           Requires: dejavu-fonts-common = 2.33-1.el6
           Removing: dejavu-fonts-common-2.33-1.el6.noarch (installed)
               dejavu-fonts-common = 2.33-1.el6
           Updated By: dejavu-fonts-common-2.33-6.el7.noarch (RHEL7_u4)
               dejavu-fonts-common = 2.33-6.el7
    Error: Package: nagiosxi-deps-el7-5.5.3-1.noarch (/nagiosxi-deps-el7-5.5.3-1.noarch)
           Requires: php-snmp
    Error: Package: nagiosxi-deps-el7-5.5.3-1.noarch (/nagiosxi-deps-el7-5.5.3-1.noarch)
           Requires: net-snmp-perl
    Error: Package: nagiosxi-deps-el7-5.5.3-1.noarch (/nagiosxi-deps-el7-5.5.3-1.noarch)
           Requires: php-mbstring
    Error: Package: nagiosxi-deps-el7-5.5.3-1.noarch (/nagiosxi-deps-el7-5.5.3-1.noarch)
           Requires: php-devel

Re: Getting error when installing nagios on CentOS

Posted: Mon Sep 10, 2018 11:22 am
by jforcier
Are you subscribed to the RHEL optional channel?

Run this command and verify that optional is enabled.

Code: Select all

yum repolist all
If it is disabled use these commands to enable them.

List the repos(using Subscription-Manager):

Code: Select all

subscription-manager repos --list
To enable a specific repository:

Code: Select all

subscription-manager repos --enable=rhel-7-server-optional-rpms

Re: Getting error when installing nagios on CentOS

Posted: Mon Sep 10, 2018 11:57 am
by lmiltchev
@gamecheck80, can you post the entire install.log?