Announcement

Collapse
No announcement yet.

Nagios install error

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Nagios install error

    Hi,

    I have a server with cloudlinux and directadmin. Now i want to install nagios client on the machine.

    While the install start i get the following errors:

    --> Finished Dependency Resolution
    Error: Package: nagios-plugins-pgsql-1.4.16-5.el6.x86_64 (epel)
    Requires: libpq.so.5()(64bit)
    Error: Package: nagios-3.5.1-1.el6.x86_64 (epel)
    Requires: php
    Error: Package: nagios-3.5.1-1.el6.x86_64 (epel)
    Requires: httpd
    Error: Package: nagios-plugins-mysql-1.4.16-5.el6.x86_64 (epel)
    Requires: libmysqlclient.so.16(libmysqlclient_16)(64bit)
    Error: Package: nagios-plugins-sensors-1.4.16-5.el6.x86_64 (epel)
    Requires: /usr/bin/sensors
    Error: Package: nagios-plugins-disk_smb-1.4.16-5.el6.x86_64 (epel)
    Requires: /usr/bin/smbclient
    Error: Package: nagios-plugins-rpc-1.4.16-5.el6.x86_64 (epel)
    Requires: /usr/sbin/rpcinfo
    Error: Package: nagios-plugins-mysql-1.4.16-5.el6.x86_64 (epel)
    Requires: libmysqlclient.so.16()(64bit)
    Error: Package: nagios-plugins-ntp-perl-1.4.16-5.el6.x86_64 (epel)
    Requires: /usr/sbin/ntpdate
    Error: Package: nagios-plugins-snmp-1.4.16-5.el6.x86_64 (epel)
    Requires: /usr/bin/snmpgetnext
    Error: Package: nagios-plugins-ntp-perl-1.4.16-5.el6.x86_64 (epel)
    Requires: /usr/sbin/ntpq
    Error: Package: nagios-plugins-snmp-1.4.16-5.el6.x86_64 (epel)
    Requires: /usr/bin/snmpget
    You could try using --skip-broken to work around the problem
    You could try running: rpm -Va --nofiles --nodigest

    I installed nagios by:

    rpm -Uvh http://dl.fedoraproject.org/pub/epel...6-8.noarch.rpm
    rpm -Uvh http://rpms.famillecollet.com/enterp...-release-6.rpm
    yum -y install nagios nagios-plugins-all nrpe

    Hope you van help me out!

  • #2
    Install nagios with command

    yum --enablerepo=epel -y install nrpe nagios-plugins

    Comment


    • #3
      yum --enablerepo=epel -y install nrpe nagios-plugins
      Loaded plugins: fastestmirror, rhnplugin
      This system is receiving updates from CLN.
      Loading mirror speeds from cached hostfile
      * cloudlinux-x86_64-server-7: de-proxy.cloudlinux.com
      * epel: mirror.logol.ru
      * rpmforge: mirror.awanti.com
      Resolving Dependencies
      --> Running transaction check
      ---> Package nrpe.x86_64 0:3.2.1-8.el7 will be installed
      --> Processing Dependency: nagios-common for package: nrpe-3.2.1-8.el7.x86_64
      --> Finished Dependency Resolution
      Error: Package: nrpe-3.2.1-8.el7.x86_64 (epel)
      Requires: nagios-common
      You could try using --skip-broken to work around the problem
      You could try running: rpm -Va --nofiles --nodigest

      Comment


      • #4
        Hello,
        nagios-common should get installed as a dependency, due to some reason this is not happening for you.
        You can try specifying the package separately:
        # yum --enablerepo=epel -y install nrpe nagios-plugins nagios-common
        If it is still not found try to clean yum cache with
        # yum clean all --enablerepo=*
        and try once again.

        Comment


        • #5
          I have this problem on servers with CloudLinux release 7.7 (Valery Bykovsky)
          I have tried yum clean all and rpm rebuilddb

          SERVER #1

          # cat /etc/redhat-release
          CloudLinux release 7.6 (Vladimir Lyakhov)

          # yum --enablerepo=epel info nagios-common
          Loaded plugins: fastestmirror, rhnplugin
          This system is receiving updates from CLN.
          Loading mirror speeds from cached hostfile
          * cloudlinux-updates: repo.cloudlinux.com
          * cloudlinux-x86_64-server-7: cl.se.oderland.com
          * epel: mirror.hoster.kz
          * rpmforge: mirror.awanti.com
          Available Packages
          Name : nagios-common
          Arch : x86_64
          Version : 4.4.3
          Release : 3.el6
          Size : 26 k
          Repo : epel/x86_64
          Summary : Provides common directories, uid and gid among nagios-related packages
          URL : https://www.nagios.org/projects/nagios-core/
          License : GPLv2
          Description : Provides common directories, uid and gid among nagios-related packages.

          SERVER #2

          # cat /etc/redhat-release
          CloudLinux release 7.7 (Valery Bykovsky)
          # yum --enablerepo=epel info nagios-common
          Loaded plugins: fastestmirror, rhnplugin
          This system is receiving updates from CLN.
          Loading mirror speeds from cached hostfile
          * cloudlinux-x86_64-server-7: de-proxy.cloudlinux.com
          * epel: mirror.logol.ru
          * rpmforge: mirror.awanti.com
          Error: No matching Packages to list

          Comment


          • #6
            Unfortunately, I cannot replicate it on my test DA server with CloudLinux 7.7, the package is available:

            Code:
            [root@cl7datest ~]# cat /etc/redhat-release
            
            CloudLinux release 7.7 (Valery Bykovsky)
            
            [root@cl7datest ~]# yum --enablerepo=epel info nagios-common
            
            Loaded plugins: auto-update-debuginfo, fastestmirror, rhnplugin
            
            This system is receiving updates from CLN.
            
            Loading mirror speeds from cached hostfile
            
            * cloudlinux-x86_64-server-7: de-proxy.cl-mirror.net
            
            * epel: ftp.icm.edu.pl
            
            Available Packages
            
            Name        : nagios-common
            
            Arch        : x86_64
            
            Version     : 4.4.3
            
            Release     : 1.el7
            
            Size        : 26 k
            
            Repo        : epel/x86_64
            
            Summary     : Provides common directories, uid and gid among nagios-related packages
            
            URL         : [URL]https://www.nagios.org/projects/nagios-core[/URL]/
            
            License     : GPLv2
            
            Description : Provides common directories, uid and gid among nagios-related packages.
            Do you have any custom config in /etc/yum.conf on the server with this issue? Possibly some packages are excluded there.

            Comment


            • #7
              Thanks. Problem was connected with exclude.

              Comment


              • #8
                Hello Pavel! Thank you for reaching out. Please let us know if you have any questions.

                Comment

                Working...
                X