Nagios XI Upgrade from 5.4.13 to 5.6.9

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Pselvin
Posts: 51
Joined: Tue Dec 13, 2016 1:28 pm

Nagios XI Upgrade from 5.4.13 to 5.6.9

Post by Pselvin »

Hi Team,

We are trying to upgrade Nagios and getting the following errors, Could you please advise.

Code: Select all

[root@wsvmlnngp01 nagios_upgrade]# wget -O upgrade.sh https://assets.nagios.com/downloads/nagiosxi/upgrade.sh
--2020-01-09 01:51:46--  https://assets.nagios.com/downloads/nagiosxi/upgrade.sh
Resolving digitalpac.lowes.com... 172.26.245.39
Connecting to digitalpac.lowes.com|172.26.245.39|:9005... connected.
Proxy request sent, awaiting response... 200 OK
Length: 579 [application/x-sh]
Saving to: âupgrade.shâ

100%[===================================================================================================================>] 579         --.-K/s   in 0s

2020-01-09 01:51:46 (44.6 MB/s) - âupgrade.shâ

[root@wsvmlnngp01 nagios_upgrade]# ls -ltr
total 4
-rw-r--r-- 1 root root 579 Feb  8  2018 upgrade.sh
[root@wsvmlnngp01 nagios_upgrade]# ./upgrade.sh
-bash: ./upgrade.sh: Permission denied
[root@wsvmlnngp01 nagios_upgrade]# ls -ltr
total 4
-rw-r--r-- 1 root root 579 Feb  8  2018 upgrade.sh
[root@wsvmlnngp01 nagios_upgrade]# chmod 755 upgrade.sh
[root@wsvmlnngp01 nagios_upgrade]# ./upgrade.sh
Removing the old /tmp/nagiosxi directory, and xi-* tarball
Downloading latest Nagios XI release
--2020-01-09 01:52:35--  https://assets.nagios.com/downloads/nagiosxi/xi-latest.tar.gz
Resolving digitalpac.lowes.com... 172.26.245.40
Connecting to digitalpac.lowes.com|172.26.245.40|:9005... connected.
Proxy request sent, awaiting response... 200 OK
Length: 64673753 (62M) [application/x-gzip]
Saving to: â/tmp/xi-latest.tar.gzâ

100%[===================================================================================================================>] 64,673,753  4.00M/s   in 16s

2020-01-09 01:52:51 (3.88 MB/s) - â/tmp/xi-latest.tar.gzâ

Running upgrade
Nagios XI Upgrade Log
==========================
DATE: Thu Jan  9 01:52:55 EST 2020

DISTRO INFO:
CentOS
6.10
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:                                            [  OK  ]
Starting httpd:                                            [  OK  ]
Checking required prereqs...
Please wait...

OLD VERSION: 5413
Loaded plugins: fastestmirror
Setting up Update Process
Determining fastest mirrors
 * base: centos.den.host-engine.com
 * extras: centos.den.host-engine.com
 * updates: centos.sonn.com
http://centos.den.host-engine.com/6.10/os/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 403 Forbidden"
Trying other mirror.
To address this issue please refer to the below wiki article

https://wiki.centos.org/yum-errors

If above article doesn't help to resolve this issue please use https://bugs.centos.org/.

http://centos.den.host-engine.com/6.10/extras/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 403 Forbidden"
Trying other mirror.
https://wsvmlnpmp01.ec.lowes.com:8140/packages/2016.4.2/el-6-x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "NSS: client certificate not found (nickname not specified)"
Trying other mirror.
To address this issue please refer to the below wiki article

https://wiki.centos.org/yum-errors

If above article doesn't help to resolve this issue please use https://bugs.centos.org/.

