Page 1 of 1

Nagios xi install failed

Posted: Tue Apr 18, 2017 4:33 pm
by vuduops
Hi;

Nagios xi installed failed with the following message can you please take a look. I have include the full install log for you reference.

Code: Select all

Nagios XI Installation Log
==========================
DATE: Tue Apr 18 18:12:28 GMT 2017

DISTRO INFO:
CentOS
7.3.1611
x86_64

THIS IS A NEW INSTALL!

INSTALLING:
full=5.4.2
major=5
minor=4.2
releasedate=2017-02-07
release=5402

Configuring Repos...
centos-release-7-3.1611.el7.centos.x86_64
Enabling Nagios repo...
Installing Nagios Repo PKG: packages/nagios-repo-7-2.el7.noarch.rpm
warning: packages/nagios-repo-7-2.el7.noarch.rpm: Header V4 RSA/SHA1 Signature, key ID 1e924cb3: NOKEY
Preparing...                          ########################################
Updating / installing...
nagios-repo-7-2.el7                   ########################################
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile

nmap.x86_64                           2:6.47-1                     nagiosxi-deps
rrdtool.x86_64                        1.4.9-1.el7                  nagiosxi-deps
rrdtool-perl.x86_64                   1.4.9-1.el7                  nagiosxi-deps
rrdtool-python.x86_64                 1.4.9-1.el7                  nagiosxi-deps
Enabling EPEL repo...
Installing EPEL PKG: ./packages/epel-release-7-2.noarch.rpm
warning: ./packages/epel-release-7-2.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID 352c64e5: NOKEY
Preparing...                          ########################################
Updating / installing...
epel-release-7-2                      ########################################
Loaded plugins: fastestmirror
Repository epel is listed more than once in the configuration
Loading mirror speeds from cached hostfile

epel-release.noarch                   7-9                          epel         
nmap.x86_64                           2:6.47-1                     nagiosxi-deps
rrdtool.x86_64                        1.4.9-1.el7                  nagiosxi-deps
rrdtool-perl.x86_64                   1.4.9-1.el7                  nagiosxi-deps
rrdtool-python.x86_64                 1.4.9-1.el7                  nagiosxi-deps
epel-release RPM installed OK
Repo configured OK
Installing prerequisites...
Loaded plugins: fastestmirror
Repository epel is listed more than once in the configuration
Loading mirror speeds from cached hostfile
Package 1:mariadb-5.5.52-1.el7.x86_64 is obsoleted by MariaDB-client-5.5.54-1.el7.centos.x86_64 which is already installed
Package 1:mariadb-server-5.5.52-1.el7.x86_64 is obsoleted by MariaDB-server-5.5.54-1.el7.centos.x86_64 which is already installed
Package 1:mariadb-devel-5.5.52-1.el7.x86_64 is obsoleted by MariaDB-devel-5.5.54-1.el7.centos.x86_64 which is already installed
Nothing to do
Loaded plugins: fastestmirror
Repository epel is listed more than once in the configuration
Examining /tmp/nagiosxi/packages/php-pear-HTML-Template-IT-1.3.0-2.el5.noarch.rpm: php-pear-HTML-Template-IT-1.3.0-2.el5.noarch
/tmp/nagiosxi/packages/php-pear-HTML-Template-IT-1.3.0-2.el5.noarch.rpm: does not update installed package.
Examining /tmp/nagiosxi/nagiosxi-deps-el7-5.4.2-1.noarch.rpm: nagiosxi-deps-el7-5.4.2-1.noarch
/tmp/nagiosxi/nagiosxi-deps-el7-5.4.2-1.noarch.rpm: does not update installed package.
Nothing to do
Loaded plugins: fastestmirror
Repository epel is listed more than once in the configuration
Loading mirror speeds from cached hostfile
Package python-simplejson-3.3.3-1.el7.x86_64 is obsoleted by python2-simplejson-3.10.0-1.el7.x86_64 which is already installed
Package perl-Net-SNMP-6.0.1-7.el7.noarch already installed and latest version
Package perl-Mail-IMAPClient-3.37-1.el7.noarch already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package python-pymssql.x86_64 0:2.1.1-1.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package              Arch         Version            Repository           Size
================================================================================
Installing:
 python-pymssql       x86_64       2.1.1-1.el7        nagiosxi-deps       430 k

Transaction Summary
================================================================================
Install  1 Package

Total download size: 430 k
Installed size: 1.7 M
Downloading packages:
warning: /var/cache/yum/x86_64/7/nagiosxi-deps/packages/python-pymssql-2.1.1-1.el7.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 1e924cb3: NOKEY
Public key for python-pymssql-2.1.1-1.el7.x86_64.rpm is not installed
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-NAGIOS
Importing GPG key 0x1E924CB3:
 Userid     : "Nagios Enterprises, LLC (RPM Development) <[email protected]>"
 Fingerprint: f020 1e0e 7232 8bda 1d3a 47ff f084 fca8 1e92 4cb3
 Package    : nagios-repo-7-2.el7.noarch (installed)
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-NAGIOS
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
  Installing : python-pymssql-2.1.1-1.el7.x86_64                            1/1 
  Verifying  : python-pymssql-2.1.1-1.el7.x86_64                            1/1 

Installed:
  python-pymssql.x86_64 0:2.1.1-1.el7                                           

Complete!
Fixing php-mcrypt bug...
Prerequisites installed OK
Adding users and groups...
useradd: user 'nagios' already exists
groupadd: group 'nagios' already exists
groupadd: group 'nagcmd' already exists
Users and groups added OK
MySQL installed OK - continuing...
Starting MySQL...
Redirecting to /bin/systemctl restart  mariadb.service
Failed to restart mariadb.service: Unit not found.
ERROR: MySQL failed to start - exiting.

Re: Nagios xi install failed

Posted: Tue Apr 18, 2017 5:00 pm
by avandemore
Can you try a full install with the latest release on a clean minimal install?

https://assets.nagios.com/downloads/nag ... 4.3.tar.gz