Uploaded image for project: 'openATTIC'
  1. openATTIC
  2. OP-820

Nagios 4.0.8 installation issues on CentOS 7/EPEL

    XMLWordPrintable

    Details

      Description

      Currently, the Jenkins Job that tests the installation of the RPM packages on CentOS 7 gets stuck when trying to start Nagios and has to be aborted manually. From the Job output:

      Created default user "openattic" with password "openattic".
      Starting npcd (via systemctl):  [  OK  ]
      Redirecting to /bin/systemctl restart  nagios.service
      
      Waiting for status.dat to appear... Build wurde abgebrochen
      

      The following error can be seen in the Nagios log at /var/log/nagios/nagios.log:

      [1450128137] Nagios 4.0.8 starting... (PID=4726)
      [1450128137] Local time is Mon Dec 14 22:22:17 CET 2015
      [1450128137] LOG VERSION: 2.0
      [1450128137] qh: Failed to init socket '/var/log/nagios/rw/nagios.qh'. bind() failed: No such file or directory
      [1450128137] Error: Failed to initialize query handler. Aborting
      

      This is likely due to that fact that Nagios in EPEL was updated to version 4.0, while it was on version 3.5 before:

      # rpm -q --changelog nagios | head -5
      * Sat Sep 19 2015 Scott Wilkerson <swilkerson@nagios.com> - 4.0.8-1
      - update to 4.0.8
      
      * Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.5.1-9
      - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
      # cat /etc/redhat-release 
      CentOS Linux release 7.2.1511 (Core) 
      # rpm -qa | grep nagios
      nagios-plugins-fping-2.0.3-3.el7.x86_64
      nagios-plugins-ntp-perl-2.0.3-3.el7.x86_64
      nagios-4.0.8-1.el7.x86_64
      nagios-plugins-dig-2.0.3-3.el7.x86_64
      nagios-plugins-rpc-2.0.3-3.el7.x86_64
      nagios-plugins-flexlm-2.0.3-3.el7.x86_64
      nagios-plugins-breeze-2.0.3-3.el7.x86_64
      nagios-plugins-pgsql-2.0.3-3.el7.x86_64
      nagios-plugins-users-2.0.3-3.el7.x86_64
      nagios-plugins-ssh-2.0.3-3.el7.x86_64
      nagios-plugins-mrtgtraf-2.0.3-3.el7.x86_64
      nagios-plugins-ups-2.0.3-3.el7.x86_64
      nagios-plugins-http-2.0.3-3.el7.x86_64
      nagios-plugins-overcr-2.0.3-3.el7.x86_64
      nagios-plugins-dummy-2.0.3-3.el7.x86_64
      nagios-plugins-disk_smb-2.0.3-3.el7.x86_64
      nagios-plugins-snmp-2.0.3-3.el7.x86_64
      nagios-plugins-perl-2.0.3-3.el7.x86_64
      nagios-plugins-dns-2.0.3-3.el7.x86_64
      nagios-plugins-ircd-2.0.3-3.el7.x86_64
      nagios-plugins-ldap-2.0.3-3.el7.x86_64
      nagios-plugins-dhcp-2.0.3-3.el7.x86_64
      nagios-plugins-load-2.0.3-3.el7.x86_64
      nagios-plugins-oracle-2.0.3-3.el7.x86_64
      nagios-plugins-nt-2.0.3-3.el7.x86_64
      nagios-plugins-nwstat-2.0.3-3.el7.x86_64
      nagios-plugins-real-2.0.3-3.el7.x86_64
      nagios-plugins-by_ssh-2.0.3-3.el7.x86_64
      nagios-plugins-sensors-2.0.3-3.el7.x86_64
      nagios-plugins-all-2.0.3-3.el7.x86_64
      pnp4nagios-0.6.25-1.el7.x86_64
      openattic-module-nagios-2.0.5-1~201512150907.el7.noarch
      nagios-common-4.0.8-1.el7.x86_64
      nagios-plugins-file_age-2.0.3-3.el7.x86_64
      nagios-plugins-ping-2.0.3-3.el7.x86_64
      nagios-plugins-ntp-2.0.3-3.el7.x86_64
      nagios-plugins-disk-2.0.3-3.el7.x86_64
      nagios-plugins-cluster-2.0.3-3.el7.x86_64
      nagios-plugins-icmp-2.0.3-3.el7.x86_64
      nagios-plugins-procs-2.0.3-3.el7.x86_64
      nagios-plugins-mrtg-2.0.3-3.el7.x86_64
      nagios-plugins-smtp-2.0.3-3.el7.x86_64
      nagios-plugins-game-2.0.3-3.el7.x86_64
      nagios-plugins-2.0.3-3.el7.x86_64
      nagios-plugins-mailq-2.0.3-3.el7.x86_64
      nagios-plugins-wave-2.0.3-3.el7.x86_64
      nagios-plugins-ide_smart-2.0.3-3.el7.x86_64
      nagios-plugins-swap-2.0.3-3.el7.x86_64
      nagios-plugins-mysql-2.0.3-3.el7.x86_64
      nagios-plugins-nagios-2.0.3-3.el7.x86_64
      nagios-plugins-tcp-2.0.3-3.el7.x86_64
      nagios-plugins-log-2.0.3-3.el7.x86_64
      nagios-plugins-hpjd-2.0.3-3.el7.x86_64
      nagios-plugins-time-2.0.3-3.el7.x86_64
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              lgrimmer Grimmer, Lenz
              Reporter:
              lgrimmer Grimmer, Lenz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: