new install failing

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

new install failing

Post by BanditBBS »

So, trying to install on a fresh CentOS 7 install and have a weird issue!

Code: Select all

[root@sea-prod-finance-nagios-01 ~]# uname -a
Linux sea-prod-finance-nagios-01 3.10.0-327.13.1.el7.x86_64 #1 SMP Thu Mar 31 16:04:38 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
[root@sea-prod-finance-nagios-01 ~]# cat /etc/redhat-release
CentOS Linux release 7.1.1503 (Core)
A prereq for XI is mariadb, but when trying to install yum insists on installing mysql-commercial.

Code: Select all

--> Processing Dependency: mariadb for package: nagiosxi-deps-el7-5.2.9-1.noarch
Package mariadb is obsoleted by mysql-commercial-client, but obsoleting package does not provide for requirements
--> Processing Dependency: mariadb-devel for package: nagiosxi-deps-el7-5.2.9-1.noarch
Package mariadb-devel is obsoleted by mysql-commercial-devel, but obsoleting package does not provide for requirements
--> Processing Dependency: mariadb-server for package: nagiosxi-deps-el7-5.2.9-1.noarch
Package mariadb-server is obsoleted by mysql-commercial-server, but obsoleting package does not provide for requirements
--> Processing Dependency: net-snmp for package: nagiosxi-deps-el7-5.2.9-1.noarch
--> Processing Dependency: net-snmp-libs for package: nagiosxi-deps-el7-5.2.9-1.noarch
This is what happens when trying manual:

Code: Select all

[root@sea-prod-finance-nagios-01 nagiosxi]# yum install mariadb-devel-5.5.50-1.el7_2.i686
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* epel: mirrors.cat.pdx.edu
Package mariadb-devel is obsoleted by mysql-commercial-devel, trying to install mysql-commercial-devel-5.7.13-1.1.el7.x86_64 instead
Resolving Dependencies
--> Running transaction check
---> Package mysql-commercial-devel.x86_64 0:5.7.13-1.1.el7 will be installed
--> Processing Dependency: mysql-commercial-libs(x86-64) >= 5.7.9 for package: mysql-commercial-devel-5.7.13-1.1.el7.x86_64
--> Processing Dependency: libmysqlclient.so.20()(64bit) for package: mysql-commercial-devel-5.7.13-1.1.el7.x86_64
--> Running transaction check
---> Package mysql-commercial-libs.x86_64 0:5.7.13-1.1.el7 will be installed
--> Processing Dependency: mysql-commercial-common(x86-64) >= 5.7.9 for package: mysql-commercial-libs-5.7.13-1.1.el7.x86_64
--> Running transaction check
---> Package mysql-commercial-common.x86_64 0:5.7.13-1.1.el7 will be installed
--> Finished Dependency Resolution
 
Dependencies Resolved
 
==============================================================================================================================================================================================================================
Package                                                         Arch                                           Version                                                   Repository                                     Size
==============================================================================================================================================================================================================================
Installing:
mysql-commercial-devel                                          x86_64                                         5.7.13-1.1.el7                                            Getty                                         3.5 M
Installing for dependencies:
mysql-commercial-common                                         x86_64                                         5.7.13-1.1.el7                                            Getty                                         264 k
mysql-commercial-libs                                           x86_64                                         5.7.13-1.1.el7                                            Getty                                         2.1 M
 
Transaction Summary
==============================================================================================================================================================================================================================
Install  1 Package (+2 Dependent packages)
 
Total download size: 5.8 M
Installed size: 29 M
Is this ok [y/d/N]:
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: new install failing

Post by tgriep »

What do you see if you run this on your server?

Code: Select all

yum install mariadb
Try and clean out the yum cache and see if the package dependency issue is resolved.

Code: Select all

yum clean all
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: new install failing

Post by BanditBBS »

Fixed by another admin who did this:
installing nagiosXI

Make sure MariaDB is installed, if yum refuses to install it, do:
remove all mysql packages
install from website:
yum install https://mirrors.evowise.com/mariadb/mar ... common.rpm https://mirrors.evowise.com/mariadb/mar ... -devel.rpm https://mirrors.evowise.com/mariadb/mar ... shared.rpm https://mirrors.evowise.com/mariadb/mar ... server.rpm https://mirrors.evowise.com/mariadb/mar ... client.rpm

if service is not started, link init.d script:
ln -s /etc/init.d/mysql /etc/init.d/mariadb

Run ./fullinstall from nagiosxi folder.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: new install failing

Post by tmcdonald »

Glad to hear it! All good to close?
Former Nagios employee
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: new install failing

Post by BanditBBS »

Of course :)
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
Locked