No Packages marked for Update
Loaded plugins: fastestmirror
Setting up Local Package Process
Examining /tmp/nagiosxi/nagiosxi-deps-5.6.9-1.noarch.rpm: nagiosxi-deps-5.6.9-1.noarch
Marking /tmp/nagiosxi/nagiosxi-deps-5.6.9-1.noarch.rpm as an update to nagiosxi-deps-5.3.3-1.noarch
Loading mirror speeds from cached hostfile
 * base: centos.den.host-engine.com
 * extras: centos.den.host-engine.com
 * updates: centos.sonn.com
https://wsvmlnpmp01.ec.lowes.com:8140/packages/2016.4.2/el-6-x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "NSS: client certificate not found (nickname not specified)"
Trying other mirror.
To address this issue please refer to the below wiki article

https://wiki.centos.org/yum-errors

If above article doesn't help to resolve this issue please use https://bugs.centos.org/.

Resolving Dependencies
--> Running transaction check
---> Package nagiosxi-deps.noarch 0:5.3.3-1 will be updated
---> Package nagiosxi-deps.noarch 0:5.6.9-1 will be an update
--> Processing Dependency: snmptt for package: nagiosxi-deps-5.6.9-1.noarch
--> Processing Dependency: net-snmp-perl for package: nagiosxi-deps-5.6.9-1.noarch
--> Processing Dependency: php-devel for package: nagiosxi-deps-5.6.9-1.noarch
--> Processing Dependency: php-imap for package: nagiosxi-deps-5.6.9-1.noarch
--> Processing Dependency: python-pip for package: nagiosxi-deps-5.6.9-1.noarch
--> Processing Dependency: rsync for package: nagiosxi-deps-5.6.9-1.noarch
--> Processing Dependency: ansible for package: nagiosxi-deps-5.6.9-1.noarch
--> Processing Dependency: shellinabox for package: nagiosxi-deps-5.6.9-1.noarch
--> Running transaction check
---> Package nagiosxi-deps.noarch 0:5.6.9-1 will be an update
--> Processing Dependency: snmptt for package: nagiosxi-deps-5.6.9-1.noarch
--> Processing Dependency: python-pip for package: nagiosxi-deps-5.6.9-1.noarch
--> Processing Dependency: ansible for package: nagiosxi-deps-5.6.9-1.noarch
--> Processing Dependency: shellinabox for package: nagiosxi-deps-5.6.9-1.noarch
---> Package net-snmp-perl.x86_64 1:5.5-60.el6_10.1 will be installed
--> Processing Dependency: net-snmp-libs = 1:5.5-60.el6_10.1 for package: 1:net-snmp-perl-5.5-60.el6_10.1.x86_64
---> Package php-devel.x86_64 0:5.3.3-50.el6_10 will be installed
--> Processing Dependency: php(x86-64) = 5.3.3-50.el6_10 for package: php-devel-5.3.3-50.el6_10.x86_64
---> Package php-imap.x86_64 0:5.3.3-50.el6_10 will be installed
--> Processing Dependency: php-common(x86-64) = 5.3.3-50.el6_10 for package: php-imap-5.3.3-50.el6_10.x86_64
--> Processing Dependency: libc-client.so.2007()(64bit) for package: php-imap-5.3.3-50.el6_10.x86_64
---> Package rsync.x86_64 0:3.0.6-12.el6 will be installed
--> Running transaction check
---> Package libc-client.x86_64 0:2007e-11.el6 will be installed
---> Package nagiosxi-deps.noarch 0:5.6.9-1 will be an update
--> Processing Dependency: snmptt for package: nagiosxi-deps-5.6.9-1.noarch
--> Processing Dependency: python-pip for package: nagiosxi-deps-5.6.9-1.noarch
--> Processing Dependency: ansible for package: nagiosxi-deps-5.6.9-1.noarch
--> Processing Dependency: shellinabox for package: nagiosxi-deps-5.6.9-1.noarch
---> Package net-snmp-libs.x86_64 1:5.5-60.el6 will be updated
--> Processing Dependency: net-snmp-libs = 1:5.5-60.el6 for package: 1:net-snmp-5.5-60.el6.x86_64
--> Processing Dependency: net-snmp-libs = 1:5.5-60.el6 for package: 1:net-snmp-utils-5.5-60.el6.x86_64
--> Processing Dependency: net-snmp-libs = 1:5.5-60.el6 for package: 1:net-snmp-devel-5.5-60.el6.x86_64
---> Package net-snmp-libs.x86_64 1:5.5-60.el6_10.1 will be an update
---> Package php.x86_64 0:5.3.3-49.el6 will be updated
---> Package php.x86_64 0:5.3.3-50.el6_10 will be an update
--> Processing Dependency: php-cli(x86-64) = 5.3.3-50.el6_10 for package: php-5.3.3-50.el6_10.x86_64
---> Package php-common.x86_64 0:5.3.3-49.el6 will be updated
--> Processing Dependency: php-common(x86-64) = 5.3.3-49.el6 for package: php-mbstring-5.3.3-49.el6.x86_64
--> Processing Dependency: php-common(x86-64) = 5.3.3-49.el6 for package: php-gd-5.3.3-49.el6.x86_64
--> Processing Dependency: php-common(x86-64) = 5.3.3-49.el6 for package: php-pdo-5.3.3-49.el6.x86_64
--> Processing Dependency: php-common(x86-64) = 5.3.3-49.el6 for package: php-pgsql-5.3.3-49.el6.x86_64
--> Processing Dependency: php-common(x86-64) = 5.3.3-49.el6 for package: php-xml-5.3.3-49.el6.x86_64
--> Processing Dependency: php-common(x86-64) = 5.3.3-49.el6 for package: php-snmp-5.3.3-49.el6.x86_64
--> Processing Dependency: php-common(x86-64) = 5.3.3-49.el6 for package: php-ldap-5.3.3-49.el6.x86_64
--> Processing Dependency: php-common(x86-64) = 5.3.3-49.el6 for package: php-mysql-5.3.3-49.el6.x86_64
---> Package php-common.x86_64 0:5.3.3-50.el6_10 will be an update
--> Running transaction check
---> Package nagiosxi-deps.noarch 0:5.6.9-1 will be an update
--> Processing Dependency: snmptt for package: nagiosxi-deps-5.6.9-1.noarch
--> Processing Dependency: python-pip for package: nagiosxi-deps-5.6.9-1.noarch
--> Processing Dependency: ansible for package: nagiosxi-deps-5.6.9-1.noarch
--> Processing Dependency: shellinabox for package: nagiosxi-deps-5.6.9-1.noarch
---> Package net-snmp.x86_64 1:5.5-60.el6 will be updated
---> Package net-snmp.x86_64 1:5.5-60.el6_10.1 will be an update
---> Package net-snmp-devel.x86_64 1:5.5-60.el6 will be updated
---> Package net-snmp-devel.x86_64 1:5.5-60.el6_10.1 will be an update
---> Package net-snmp-utils.x86_64 1:5.5-60.el6 will be updated
---> Package net-snmp-utils.x86_64 1:5.5-60.el6_10.1 will be an update
---> Package php-cli.x86_64 0:5.3.3-49.el6 will be updated
---> Package php-cli.x86_64 0:5.3.3-50.el6_10 will be an update
---> Package php-gd.x86_64 0:5.3.3-49.el6 will be updated
---> Package php-gd.x86_64 0:5.3.3-50.el6_10 will be an update
---> Package php-ldap.x86_64 0:5.3.3-49.el6 will be updated
---> Package php-ldap.x86_64 0:5.3.3-50.el6_10 will be an update
---> Package php-mbstring.x86_64 0:5.3.3-49.el6 will be updated
---> Package php-mbstring.x86_64 0:5.3.3-50.el6_10 will be an update
---> Package php-mysql.x86_64 0:5.3.3-49.el6 will be updated
---> Package php-mysql.x86_64 0:5.3.3-50.el6_10 will be an update
---> Package php-pdo.x86_64 0:5.3.3-49.el6 will be updated
---> Package php-pdo.x86_64 0:5.3.3-50.el6_10 will be an update
---> Package php-pgsql.x86_64 0:5.3.3-49.el6 will be updated
---> Package php-pgsql.x86_64 0:5.3.3-50.el6_10 will be an update
---> Package php-snmp.x86_64 0:5.3.3-49.el6 will be updated
---> Package php-snmp.x86_64 0:5.3.3-50.el6_10 will be an update
---> Package php-xml.x86_64 0:5.3.3-49.el6 will be updated
---> Package php-xml.x86_64 0:5.3.3-50.el6_10 will be an update
--> Finished Dependency Resolution
Error: Package: nagiosxi-deps-5.6.9-1.noarch (/nagiosxi-deps-5.6.9-1.noarch)
           Requires: python-pip
