Page 1 of 1

new install failing

Posted: Thu Sep 08, 2016 3:37 pm
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]:

Re: new install failing

Posted: Thu Sep 08, 2016 4:47 pm
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

Re: new install failing

Posted: Fri Sep 09, 2016 3:44 pm
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.

Re: new install failing

Posted: Mon Sep 12, 2016 10:00 am
by tmcdonald
Glad to hear it! All good to close?

Re: new install failing

Posted: Mon Sep 12, 2016 11:32 am
by BanditBBS
Of course :)