Error: nagiosxi-deps-el7 conflicts with nrpe-3.2.0-6.el7.x86
Error: nagiosxi-deps-el7 conflicts with nrpe-3.2.0-6.el7.x86
Hi Team,
we are planning to upgrade Nagios Xi from Nagios XI 2014R2.7 to Latest Version..
and while installing current version on new VM ( RHEL 7) we are getting error " Error: nagiosxi-deps-el7 conflicts with nrpe-3.2.0-6.el7.x86 " have attached install.log for your reference..
Trying with root user and have done below steps referring mentioned URL but still getting an error..
https://support.nagios.com/forum/viewto ... =6&t=38563
https://support.nagios.com/kb/article.php?id=555
https://support.nagios.com/kb/article.php?id=155
__________________________________________________________________
yum repolist
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
repo id repo name status
RHEL7-Server-WDC RHEL7 Server Repository 18,265
epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 12,540
epel-debuginfo/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 - Debug 2,772
epel-source/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 - Source 0
nagios-base Nagios 81
nagiosxi-deps Nagios XI Dependencies 32
rhel-7-server-optional-rpms/7Server/x86_64 Red Hat Enterprise Linux 7 Server - Optional (RPMs) 15,063
rhel-7-server-rpms/7Server/x86_64 Red Hat Enterprise Linux 7 Server (RPMs) 20,398
we are planning to upgrade Nagios Xi from Nagios XI 2014R2.7 to Latest Version..
and while installing current version on new VM ( RHEL 7) we are getting error " Error: nagiosxi-deps-el7 conflicts with nrpe-3.2.0-6.el7.x86 " have attached install.log for your reference..
Trying with root user and have done below steps referring mentioned URL but still getting an error..
https://support.nagios.com/forum/viewto ... =6&t=38563
https://support.nagios.com/kb/article.php?id=555
https://support.nagios.com/kb/article.php?id=155
__________________________________________________________________
yum repolist
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
repo id repo name status
RHEL7-Server-WDC RHEL7 Server Repository 18,265
epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 12,540
epel-debuginfo/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 - Debug 2,772
epel-source/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 - Source 0
nagios-base Nagios 81
nagiosxi-deps Nagios XI Dependencies 32
rhel-7-server-optional-rpms/7Server/x86_64 Red Hat Enterprise Linux 7 Server - Optional (RPMs) 15,063
rhel-7-server-rpms/7Server/x86_64 Red Hat Enterprise Linux 7 Server (RPMs) 20,398
You do not have the required permissions to view the files attached to this post.
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Error: nagiosxi-deps-el7 conflicts with nrpe-3.2.0-6.el7
Hello, @rtsupport. Are you planning on doing backup-restore and then upgrading the XI to the latest version?
Anyway, it seems like you already had the nrpe installed on that system and that version conflicts with the stock nagios packages.
So if that's the case here's the instruction on how to uninstall the nrpe:
https://support.nagios.com/kb/article/n ... e-741.html
You can also try:
Anyway, it seems like you already had the nrpe installed on that system and that version conflicts with the stock nagios packages.
So if that's the case here's the instruction on how to uninstall the nrpe:
https://support.nagios.com/kb/article/n ... e-741.html
You can also try:
Code: Select all
yum remove nrpe-3.2.0-6.el7.x86As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Error: nagiosxi-deps-el7 conflicts with nrpe-3.2.0-6.el7
thank you! after remove this package able to proceed further but now getting different error.
After proceed this got below errors few are fixed but stock on "The script that failed was: './E-importnagiosql'"
Error No.1 -- Fixed
maridb error
Error No 2 -- Fixed ( https://support.nagios.com/forum/viewto ... 89#p215089 ) Revert the changes after this fix.
ERROR: Subcomponent 'wkhtmlx' installation failed - exiting.
Subcomponents installation failed - exiting
Error No 3 -- Fixed (https://support.nagios.com/forum/viewto ... 4&start=10) Revert the changes after this fix.
Running './D-chkconfigalldaemons'...
Failed to execute operation: No such file or directory
RESULT=1
Currently getting error --
The script that failed was: './E-importnagiosql'
Referred below Doc. but still getting same error.
https://support.nagios.com/forum/viewto ... =6&t=37397
Please advise.. have attached install.log file
After proceed this got below errors few are fixed but stock on "The script that failed was: './E-importnagiosql'"
Error No.1 -- Fixed
maridb error
Error No 2 -- Fixed ( https://support.nagios.com/forum/viewto ... 89#p215089 ) Revert the changes after this fix.
ERROR: Subcomponent 'wkhtmlx' installation failed - exiting.
Subcomponents installation failed - exiting
Error No 3 -- Fixed (https://support.nagios.com/forum/viewto ... 4&start=10) Revert the changes after this fix.
Running './D-chkconfigalldaemons'...
Failed to execute operation: No such file or directory
RESULT=1
Currently getting error --
The script that failed was: './E-importnagiosql'
Referred below Doc. but still getting same error.
https://support.nagios.com/forum/viewto ... =6&t=37397
Please advise.. have attached install.log file
You do not have the required permissions to view the files attached to this post.
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Error: nagiosxi-deps-el7 conflicts with nrpe-3.2.0-6.el7
@rtsupport, Are you using a proxy with the current XI?
If so please refer to this tutorial on how to properly configure XI to work with a proxy.
https://support.nagios.com/kb/article.php?id=147
Also, please show me the output of this commands:
and
If so please refer to this tutorial on how to properly configure XI to work with a proxy.
https://support.nagios.com/kb/article.php?id=147
Also, please show me the output of this commands:
Code: Select all
service iptables stopCode: Select all
getenforceAs of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Error: nagiosxi-deps-el7 conflicts with nrpe-3.2.0-6.el7
Hi,
After referring suggested document error passed and got stuck on different error mentioned in below..
PHP Warning: fgets() expects parameter 1 to be resource, boolean given in /usr/local/nagiosxi/scripts/nagiosql_login.php on line 53
PHP Warning: feof() expects parameter 1 to be resource, boolean given in /usr/local/nagiosxi/scripts/nagiosql_login.php on line 51
tried to fix the error referring POST -- https://support.nagios.com/forum/viewto ... 16&t=36664
but no luck..
now don't know what happened later .. After several trial when we fed up
left the system and went for a break...
After an hour when we tried again getting previous one error now... The script that failed was: './E-importnagiosql'
Verified all proxy are in place as per doc..
Commands outputs as required ...
[[email protected]]# service iptables stop
Redirecting to /bin/systemctl stop iptables.service
[[email protected]]# service iptables status
Redirecting to /bin/systemctl status iptables.service
â iptables.service - IPv4 firewall with iptables
Loaded: loaded (/usr/lib/systemd/system/iptables.service; enabled; vendor preset: disabled)
Active: inactive (dead) since Fri 2018-05-18 09:14:58 EDT; 15min ago
Process: 78510 ExecStop=/usr/libexec/iptables/iptables.init stop (code=exited, status=0/SUCCESS)
Process: 73297 ExecStart=/usr/libexec/iptables/iptables.init start (code=exited, status=0/SUCCESS)
Main PID: 73297 (code=exited, status=0/SUCCESS)
May 18 08:57:02 usa0300lv1759 systemd[1]: Starting IPv4 firewall with iptables...
May 18 08:57:02 usa0300lv1759 iptables.init[73297]: iptables: Applying firewall rules: [ OK ]
May 18 08:57:02 usa0300lv1759 systemd[1]: Started IPv4 firewall with iptables.
May 18 09:14:57 usa0300lv1759 systemd[1]: Stopping IPv4 firewall with iptables...
May 18 09:14:57 usa0300lv1759 iptables.init[78510]: iptables: Setting chains to policy ACCEPT: filter [ OK ]
May 18 09:14:57 usa0300lv1759 iptables.init[78510]: iptables: Flushing firewall rules: [ OK ]
May 18 09:14:58 usa0300lv1759 iptables.init[78510]: iptables: Unloading modules: [ OK ]
May 18 09:14:58 usa0300lv1759 systemd[1]: Stopped IPv4 firewall with iptables.
[[email protected]]# getenforce
Disabled
have attached install.log for your reference..
After referring suggested document error passed and got stuck on different error mentioned in below..
PHP Warning: fgets() expects parameter 1 to be resource, boolean given in /usr/local/nagiosxi/scripts/nagiosql_login.php on line 53
PHP Warning: feof() expects parameter 1 to be resource, boolean given in /usr/local/nagiosxi/scripts/nagiosql_login.php on line 51
tried to fix the error referring POST -- https://support.nagios.com/forum/viewto ... 16&t=36664
but no luck..
now don't know what happened later .. After several trial when we fed up
After an hour when we tried again getting previous one error now... The script that failed was: './E-importnagiosql'
Verified all proxy are in place as per doc..
Commands outputs as required ...
[[email protected]]# service iptables stop
Redirecting to /bin/systemctl stop iptables.service
[[email protected]]# service iptables status
Redirecting to /bin/systemctl status iptables.service
â iptables.service - IPv4 firewall with iptables
Loaded: loaded (/usr/lib/systemd/system/iptables.service; enabled; vendor preset: disabled)
Active: inactive (dead) since Fri 2018-05-18 09:14:58 EDT; 15min ago
Process: 78510 ExecStop=/usr/libexec/iptables/iptables.init stop (code=exited, status=0/SUCCESS)
Process: 73297 ExecStart=/usr/libexec/iptables/iptables.init start (code=exited, status=0/SUCCESS)
Main PID: 73297 (code=exited, status=0/SUCCESS)
May 18 08:57:02 usa0300lv1759 systemd[1]: Starting IPv4 firewall with iptables...
May 18 08:57:02 usa0300lv1759 iptables.init[73297]: iptables: Applying firewall rules: [ OK ]
May 18 08:57:02 usa0300lv1759 systemd[1]: Started IPv4 firewall with iptables.
May 18 09:14:57 usa0300lv1759 systemd[1]: Stopping IPv4 firewall with iptables...
May 18 09:14:57 usa0300lv1759 iptables.init[78510]: iptables: Setting chains to policy ACCEPT: filter [ OK ]
May 18 09:14:57 usa0300lv1759 iptables.init[78510]: iptables: Flushing firewall rules: [ OK ]
May 18 09:14:58 usa0300lv1759 iptables.init[78510]: iptables: Unloading modules: [ OK ]
May 18 09:14:58 usa0300lv1759 systemd[1]: Stopped IPv4 firewall with iptables.
[[email protected]]# getenforce
Disabled
have attached install.log for your reference..
You do not have the required permissions to view the files attached to this post.
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Error: nagiosxi-deps-el7 conflicts with nrpe-3.2.0-6.el7
@rtsupport, You know you could just spin up the latest version of XI on a new clean system and then import the configs from your old XI.
But, going back to your problem:
Are you able to:
Please go to the following folder:
And share:
You can either pull these files with FileZilla or WinSCP, or you can simply cat them, copy into a text file and upload in the ticket.
Also, please send the output of:
But, going back to your problem:
Code: Select all
Connecting to localhost (localhost)|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 403 Forbidden
2018-05-18 09:15:13 ERROR 403: Forbidden.Code: Select all
curl 127.0.0.1 -vCode: Select all
/etc/httpd/conf.dCode: Select all
nagios.conf
nagiosql.conf
ssl.conf
nagiosxi.confAlso, please send the output of:
Code: Select all
cat /etc/hosts As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Error: nagiosxi-deps-el7 conflicts with nrpe-3.2.0-6.el7
@rtsupport, You know you could just spin up the latest version of XI on a new clean system and then import the configs from your old XI.
is it ? as i know we have to install the existing version of Nagios XI on new VM > take a config backup from running Nagios XI > restore to newly same version installed Nagios XI > upgrade it to the latest version.
Because, Currently we have Nagios installed on Linux 6.9 ( Nagios XI 2014R2.7 ) which we have to upgrade on RHEL 7.4 ( Latest one ) so what would be the best practice for it?
coming to current installation issue...
## 1. Are you able to: ??
Yes, able to connect with local host.. have attached output for your reference..
## 2. Please go to the following folder: And share:
Have shared all files to you PM..
## 3. Also, please send the output of: cat /etc/hosts
Have posted to your PM
is it ? as i know we have to install the existing version of Nagios XI on new VM > take a config backup from running Nagios XI > restore to newly same version installed Nagios XI > upgrade it to the latest version.
Because, Currently we have Nagios installed on Linux 6.9 ( Nagios XI 2014R2.7 ) which we have to upgrade on RHEL 7.4 ( Latest one ) so what would be the best practice for it?
coming to current installation issue...
## 1. Are you able to: ??
Yes, able to connect with local host.. have attached output for your reference..
## 2. Please go to the following folder: And share:
Have shared all files to you PM..
## 3. Also, please send the output of: cat /etc/hosts
Have posted to your PM
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Error: nagiosxi-deps-el7 conflicts with nrpe-3.2.0-6.el7
@rtsupport, Since you're planning on switching the Operating System, you could either:
a) do a backup - restore. Install the same version of XI on RHEL 7.4, then restore from a backup and then upgrade the XI to the latest.
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
b) Install the latest version of XI on RHEL 7.4, then copy the cfg files from the old XI server to the new one and simply import configs in the following order: https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Plan B is definitely easier, but you will have to recreate users in XI GUI, reenable mail settings, and the historical performance data will not get carried over from the old XI.
If you go with the Plan A please do not enable firewall, proxy or install any other security enhancements on the new OS until you finish installing and restoring XI. This will make the process way easier.
a) do a backup - restore. Install the same version of XI on RHEL 7.4, then restore from a backup and then upgrade the XI to the latest.
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
b) Install the latest version of XI on RHEL 7.4, then copy the cfg files from the old XI server to the new one and simply import configs in the following order: https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Plan B is definitely easier, but you will have to recreate users in XI GUI, reenable mail settings, and the historical performance data will not get carried over from the old XI.
If you go with the Plan A please do not enable firewall, proxy or install any other security enhancements on the new OS until you finish installing and restoring XI. This will make the process way easier.
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Error: nagiosxi-deps-el7 conflicts with nrpe-3.2.0-6.el7
we would like to go with Plan A as prefdata is important for team whom servers we are monitoring..
have restart the servers but still getting same error..
please suggest what could be the issue...
have restart the servers but still getting same error..
please suggest what could be the issue...
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Error: nagiosxi-deps-el7 conflicts with nrpe-3.2.0-6.el7
@rtsupport, Possibly some misconfiguration in the apache settings or could also be a proxy issue.
Please upload the following files:
It may be easier to do a backup - restore, and then updating Nagios on a new server.
https://www.nagios.com/downloads/nagios ... -releases/
Please upload the following files:
Code: Select all
/etc/httpd/conf.d/nagios.conf
/etc/httpd/conf.d/nagiosxi.conf
https://www.nagios.com/downloads/nagios ... -releases/
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.