Error: Package: nagiosxi-deps-5.6.9-1.noarch (/nagiosxi-deps-5.6.9-1.noarch)
           Requires: ansible
Error: Package: nagiosxi-deps-5.6.9-1.noarch (/nagiosxi-deps-5.6.9-1.noarch)
           Requires: shellinabox
Error: Package: nagiosxi-deps-5.6.9-1.noarch (/nagiosxi-deps-5.6.9-1.noarch)
           Requires: snmptt
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
Loaded plugins: fastestmirror
Cleaning repos: base cr extras nagios-base nagiosxi-deps pe_repo updates
Cleaning up Everything
Cleaning up list of fastest mirrors
Loaded plugins: fastestmirror
Setting up Local Package Process
Examining /tmp/nagiosxi/nagiosxi-deps-5.6.9-1.noarch.rpm: nagiosxi-deps-5.6.9-1.noarch
Marking /tmp/nagiosxi/nagiosxi-deps-5.6.9-1.noarch.rpm as an update to nagiosxi-deps-5.3.3-1.noarch
Determining fastest mirrors
 * base: centos.den.host-engine.com
 * extras: centos.den.host-engine.com
 * updates: centos.sonn.com
http://centos.den.host-engine.com/6.10/os/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 403 Forbidden"
Trying other mirror.
To address this issue please refer to the below wiki article

