Nagios XI Installtion Failed

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
nagios1810
Posts: 10
Joined: Thu Feb 01, 2018 7:57 am

Nagios XI Installtion Failed

Post by nagios1810 »

--> Running transaction check
---> Package mariadb.x86_64 1:5.5.52-1.el7 will be installed
--> Processing Dependency: mariadb-libs(x86-64) = 1:5.5.52-1.el7 for package: 1:mariadb-5.5.52-1.el7.x86_64
---> Package mariadb-server.x86_64 1:5.5.52-1.el7 will be installed
--> Processing Dependency: mariadb-libs(x86-64) = 1:5.5.52-1.el7 for package: 1:mariadb-server-5.5.52-1.el7.x86_64
--> Finished Dependency Resolution
Error: Package: 1:mariadb-5.5.52-1.el7.x86_64 (ol7_base)
Requires: mariadb-libs(x86-64) = 1:5.5.52-1.el7
Installed: 1:mariadb-libs-5.5.56-2.el7.x86_64 (@ol7_latest)
mariadb-libs(x86-64) = 1:5.5.56-2.el7
Available: 1:mariadb-libs-5.5.52-1.el7.x86_64 (ol7_base)
mariadb-libs(x86-64) = 1:5.5.52-1.el7
Error: Package: 1:mariadb-server-5.5.52-1.el7.x86_64 (ol7_base)
Requires: mariadb-libs(x86-64) = 1:5.5.52-1.el7
Installed: 1:mariadb-libs-5.5.56-2.el7.x86_64 (@ol7_latest)
mariadb-libs(x86-64) = 1:5.5.56-2.el7
Available: 1:mariadb-libs-5.5.52-1.el7.x86_64 (ol7_base)
mariadb-libs(x86-64) = 1:5.5.52-1.el7
You could try using --skip-broken to work around the problem
** Found 3 pre-existing rpmdb problem(s), 'yum check' output follows:
rpm-libs-4.11.3-25.el7.x86_64 has missing requires of rpm = ('0', '4.11.3', '25.el7')
rpm-python-4.11.3-25.el7.x86_64 has missing requires of rpm = ('0', '4.11.3', '25.el7')
yum-3.4.3-154.0.1.el7.noarch has missing requires of rpm >= ('0', '4.11.3', '22')
RESULT=1

===================
INSTALLATION ERROR!
===================
Installation step failed - exiting.
Check for error messages in the install log (install.log).
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Nagios XI Installtion Failed

Post by lmiltchev »

Is this a "clean" install? It seems like you already had some mariadb packages installed on the system.
Important: Nagios Enterprises highly recommends and will only support installing Nagios XI on a newly installed, "clean" system. Attempting to install Nagios XI on a pre-existing system with other applications already installed can cause the Nagios XI installation process to fail, critical system components and settings (e.g. database servers) to be modified in a way that negatively affects other applications, and previously installed applications to be automatically upgraded or removed. While installing XI on a system with other applications is possible, it is not recommended due to the possible interactions and complexity of multiple components that are required for Nagios XI to function. If you choose to ignore these warnings, you do so at your own risk.
Is it a manual install or rpm install? Online or offline environment? Can you post the entire install.log file?
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
tacolover101
Posts: 432
Joined: Mon Apr 10, 2017 11:55 am

Re: Nagios XI Installtion Failed

Post by tacolover101 »

on top of what @lmiltchev mentioned, could you please provide more information about your system and versioning?
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Nagios XI Installtion Failed

Post by tgriep »

Thanks @tacolover101 for the help.

@nagios1810, can you run the following commands as root on the server and post the /tmp/info.txt file?

Code: Select all

yum repolist >/tmp/info.txt
yum list installed >>/tmp/info.txt
Be sure to check out our Knowledgebase for helpful articles and solutions!
nagios1810
Posts: 10
Joined: Thu Feb 01, 2018 7:57 am

Re: Nagios XI Installtion Failed

Post by nagios1810 »

I have added the Current Installation Failed Loh=gs and as well as Repolist Logs.

Current Error :

Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
--------------------------------------------------------------------------------
Total 7.6 MB/s | 8.5 MB 00:01
Running transaction check
ERROR with transaction check vs depsolve:
rpm = 4.11.3-25.el7 is needed by (installed) rpm-python-4.11.3-25.el7.x86_64
** Found 16 pre-existing rpmdb problem(s), 'yum check' output follows:
docker-engine-17.06.2.ol-1.0.1.el7.x86_64 has installed conflicts docker: docker-engine-17.06.2.ol-1.0.1.el7.x86_64
1:grub2-tools-2.02-0.65.0.4.el7_4.2.x86_64 has missing requires of librpm.so.3()(64bit)
mongodb-enterprise-server-3.6.4-1.el7.x86_64 has missing requires of librpmio.so.3()(64bit)
mongodb-enterprise-server-3.6.4-1.el7.x86_64 has missing requires of librpm.so.3()(64bit)
1:net-snmp-5.7.2-28.0.1.el7.x86_64 has missing requires of librpm.so.3()(64bit)
1:net-snmp-5.7.2-28.0.1.el7.x86_64 has missing requires of librpmio.so.3()(64bit)
1:net-snmp-agent-libs-5.7.2-28.0.1.el7.x86_64 has missing requires of librpm.so.3()(64bit)
1:net-snmp-agent-libs-5.7.2-28.0.1.el7.x86_64 has missing requires of librpmio.so.3()(64bit)
rpm-4.11.3-21.el7.x86_64 has missing requires of librpm.so.3()(64bit)
rpm-4.11.3-21.el7.x86_64 has missing requires of librpmio.so.3()(64bit)
rpm-build-libs-4.11.3-25.el7.x86_64 has missing requires of librpm.so.3()(64bit)
rpm-build-libs-4.11.3-25.el7.x86_64 has missing requires of librpmio.so.3()(64bit)
rpm-build-libs-4.11.3-25.el7.x86_64 has missing requires of rpm-libs(x86-64) = ('0', '4.11.3', '25.el7')
rpm-python-4.11.3-25.el7.x86_64 has missing requires of librpm.so.3()(64bit)
rpm-python-4.11.3-25.el7.x86_64 has missing requires of librpmio.so.3()(64bit)
rpm-python-4.11.3-25.el7.x86_64 has missing requires of rpm = ('0', '4.11.3', '25.el7')
Your transaction was saved, rerun it with:
yum load-transaction /tmp/yum_save_tx.2018-04-24.12-04.RbxmIW.yumtx
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'


Thanks in Advance
Govi
You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Nagios XI Installtion Failed

Post by tgriep »

Nagios XI is not officially supported to run / install on a OracleLinux system.

I suggest that you use either a Centos or Redhat system for Nagios XI.


I have heard that some people have gotten it to work but is looks like your system has a few repository issues.

First, clean out the yum cache by running the following as root

Code: Select all

yum clean all
Then, from the install.log file, you have to enable the Optional repo.

To do this, edit his file /etc/yum.repos.d/public-yum-ol7.repo on the server and find this section.

Code: Select all

[ol7_optional_latest]
name=Oracle Linux $releasever Optional Latest ($basearch)
baseurl=http://yum.oracle.com/repo/OracleLinux/OL7/optional/latest/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=1

Make sure the enabled=1 option is set to a 1, if not set it to a 1 and save the file.

Then try and install XI again to see if it works.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked