Hi,
We cannot upgrade Nagios XI from web UI so we do manual upgrade following the guideline.
So we upgrade from 5.5.2 to 5.5.11 successfully.
But when we upgrade to 5.6.0, we got below error:
Nagios XI Upgrade Log
==========================
DATE: Fri Aug 30 22:05:39 HKT 2019
DISTRO INFO:
CentOS
6.7
x86_64
Archive: sourceguardian/ixed4.lin.x86-64.zip
inflating: /usr/lib64/php/modules/ixed.5.3.lin
Sourceguardian extension found for PHP version 5.3
Sourceguardian extension already in php.ini
Stopping httpd: ^[[60G[^[[0;32m OK ^[[0;39m]^M
Starting httpd: ^[[60G[^[[0;32m OK ^[[0;39m]^M
Checking required prereqs...
Please wait...
OLD VERSION: 5511
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Update Process
Loading mirror speeds from cached hostfile
No Packages marked for Update
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Local Package Process
Examining /tmp/nagiosxi/nagiosxi-deps-5.6.0-1.noarch.rpm: nagiosxi-deps-5.6.0-1.noarch
Marking /tmp/nagiosxi/nagiosxi-deps-5.6.0-1.noarch.rpm to be installed
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package nagiosxi-deps.noarch 0:5.6.0-1 will be installed
--> Processing Dependency: php-devel for package: nagiosxi-deps-5.6.0-1.noarch
--> Processing Dependency: php-imap for package: nagiosxi-deps-5.6.0-1.noarch
--> Processing Dependency: python-pip for package: nagiosxi-deps-5.6.0-1.noarch
--> Processing Dependency: ansible for package: nagiosxi-deps-5.6.0-1.noarch
--> Running transaction check
---> Package ansible.noarch 0:2.6.17-1.el6 will be installed
--> Processing Dependency: PyYAML for package: ansible-2.6.17-1.el6.noarch
--> Processing Dependency: python-crypto2.6 for package: ansible-2.6.17-1.el6.noarch
--> Processing Dependency: python-httplib2 for package: ansible-2.6.17-1.el6.noarch
--> Processing Dependency: python-jinja2-26 for package: ansible-2.6.17-1.el6.noarch
--> Processing Dependency: python-keyczar for package: ansible-2.6.17-1.el6.noarch
--> Processing Dependency: python-six for package: ansible-2.6.17-1.el6.noarch
--> Processing Dependency: sshpass for package: ansible-2.6.17-1.el6.noarch
---> Package nagiosxi-deps.noarch 0:5.6.0-1 will be installed
--> Processing Dependency: php-devel for package: nagiosxi-deps-5.6.0-1.noarch
--> Processing Dependency: php-imap for package: nagiosxi-deps-5.6.0-1.noarch
---> Package python-pip.noarch 0:7.1.0-1.el6 will be installed
--> Running transaction check
---> Package ansible.noarch 0:2.6.17-1.el6 will be installed
--> Processing Dependency: PyYAML for package: ansible-2.6.17-1.el6.noarch
--> Processing Dependency: python-six for package: ansible-2.6.17-1.el6.noarch
---> Package nagiosxi-deps.noarch 0:5.6.0-1 will be installed
--> Processing Dependency: php-devel for package: nagiosxi-deps-5.6.0-1.noarch
--> Processing Dependency: php-imap for package: nagiosxi-deps-5.6.0-1.noarch
---> Package python-crypto2.6.x86_64 0:2.6.1-2.el6 will be installed
---> Package python-httplib2.noarch 0:0.7.7-1.el6 will be installed
---> Package python-jinja2-26.noarch 0:2.6-3.el6 will be installed
--> Processing Dependency: python-babel >= 0.8 for package: python-jinja2-26-2.6-3.el6.noarch
---> Package python-keyczar.noarch 0:0.71c-1.el6 will be installed
--> Processing Dependency: python-pyasn1 for package: python-keyczar-0.71c-1.el6.noarch
---> Package sshpass.x86_64 0:1.06-1.el6 will be installed
--> Finished Dependency Resolution
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Loaded plugins: fastestmirror, refresh-packagekit, security
Cleaning repos: cr epel nagios-base nagiosxi-deps
Cleaning up Everything
Cleaning up list of fastest mirrors
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Local Package Process
Examining /tmp/nagiosxi/nagiosxi-deps-5.6.0-1.noarch.rpm: nagiosxi-deps-5.6.0-1.noarch
Marking /tmp/nagiosxi/nagiosxi-deps-5.6.0-1.noarch.rpm to be installed
Determining fastest mirrors
Resolving Dependencies
--> Running transaction check
---> Package nagiosxi-deps.noarch 0:5.6.0-1 will be installed
--> Processing Dependency: php-devel for package: nagiosxi-deps-5.6.0-1.noarch
--> Processing Dependency: php-imap for package: nagiosxi-deps-5.6.0-1.noarch
--> Processing Dependency: python-pip for package: nagiosxi-deps-5.6.0-1.noarch
--> Processing Dependency: ansible for package: nagiosxi-deps-5.6.0-1.noarch
--> Running transaction check
---> Package ansible.noarch 0:2.6.17-1.el6 will be installed
--> Processing Dependency: PyYAML for package: ansible-2.6.17-1.el6.noarch
--> Processing Dependency: python-crypto2.6 for package: ansible-2.6.17-1.el6.noarch
--> Processing Dependency: python-httplib2 for package: ansible-2.6.17-1.el6.noarch
--> Processing Dependency: python-jinja2-26 for package: ansible-2.6.17-1.el6.noarch
--> Processing Dependency: python-keyczar for package: ansible-2.6.17-1.el6.noarch
--> Processing Dependency: python-six for package: ansible-2.6.17-1.el6.noarch
--> Processing Dependency: sshpass for package: ansible-2.6.17-1.el6.noarch
---> Package nagiosxi-deps.noarch 0:5.6.0-1 will be installed
--> Processing Dependency: php-devel for package: nagiosxi-deps-5.6.0-1.noarch
--> Processing Dependency: php-imap for package: nagiosxi-deps-5.6.0-1.noarch
---> Package python-pip.noarch 0:7.1.0-1.el6 will be installed
--> Running transaction check
---> Package ansible.noarch 0:2.6.17-1.el6 will be installed
--> Processing Dependency: PyYAML for package: ansible-2.6.17-1.el6.noarch
--> Processing Dependency: python-six for package: ansible-2.6.17-1.el6.noarch
---> Package nagiosxi-deps.noarch 0:5.6.0-1 will be installed
--> Processing Dependency: php-devel for package: nagiosxi-deps-5.6.0-1.noarch
--> Processing Dependency: php-imap for package: nagiosxi-deps-5.6.0-1.noarch
---> Package python-crypto2.6.x86_64 0:2.6.1-2.el6 will be installed
---> Package python-httplib2.noarch 0:0.7.7-1.el6 will be installed
---> Package python-jinja2-26.noarch 0:2.6-3.el6 will be installed
--> Processing Dependency: python-babel >= 0.8 for package: python-jinja2-26-2.6-3.el6.noarch
---> Package python-keyczar.noarch 0:0.71c-1.el6 will be installed
--> Processing Dependency: python-pyasn1 for package: python-keyczar-0.71c-1.el6.noarch
---> Package sshpass.x86_64 0:1.06-1.el6 will be installed
--> Finished Dependency Resolution
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
*******************************************************************
Please help! Thanks.
Cannot upgrade from 5.5.11 to 5.6.0 (or latest version)
Re: Cannot upgrade from 5.5.11 to 5.6.0 (or latest version)
Strange, the output you posted did not show any errors at all.
Let's clear out the yum cache and try upgrading XI again.
Run this as root to clear the cache.
Then try the XI Upgrade again and if it fails and you see the errors in the console, copy them and post them here as well as retrieving the /tmp/upgrade.log file from the server and uploading it here.
Thanks
Let's clear out the yum cache and try upgrading XI again.
Run this as root to clear the cache.
Code: Select all
yum clean allThanks
Be sure to check out our Knowledgebase for helpful articles and solutions!