https://wiki.centos.org/yum-errors

If above article doesn't help to resolve this issue please use https://bugs.centos.org/.

http://centos.den.host-engine.com/6.10/extras/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 403 Forbidden"
Trying other mirror.
https://wsvmlnpmp01.ec.lowes.com:8140/packages/2016.4.2/el-6-x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "NSS: client certificate not found (nickname not specified)"
Trying other mirror.
To address this issue please refer to the below wiki article

https://wiki.centos.org/yum-errors

If above article doesn't help to resolve this issue please use https://bugs.centos.org/.

Error: Cannot retrieve repository metadata (repomd.xml) for repository: pe_repo. Please verify its path and try again
Pselvin
Posts: 51
Joined: Tue Dec 13, 2016 1:28 pm

Re: Nagios XI Upgrade from 5.4.13 to 5.6.9

Post by Pselvin »

This is running on CentOS 6.
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: Nagios XI Upgrade from 5.4.13 to 5.6.9

Post by mbellerue »

It looks like you had an issue accessing the Cent 6 repositories. I just tried accessing the first URL listed in your output, and I am able to get there. It may have been a one-time issue. Maybe they had Apache misconfigured or something. Can you try the update once more and see if it errors at the same spot?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Pselvin
Posts: 51
Joined: Tue Dec 13, 2016 1:28 pm

Re: Nagios XI Upgrade from 5.4.13 to 5.6.9

Post by Pselvin »

Thanks for your response.

This issue was fixed by following this article.

https://support.nagios.com/forum/viewto ... 16&t=56797

Please close this topic.
Locked