Hi,
Currently i have Nagios XI 5.6.14 hosted on RHEL 7.7 and i tried to upgrade to 5.7.2. It failed with the following errors.
./upgrade
Loaded plugins: enabled_repos_upload, langpacks, package_upload, product-id, search-disabled-repos, subscription-manager, versionlock
Examining nagiosxi-shellinabox-5.7.2-2.el7.x86_64.rpm: nagiosxi-shellinabox-5.7.2-2.el7.x86_64
Marking nagiosxi-shellinabox-5.7.2-2.el7.x86_64.rpm as an update to nagiosxi-shellinabox-5.6.14-1.el7.x86_64
Examining nagiosxi-nxti-5.7.2-2.el7.x86_64.rpm: nagiosxi-nxti-5.7.2-2.el7.x86_64
Marking nagiosxi-nxti-5.7.2-2.el7.x86_64.rpm as an update to nagiosxi-nxti-5.6.14-1.el7.x86_64
Skipping: and, filename does not end in .rpm.
Examining perl-Nagios-Monitoring-Plugin-0.51-1.el7.noarch.rpm: perl-Nagios-Monitoring-Plugin-0.51-1.el7.noarch
perl-Nagios-Monitoring-Plugin-0.51-1.el7.noarch.rpm: does not update installed package.
Resolving Dependencies
--> Running transaction check
---> Package nagiosxi-nxti.x86_64 0:5.6.14-1.el7 will be updated
--> Processing Dependency: nagiosxi-nxti(x86-64) = 5.6.14-1.el7 for package: nagiosxi-5.6.14-1.el7.x86_64
DIS_EPEL_EL7_EPEL_EL7 | 2.8 kB 00:00:00
Not using downloaded DIS_EPEL_EL7_EPEL_EL7/repomd.xml because it is older than what we have:
Current : Wed Jul 1 19:10:54 2020
Downloaded: Wed Jul 1 19:00:26 2020
rhel-7-server-ansible-2-rpms | 2.3 kB 00:00:00
Not using downloaded rhel-7-server-ansible-2-rpms/repomd.xml because it is older than what we have:
Current : Wed Jul 1 21:17:35 2020
Downloaded: Wed Jul 1 20:57:33 2020
rhel-7-server-extras-rpms | 2.0 kB 00:00:00
Not using downloaded rhel-7-server-extras-rpms/repomd.xml because it is older than what we have:
Current : Wed Jul 1 19:11:43 2020
Downloaded: Wed Jul 1 19:00:31 2020
rhel-7-server-optional-rpms | 1.8 kB 00:00:00
Not using downloaded rhel-7-server-optional-rpms/repomd.xml because it is older than what we have:
Current : Wed Jul 1 20:46:47 2020
Downloaded: Wed Jul 1 20:22:54 2020
rhel-7-server-rh-common-rpms | 2.1 kB 00:00:00
rhel-7-server-rpms | 2.0 kB 00:00:00
Not using downloaded rhel-7-server-rpms/repomd.xml because it is older than what we have:
Current : Wed Jul 1 21:53:56 2020
Downloaded: Wed Jul 1 21:31:32 2020
rhel-7-server-satellite-tools-6.5-rpms | 2.1 kB 00:00:00
rhel-7-server-supplementary-rpms | 2.0 kB 00:00:00
rhel-ha-for-rhel-7-server-rpms | 2.0 kB 00:00:00
---> Package nagiosxi-nxti.x86_64 0:5.7.2-2.el7 will be an update
---> Package nagiosxi-shellinabox.x86_64 0:5.6.14-1.el7 will be updated
--> Processing Dependency: nagiosxi-shellinabox(x86-64) = 5.6.14-1.el7 for package: nagiosxi-5.6.14-1.el7.x86_64
---> Package nagiosxi-shellinabox.x86_64 0:5.7.2-2.el7 will be an update
--> Finished Dependency Resolution
Error: Package: nagiosxi-5.6.14-1.el7.x86_64 (@/nagiosxi-5.6.14-1.el7.x86_64)
Requires: nagiosxi-nxti(x86-64) = 5.6.14-1.el7
Removing: nagiosxi-nxti-5.6.14-1.el7.x86_64 (@/nagiosxi-nxti-5.6.14-1.el7.x86_64)
nagiosxi-nxti(x86-64) = 5.6.14-1.el7
Updated By: nagiosxi-nxti-5.7.2-2.el7.x86_64 (/nagiosxi-nxti-5.7.2-2.el7.x86_64)
nagiosxi-nxti(x86-64) = 5.7.2-2.el7
Error: Package: nagiosxi-5.6.14-1.el7.x86_64 (@/nagiosxi-5.6.14-1.el7.x86_64)
Requires: nagiosxi-shellinabox(x86-64) = 5.6.14-1.el7
Removing: nagiosxi-shellinabox-5.6.14-1.el7.x86_64 (@/nagiosxi-shellinabox-5.6.14-1.el7.x86_64)
nagiosxi-shellinabox(x86-64) = 5.6.14-1.el7
Updated By: nagiosxi-shellinabox-5.7.2-2.el7.x86_64 (/nagiosxi-shellinabox-5.7.2-2.el7.x86_64)
nagiosxi-shellinabox(x86-64) = 5.7.2-2.el7
**********************************************************************
yum can be configured to try to resolve such errors by temporarily enabling
disabled repos and searching for missing dependencies.
To enable this functionality please set 'notify_only=0' in /etc/yum/pluginconf.d/search-disabled-repos.conf
**********************************************************************
Error: Package: nagiosxi-5.6.14-1.el7.x86_64 (@/nagiosxi-5.6.14-1.el7.x86_64)
Requires: nagiosxi-nxti(x86-64) = 5.6.14-1.el7
Removing: nagiosxi-nxti-5.6.14-1.el7.x86_64 (@/nagiosxi-nxti-5.6.14-1.el7.x86_64)
nagiosxi-nxti(x86-64) = 5.6.14-1.el7
Updated By: nagiosxi-nxti-5.7.2-2.el7.x86_64 (/nagiosxi-nxti-5.7.2-2.el7.x86_64)
nagiosxi-nxti(x86-64) = 5.7.2-2.el7
Error: Package: nagiosxi-5.6.14-1.el7.x86_64 (@/nagiosxi-5.6.14-1.el7.x86_64)
Requires: nagiosxi-shellinabox(x86-64) = 5.6.14-1.el7
Removing: nagiosxi-shellinabox-5.6.14-1.el7.x86_64 (@/nagiosxi-shellinabox-5.6.14-1.el7.x86_64)
nagiosxi-shellinabox(x86-64) = 5.6.14-1.el7
Updated By: nagiosxi-shellinabox-5.7.2-2.el7.x86_64 (/nagiosxi-shellinabox-5.7.2-2.el7.x86_64)
nagiosxi-shellinabox(x86-64) = 5.7.2-2.el7
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Uploading Enabled Repositories Report
Loaded plugins: langpacks, product-id, subscription-manager, versionlock
Any thoughts to resolve the issue will be much appreciated.
Thanks,
Unable to upgrade Nagios to V 5.7.2
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Unable to upgrade Nagios to V 5.7.2
We have found a bug in the upgrade script in the offline installer
You can navigate to the install directory and just run the following
You can navigate to the install directory and just run the following
Code: Select all
yum -y --nogpgcheck localupdate *.rpm
Re: Unable to upgrade Nagios to V 5.7.2
+1
When we can get final solution? In 5.7.3?
When we can get final solution? In 5.7.3?
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Unable to upgrade Nagios to V 5.7.2
yesoss_opl wrote:+1
When we can get final solution? In 5.7.3?
Re: Unable to upgrade Nagios to V 5.7.2
Thanks for the help. After upgrade, nagios service is stopping constantly, even after starting the service. I killed all nagios process and started service but no use. any thoughts?
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Unable to upgrade Nagios to V 5.7.2
I would open a ticket here and share your nagios.log and profile.zip from Admin -> System Profile
https://support.nagios.com/tickets/
Our team is going to have to look into that is causing the process to stop
https://support.nagios.com/tickets/
Our team is going to have to look into that is causing the process to stop