nagiosxi-deps-5.2.9-1.noarch conflicts nagios-nrpe

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
strmon
Posts: 31
Joined: Mon Dec 26, 2016 3:42 am

nagiosxi-deps-5.2.9-1.noarch conflicts nagios-nrpe

Post by strmon »

Hi,

I am trying to install nagioxi and getting below conflicts. Suggest how to resolve it?

Os: redhat 6
Nagiosxi:5.2.9

Resolving Dependencies
--> Running transaction check
---> Package nagiosxi-deps.noarch 0:5.2.9-1 will be installed
--> Processing Dependency: mysql for package: nagiosxi-deps-5.2.9-1.noarch
--> Processing Dependency: mysql-devel for package: nagiosxi-deps-5.2.9-1.noarch
--> Processing Dependency: mysql-server for package: nagiosxi-deps-5.2.9-1.noarch
--> Processing Dependency: postgresql-server for package: nagiosxi-deps-5.2.9-1.noarch
--> Running transaction check
---> Package mysql.x86_64 0:5.1.73-7.el6 will be installed
---> Package mysql-devel.x86_64 0:5.1.73-7.el6 will be installed
---> Package mysql-server.x86_64 0:5.1.73-7.el6 will be installed
---> Package postgresql-server.x86_64 0:8.4.20-6.el6 will be installed
--> Processing Dependency: postgresql(x86-64) = 8.4.20-6.el6 for package: postgresql-server-8.4.20-6.el6.x86_64
--> Running transaction check
---> Package postgresql.x86_64 0:8.4.20-6.el6 will be installed
--> Processing Conflict: nagiosxi-deps-5.2.9-1.noarch conflicts nagios-nrpe
No package matched to upgrade: nagiosxi-deps
--> Processing Conflict: nagiosxi-deps-5.2.9-1.noarch conflicts nrpe
No package matched to upgrade: nagiosxi-deps
--> Finished Dependency Resolution
Error: nagiosxi-deps conflicts with nrpe-2.15-7.el6.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
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'
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: nagiosxi-deps-5.2.9-1.noarch conflicts nagios-nrpe

Post by dwhitfield »

The first thing I would do is use http://repo.nagios.com/nagiosxi-offline ... _64.tar.gz instead of 5.2.9, unless you're trying to install 5.2.9 for the purposes of a backup.

Also, what's the output of yum repolist?
strmon
Posts: 31
Joined: Mon Dec 26, 2016 3:42 am

Re: nagiosxi-deps-5.2.9-1.noarch conflicts nagios-nrpe

Post by strmon »

though, i've switched check to "check_by_ssh" from "chcek_nrpe". Here are the o/p.
"unless you're trying to install 5.2.9 for the purposes of a backup"
yes, i am migrating application from one server to other fresh server.
o/p of yum repo list:-

awesant_6_x86 | 871 B 00:00
base | 3.7 kB 00:00
centos_6_x86 | 871 B 00:00
centos_6_x86_base | 1.0 kB 00:00
centos_6_x86_epel | 1.3 kB 00:00
centos_6_x86_extras | 871 B 00:00
centos_6_x86_spacewalk_client | 1.0 kB 00:00
centos_6_x86_updates | 871 B 00:00
cr | 3.3 kB 00:00
epel | 4.3 kB 00:00
epel/primary_db | 5.9 MB 00:51
extras | 3.4 kB 00:00
puppetlab | 871 B 00:00
updates | 3.4 kB 00:00
repo id repo name status
awesant_6_x86 awesant_6_x86 288
base CentOS-6 - Base 6,696
centos_6_x86 centos_6_x86 0
centos_6_x86_base centos_6_x86_base 13,740
centos_6_x86_epel centos_6_x86_epel 32,404
centos_6_x86_extras centos_6_x86_extras 70
centos_6_x86_spacewalk_client centos_6_x86_spacewalk_client 23
centos_6_x86_updates centos_6_x86_updates 3,674
cr CentOS-6 - CR 0
epel Extra Packages for Enterprise Linux 6 - x86_64 12,215
extras CentOS-6 - Extras 62
puppetlab PuppetLab 565
updates CentOS-6 - Updates 772
repolist: 70,509
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: nagiosxi-deps-5.2.9-1.noarch conflicts nagios-nrpe

Post by dwhitfield »

strmon wrote:though, i've switched check to "check_by_ssh" from "chcek_nrpe".
Are you still having dependency issues?
strmon
Posts: 31
Joined: Mon Dec 26, 2016 3:42 am

Re: nagiosxi-deps-5.2.9-1.noarch conflicts nagios-nrpe

Post by strmon »

No, but i need nrpe to be working..! Suggest the fix, please.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: nagiosxi-deps-5.2.9-1.noarch conflicts nagios-nrpe

Post by rkennedy »

Are you installing from source, or using an offline install?

Our recommendation is installing on a clean, and minimal system - there seems to be quite a few things installed on here, as well as additional repositories. I would start fresh and with a minimal machine if possible.

You could run yum remove nrpe-2.15-7.el6.x86_64 as XI will install NRPE - but, you may still see further issues depending on what packages are already installed.
Former Nagios Employee
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: nagiosxi-deps-5.2.9-1.noarch conflicts nagios-nrpe

Post by dwhitfield »

In addition to what @rkennedy said, what error are you getting now that you are running a different command?
Locked