Page 1 of 1

NagiosXI upgrade: 5.6.5-1

Posted: Tue Aug 06, 2019 6:13 pm
by anilgupta
Team,

I have Nagios XI 5.5.7 on "Red Hat Enterprise Linux Server release 7.5 (Maipo)"
I am looking to upgrade it to Nagios 5.6.5. I am following https://assets.nagios.com/downloads/nag ... onment.pdf.

I downloaded https://repo.nagios.com/nagiosxi-offlin ... _64.tar.gz to the server and executed upgrade command after extracting it.

I am getting message as below.

[root@pstvmpkimon01 nagiosxi]# ./upgrade
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
This system is registered with an entitlement server, but is not receiving updates. You can use subscription-manager to assign subscriptions.

*** WARNING ***
The subscription for following product(s) has expired:
- MRG Realtime
- Oracle Java (for RHEL Server)
- Oracle Java (for RHEL Server) - Extended Update Support
- RHEL for SAP (for IBM Power LE) - Update Services for SAP Solutions
- RHEL for SAP - Extended Update Support
- RHEL for SAP - Update Services for SAP Solutions
- RHEL for SAP HANA - Extended Update Support
- RHEL for SAP HANA - Update Services for SAP Solutions
- Red Hat Ansible Engine
- Red Hat Beta
- Red Hat Container Development Kit
- Red Hat Container Images
- Red Hat Container Images Beta
- Red Hat Developer Tools (for RHEL Server)
- Red Hat Developer Tools Beta (for RHEL Server)
- Red Hat Developer Toolset (for RHEL Server)
- Red Hat EUCJP Support (for RHEL Server) - Extended Update Support
- Red Hat Enterprise Linux Atomic Host
- Red Hat Enterprise Linux Atomic Host Beta
- Red Hat Enterprise Linux High Availability (for RHEL Server)
- Red Hat Enterprise Linux High Availability (for RHEL Server) - Extended Update Support
- Red Hat Enterprise Linux High Availability - Update Services for SAP Solutions
- Red Hat Enterprise Linux High Performance Networking (for RHEL Compute Node)
- Red Hat Enterprise Linux High Performance Networking (for RHEL Server)
- Red Hat Enterprise Linux High Performance Networking (for RHEL Server) - Extended Update Support
- Red Hat Enterprise Linux Load Balancer (for RHEL Server)
- Red Hat Enterprise Linux Load Balancer (for RHEL Server) - Extended Update Support
- Red Hat Enterprise Linux Resilient Storage (for RHEL Server)
- Red Hat Enterprise Linux Resilient Storage (for RHEL Server) - Extended Update Support
- Red Hat Enterprise Linux Scalable File System (for RHEL Server)
- Red Hat Enterprise Linux Scalable File System (for RHEL Server) - Extended Update Support
- Red Hat Enterprise Linux Server
- Red Hat Enterprise Linux Server - Extended Update Support
- Red Hat Enterprise Linux Server - Update Services for SAP Solutions
- Red Hat Enterprise Linux for ARM 64
- Red Hat Enterprise Linux for ARM 64 Beta
- Red Hat Enterprise Linux for Real Time
- Red Hat Enterprise Linux for SAP
- Red Hat Enterprise Linux for SAP Hana
- Red Hat S-JIS Support (for RHEL Server) - Extended Update Support
- Red Hat Software Collections (for RHEL Server)
- Red Hat Software Collections Beta (for RHEL Server)
- dotNET on RHEL (for RHEL Server)
- dotNET on RHEL Beta (for RHEL Server)
You no longer have access to the repositories that provide these products. It is important that you apply an active subscription in order to resume access to security and other critical updates. If you don't have other active subscriptions, you can renew the expired subscription.
Examining fping-3.10-4.el7.x86_64.rpm: fping-3.10-4.el7.x86_64
fping-3.10-4.el7.x86_64.rpm: does not update installed package.
Examining freetds-0.95.81-1.el7.x86_64.rpm: freetds-0.95.81-1.el7.x86_64
freetds-0.95.81-1.el7.x86_64.rpm: does not update installed package.
Examining jwhois-4.0-38.el7.x86_64.rpm: jwhois-4.0-38.el7.x86_64
jwhois-4.0-38.el7.x86_64.rpm: does not update installed package.
Examining libc-client-2007f-16.el7.x86_64.rpm: libc-client-2007f-16.el7.x86_64
Marking libc-client-2007f-16.el7.x86_64.rpm to be installed
Examining libidn2-2.0.4-4.el7.x86_64.rpm: libidn2-2.0.4-4.el7.x86_64
libidn2-2.0.4-4.el7.x86_64.rpm: does not update installed package.
Examining libmcrypt-2.5.8-13.el7.x86_64.rpm: libmcrypt-2.5.8-13.el7.x86_64
libmcrypt-2.5.8-13.el7.x86_64.rpm: does not update installed package.
Examining nagiosxi-5.6.5-1.el7.x86_64.rpm: nagiosxi-5.6.5-1.el7.x86_64
Marking nagiosxi-5.6.5-1.el7.x86_64.rpm to be installed
Examining nagiosxi-mrtg-5.6.5-1.el7.x86_64.rpm: nagiosxi-mrtg-5.6.5-1.el7.x86_64
Marking nagiosxi-mrtg-5.6.5-1.el7.x86_64.rpm to be installed
Examining nagiosxi-nagioscore-5.6.5-1.el7.x86_64.rpm: nagiosxi-nagioscore-5.6.5-1.el7.x86_64
Marking nagiosxi-nagioscore-5.6.5-1.el7.x86_64.rpm to be installed
Examining nagiosxi-nagiosmobile-5.6.5-1.el7.x86_64.rpm: nagiosxi-nagiosmobile-5.6.5-1.el7.x86_64
Marking nagiosxi-nagiosmobile-5.6.5-1.el7.x86_64.rpm to be installed
Examining nagiosxi-nagiosplugins-5.6.5-1.el7.x86_64.rpm: nagiosxi-nagiosplugins-5.6.5-1.el7.x86_64
Marking nagiosxi-nagiosplugins-5.6.5-1.el7.x86_64.rpm to be installed
Examining nagiosxi-nagvis-5.6.5-1.el7.x86_64.rpm: nagiosxi-nagvis-5.6.5-1.el7.x86_64
Marking nagiosxi-nagvis-5.6.5-1.el7.x86_64.rpm to be installed
Examining nagiosxi-ndoutils-5.6.5-1.el7.x86_64.rpm: nagiosxi-ndoutils-5.6.5-1.el7.x86_64
Marking nagiosxi-ndoutils-5.6.5-1.el7.x86_64.rpm to be installed
Examining nagiosxi-nrds-5.6.5-1.el7.x86_64.rpm: nagiosxi-nrds-5.6.5-1.el7.x86_64
Marking nagiosxi-nrds-5.6.5-1.el7.x86_64.rpm to be installed
Examining nagiosxi-nrpe-5.6.5-1.el7.x86_64.rpm: nagiosxi-nrpe-5.6.5-1.el7.x86_64
Marking nagiosxi-nrpe-5.6.5-1.el7.x86_64.rpm to be installed
Examining nagiosxi-nsca-5.6.5-1.el7.x86_64.rpm: nagiosxi-nsca-5.6.5-1.el7.x86_64
Marking nagiosxi-nsca-5.6.5-1.el7.x86_64.rpm to be installed
Examining nagiosxi-nxti-5.6.5-1.el7.x86_64.rpm: nagiosxi-nxti-5.6.5-1.el7.x86_64
Marking nagiosxi-nxti-5.6.5-1.el7.x86_64.rpm to be installed
Examining nagiosxi-pnp-5.6.5-1.el7.x86_64.rpm: nagiosxi-pnp-5.6.5-1.el7.x86_64
Marking nagiosxi-pnp-5.6.5-1.el7.x86_64.rpm to be installed
Examining nagiosxi-shellinabox-5.6.5-1.el7.x86_64.rpm: nagiosxi-shellinabox-5.6.5-1.el7.x86_64
Marking nagiosxi-shellinabox-5.6.5-1.el7.x86_64.rpm to be installed
Examining nagiosxi-wkhtmltox-5.6.5-1.el7.x86_64.rpm: nagiosxi-wkhtmltox-5.6.5-1.el7.x86_64
Marking nagiosxi-wkhtmltox-5.6.5-1.el7.x86_64.rpm to be installed
Examining nagiosxi-wmic-5.6.5-1.el7.x86_64.rpm: nagiosxi-wmic-5.6.5-1.el7.x86_64
Marking nagiosxi-wmic-5.6.5-1.el7.x86_64.rpm to be installed
Examining nmap-6.47-1.x86_64.rpm: 2:nmap-6.47-1.x86_64
nmap-6.47-1.x86_64.rpm: does not update installed package.
Examining perl-Class-Accessor-0.34-12.el7.noarch.rpm: perl-Class-Accessor-0.34-12.el7.noarch
perl-Class-Accessor-0.34-12.el7.noarch.rpm: does not update installed package.
Examining perl-Config-IniFiles-2.79-1.el7.noarch.rpm: perl-Config-IniFiles-2.79-1.el7.noarch
perl-Config-IniFiles-2.79-1.el7.noarch.rpm: does not update installed package.
Examining perl-Crypt-Rijndael-1.12-1.el7.x86_64.rpm: perl-Crypt-Rijndael-1.12-1.el7.x86_64
perl-Crypt-Rijndael-1.12-1.el7.x86_64.rpm: does not update installed package.
Examining perl-Mail-IMAPClient-3.37-1.el7.noarch.rpm: perl-Mail-IMAPClient-3.37-1.el7.noarch
perl-Mail-IMAPClient-3.37-1.el7.noarch.rpm: does not update installed package.
Examining perl-Mail-POP3Client-2.19-5.el7.noarch.rpm: perl-Mail-POP3Client-2.19-5.el7.noarch
Marking perl-Mail-POP3Client-2.19-5.el7.noarch.rpm to be installed
Examining perl-Math-Calc-Units-1.07-9.el7.noarch.rpm: perl-Math-Calc-Units-1.07-9.el7.noarch
perl-Math-Calc-Units-1.07-9.el7.noarch.rpm: does not update installed package.
Examining perl-Nagios-Monitoring-Plugin-0.51-1.el7.noarch.rpm: perl-Nagios-Monitoring-Plugin-0.51-1.el7.noarch
Marking perl-Nagios-Monitoring-Plugin-0.51-1.el7.noarch.rpm to be installed
Examining perl-Net-SMTP-TLS-0.12-1.el7.noarch.rpm: perl-Net-SMTP-TLS-0.12-1.of.el7.noarch
Marking perl-Net-SMTP-TLS-0.12-1.el7.noarch.rpm to be installed
Examining perl-Net-SNMP-6.0.1-7.el7.noarch.rpm: perl-Net-SNMP-6.0.1-7.el7.noarch
perl-Net-SNMP-6.0.1-7.el7.noarch.rpm: does not update installed package.
Examining perl-Number-Format-1.73-14.el7.noarch.rpm: perl-Number-Format-1.73-14.el7.noarch
perl-Number-Format-1.73-14.el7.noarch.rpm: does not update installed package.
Examining php-imap-5.4.16-7.el7.x86_64.rpm: php-imap-5.4.16-7.el7.x86_64
Marking php-imap-5.4.16-7.el7.x86_64.rpm to be installed
Examining php-mcrypt-5.4.16-7.el7.x86_64.rpm: php-mcrypt-5.4.16-7.el7.x86_64
Marking php-mcrypt-5.4.16-7.el7.x86_64.rpm to be installed
Examining php-mssql-5.4.16-7.el7.x86_64.rpm: php-mssql-5.4.16-7.el7.x86_64
php-mssql-5.4.16-7.el7.x86_64.rpm: does not update installed package.
Examining php-pear-HTML-Template-IT-1.3.0-2.el5.noarch.rpm: php-pear-HTML-Template-IT-1.3.0-2.el5.noarch
Marking php-pear-HTML-Template-IT-1.3.0-2.el5.noarch.rpm to be installed
Examining php-pecl-ssh2-0.12-1.el7.x86_64.rpm: php-pecl-ssh2-0.12-1.el7.x86_64
php-pecl-ssh2-0.12-1.el7.x86_64.rpm: does not update installed package.
Examining python-bson-2.5.2-4.el7.x86_64.rpm: python-bson-2.5.2-4.el7.x86_64
Marking python-bson-2.5.2-4.el7.x86_64.rpm to be installed
Examining python-pymongo-2.5.2-4.el7.x86_64.rpm: python-pymongo-2.5.2-4.el7.x86_64
Marking python-pymongo-2.5.2-4.el7.x86_64.rpm to be installed
Examining python-pymssql-2.1.1-1.el7.x86_64.rpm: python-pymssql-2.1.1-1.el7.x86_64
Cannot install package python-pymssql-2.1.1-1.el7.x86_64. It is obsoleted by installed package python2-pymssql-2.1.3-2.el7.x86_64
Examining python-simplejson-3.3.3-1.el7.x86_64.rpm: python-simplejson-3.3.3-1.el7.x86_64
Cannot install package python-simplejson-3.3.3-1.el7.x86_64. It is obsoleted by installed package python2-simplejson-3.10.0-1.el7.x86_64
Examining rrdtool-1.4.9-1.el7.x86_64.rpm: rrdtool-1.4.9-1.el7.x86_64
Marking rrdtool-1.4.9-1.el7.x86_64.rpm as an update to rrdtool-1.4.8-9.el7.x86_64
Examining rrdtool-devel-1.4.9-1.el7.x86_64.rpm: rrdtool-devel-1.4.9-1.el7.x86_64
Marking rrdtool-devel-1.4.9-1.el7.x86_64.rpm to be installed
Examining rrdtool-perl-1.4.9-1.el7.x86_64.rpm: rrdtool-perl-1.4.9-1.el7.x86_64
Marking rrdtool-perl-1.4.9-1.el7.x86_64.rpm as an update to rrdtool-perl-1.4.8-9.el7.x86_64
Examining rrdtool-python-1.4.9-1.el7.x86_64.rpm: rrdtool-python-1.4.9-1.el7.x86_64
Marking rrdtool-python-1.4.9-1.el7.x86_64.rpm as an update to rrdtool-python-1.4.8-9.el7.x86_64
Resolving Dependencies
--> Running transaction check
---> Package libc-client.x86_64 0:2007f-16.el7 will be installed
---> Package nagiosxi.x86_64 0:5.6.5-1.el7 will be installed
--> Processing Dependency: iptables-services for package: nagiosxi-5.6.5-1.el7.x86_64
---> Package nagiosxi-mrtg.x86_64 0:5.6.5-1.el7 will be installed
---> Package nagiosxi-nagioscore.x86_64 0:5.6.5-1.el7 will be installed
---> Package nagiosxi-nagiosmobile.x86_64 0:5.6.5-1.el7 will be installed
---> Package nagiosxi-nagiosplugins.x86_64 0:5.6.5-1.el7 will be installed
---> Package nagiosxi-nagvis.x86_64 0:5.6.5-1.el7 will be installed
---> Package nagiosxi-ndoutils.x86_64 0:5.6.5-1.el7 will be installed
---> Package nagiosxi-nrds.x86_64 0:5.6.5-1.el7 will be installed
---> Package nagiosxi-nrpe.x86_64 0:5.6.5-1.el7 will be installed
---> Package nagiosxi-nsca.x86_64 0:5.6.5-1.el7 will be installed
---> Package nagiosxi-nxti.x86_64 0:5.6.5-1.el7 will be installed
---> Package nagiosxi-pnp.x86_64 0:5.6.5-1.el7 will be installed
---> Package nagiosxi-shellinabox.x86_64 0:5.6.5-1.el7 will be installed
---> Package nagiosxi-wkhtmltox.x86_64 0:5.6.5-1.el7 will be installed
---> Package nagiosxi-wmic.x86_64 0:5.6.5-1.el7 will be installed
---> Package perl-Mail-POP3Client.noarch 0:2.19-5.el7 will be installed
---> Package perl-Nagios-Monitoring-Plugin.noarch 0:0.51-1.el7 will be installed
---> Package perl-Net-SMTP-TLS.noarch 0:0.12-1.of.el7 will be installed
---> Package php-imap.x86_64 0:5.4.16-7.el7 will be installed
---> Package php-mcrypt.x86_64 0:5.4.16-7.el7 will be installed
---> Package php-pear-HTML-Template-IT.noarch 0:1.3.0-2.el5 will be installed
---> Package python-bson.x86_64 0:2.5.2-4.el7 will be installed
---> Package python-pymongo.x86_64 0:2.5.2-4.el7 will be installed
---> Package rrdtool.x86_64 0:1.4.8-9.el7 will be updated
---> Package rrdtool.x86_64 0:1.4.9-1.el7 will be an update
--> Processing Dependency: dejavu-lgc-sans-fonts for package: rrdtool-1.4.9-1.el7.x86_64
--> Processing Dependency: dejavu-lgc-sans-mono-fonts for package: rrdtool-1.4.9-1.el7.x86_64
---> Package rrdtool-devel.x86_64 0:1.4.9-1.el7 will be installed
---> Package rrdtool-perl.x86_64 0:1.4.8-9.el7 will be updated
---> Package rrdtool-perl.x86_64 0:1.4.9-1.el7 will be an update
---> Package rrdtool-python.x86_64 0:1.4.8-9.el7 will be updated
---> Package rrdtool-python.x86_64 0:1.4.9-1.el7 will be an update
--> Processing Conflict: nagiosxi-nrpe-5.6.5-1.el7.x86_64 conflicts nagiosxi-deps-el7
No package matched to upgrade: nagiosxi-nrpe
--> Processing Conflict: nagiosxi-nrds-5.6.5-1.el7.x86_64 conflicts nagiosxi-deps-el7
No package matched to upgrade: nagiosxi-nrds
--> Processing Conflict: nagiosxi-mrtg-5.6.5-1.el7.x86_64 conflicts nagiosxi-deps-el7
No package matched to upgrade: nagiosxi-mrtg
--> Processing Conflict: nagiosxi-nxti-5.6.5-1.el7.x86_64 conflicts nagiosxi-deps-el7
No package matched to upgrade: nagiosxi-nxti
--> Processing Conflict: nagiosxi-nxti-5.6.5-1.el7.x86_64 conflicts snmptt
No package matched to upgrade: nagiosxi-nxti
--> Processing Conflict: nagiosxi-ndoutils-5.6.5-1.el7.x86_64 conflicts nagiosxi-deps-el7
No package matched to upgrade: nagiosxi-ndoutils
--> Processing Conflict: nagiosxi-pnp-5.6.5-1.el7.x86_64 conflicts nagiosxi-deps-el7
No package matched to upgrade: nagiosxi-pnp
--> Processing Conflict: nagiosxi-nagioscore-5.6.5-1.el7.x86_64 conflicts nagiosxi-deps-el7
No package matched to upgrade: nagiosxi-nagioscore
--> Processing Conflict: nagiosxi-nagiosmobile-5.6.5-1.el7.x86_64 conflicts nagiosxi-deps-el7
No package matched to upgrade: nagiosxi-nagiosmobile
--> Processing Conflict: nagiosxi-nsca-5.6.5-1.el7.x86_64 conflicts nagiosxi-deps-el7
No package matched to upgrade: nagiosxi-nsca
--> Processing Conflict: nagiosxi-wmic-5.6.5-1.el7.x86_64 conflicts nagiosxi-deps-el7
No package matched to upgrade: nagiosxi-wmic
--> Processing Conflict: nagiosxi-nagiosplugins-5.6.5-1.el7.x86_64 conflicts nagiosxi-deps-el7
No package matched to upgrade: nagiosxi-nagiosplugins
--> Processing Conflict: nagiosxi-5.6.5-1.el7.x86_64 conflicts nagiosxi-deps-el7
No package matched to upgrade: nagiosxi
--> Processing Conflict: nagiosxi-shellinabox-5.6.5-1.el7.x86_64 conflicts nagiosxi-deps-el7
No package matched to upgrade: nagiosxi-shellinabox
--> Processing Conflict: nagiosxi-shellinabox-5.6.5-1.el7.x86_64 conflicts shellinabox
No package matched to upgrade: nagiosxi-shellinabox
--> Finished Dependency Resolution
Error: nagiosxi-nxti conflicts with nagiosxi-deps-el7-5.5.7-1.noarch
Error: nagiosxi-nrpe conflicts with nagiosxi-deps-el7-5.5.7-1.noarch
Error: nagiosxi-nagiosmobile conflicts with nagiosxi-deps-el7-5.5.7-1.noarch
Error: nagiosxi-wmic conflicts with nagiosxi-deps-el7-5.5.7-1.noarch
Error: nagiosxi-nrds conflicts with nagiosxi-deps-el7-5.5.7-1.noarch
Error: nagiosxi-mrtg conflicts with nagiosxi-deps-el7-5.5.7-1.noarch
Error: nagiosxi-nagiosplugins conflicts with nagiosxi-deps-el7-5.5.7-1.noarch
Error: nagiosxi-shellinabox conflicts with shellinabox-2.20-5.el7.x86_64
Error: nagiosxi-nxti conflicts with snmptt-1.4-0.9.beta2.el7.noarch
Error: Package: rrdtool-1.4.9-1.el7.x86_64 (/rrdtool-1.4.9-1.el7.x86_64)
Requires: dejavu-lgc-sans-fonts
Error: nagiosxi-pnp conflicts with nagiosxi-deps-el7-5.5.7-1.noarch
Error: Package: rrdtool-1.4.9-1.el7.x86_64 (/rrdtool-1.4.9-1.el7.x86_64)
Requires: dejavu-lgc-sans-mono-fonts
Error: nagiosxi-ndoutils conflicts with nagiosxi-deps-el7-5.5.7-1.noarch
Error: nagiosxi-nagioscore conflicts with nagiosxi-deps-el7-5.5.7-1.noarch
Error: Package: nagiosxi-5.6.5-1.el7.x86_64 (/nagiosxi-5.6.5-1.el7.x86_64)
Requires: iptables-services
Error: nagiosxi conflicts with nagiosxi-deps-el7-5.5.7-1.noarch
Error: nagiosxi-nsca conflicts with nagiosxi-deps-el7-5.5.7-1.noarch
Error: nagiosxi-shellinabox conflicts with nagiosxi-deps-el7-5.5.7-1.noarch
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
I could see that the upgrade is failing due to conflicts. Please help.

Re: NagiosXI upgrade: 5.6.5-1

Posted: Wed Aug 07, 2019 6:30 am
by scottwilkerson
The message

Code: Select all

 conflicts nagiosxi-deps-el7
will occur if you have a source install and are trying to upgrade with the RPM packages. They are not interchangeable.

You will need to follow this document starting on page 2
https://assets.nagios.com/downloads/nag ... ctions.pdf

Re: NagiosXI upgrade: 5.6.5-1

Posted: Wed Aug 07, 2019 5:50 pm
by anilgupta
will occur if you have a source install and are trying to upgrade with the RPM packages. They are not interchangeable.
Please suggest how to confirm the installation type.
You will need to follow this document starting on page 2
https://assets.nagios.com/downloads/nag ... ctions.pdf
I am following the referred guide.
Firstly, Using Nagios XI Web Interface is not working for me. The page is not getting the latest version. I will upload the screenshot for reference

Secondly, I tried with below commands

Code: Select all

wget -O upgrade.sh https://assets.nagios.com/downloads/nagiosxi/upgrade.sh
sh ./upgrade.sh
However it is not succeeding. Below is the output.

Code: Select all

[root@pstvmpkimon02 ~]# wget -O upgrade.sh https://assets.nagios.com/downloads/nagiosxi/upgrade.sh
--2019-08-07 18:20:14--  https://assets.nagios.com/downloads/nagiosxi/upgrade.sh
Connecting to 204.40.194.129:3128... connected.
Proxy request sent, awaiting response... 200 OK
Length: 579 [application/x-sh]
Saving to: ‘upgrade.sh’

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

2019-08-07 18:20:15 (17.8 MB/s) - ‘upgrade.sh’ saved [579/579]

[b][root@pstvmpkimon02 ~]# sh ./upgrade.sh[/b]
Removing the old /tmp/nagiosxi directory, and xi-* tarball
Downloading latest Nagios XI release
--2019-08-07 18:21:02--  https://assets.nagios.com/downloads/nagiosxi/xi-latest.tar.gz
Connecting to 204.40.194.129:3128... connected.
Proxy request sent, awaiting response... 200 OK
Length: 58048805 (55M) [application/x-gzip]
Saving to: ‘/tmp/xi-latest.tar.gz’

100%[===========================================================================>] 58,048,805  1.96MB/s   in 29s

2019-08-07 18:21:31 (1.94 MB/s) - ‘/tmp/xi-latest.tar.gz’ saved [58048805/58048805]

Running upgrade
Nagios XI Upgrade Log
==========================
DATE: Wed Aug  7 18:21:36 EDT 2019

DISTRO INFO:
RedHatEnterpriseServer
7.5
x86_64


Archive:  sourceguardian/ixed4.lin.x86-64.zip
  inflating: /usr/lib64/php/modules/ixed.5.4.lin
Sourceguardian extension found for PHP version 5.4
Sourceguardian extension already in php.ini
Checking required prereqs...
Please wait...

OLD VERSION: 5508
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-
              : manager
This system is registered with an entitlement server, but is not receiving updates. You can use subscription-manager to assign subscriptions.
Repository nagios-base is listed more than once in the configuration
Repository nagiosxi-deps is listed more than once in the configuration
file:///mnt/repodata/repomd.xml: [Errno 14] curl#37 - "Couldn't open file /mnt/repodata/repomd.xml"
Trying other mirror.
No packages marked for update
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-
              : manager
This system is registered with an entitlement server, but is not receiving updates. You can use subscription-manager to assign subscriptions.
Repository nagios-base is listed more than once in the configuration
Repository nagiosxi-deps is listed more than once in the configuration
Examining /tmp/nagiosxi/nagiosxi-deps-el7-5.6.5-1.noarch.rpm: nagiosxi-deps-el7-5.6.5-1.noarch
Marking /tmp/nagiosxi/nagiosxi-deps-el7-5.6.5-1.noarch.rpm as an update to nagiosxi-deps-el7-5.5.8-1.noarch
Resolving Dependencies
--> Running transaction check
---> Package nagiosxi-deps-el7.noarch 0:5.5.8-1 will be updated
---> Package nagiosxi-deps-el7.noarch 0:5.6.5-1 will be an update
--> Processing Dependency: php-imap for package: nagiosxi-deps-el7-5.6.5-1.noarch
file:///mnt/repodata/repomd.xml: [Errno 14] curl#37 - "Couldn't open file /mnt/repodata/repomd.xml"
Trying other mirror.
--> Processing Dependency: ansible for package: nagiosxi-deps-el7-5.6.5-1.noarch
--> Running transaction check
---> Package ansible.noarch 0:2.8.2-1.el7 will be installed
--> Processing Dependency: python-httplib2 for package: ansible-2.8.2-1.el7.noarch
--> Processing Dependency: python-jinja2 for package: ansible-2.8.2-1.el7.noarch
--> Processing Dependency: python-paramiko for package: ansible-2.8.2-1.el7.noarch
--> Processing Dependency: python2-cryptography for package: ansible-2.8.2-1.el7.noarch
--> Processing Dependency: python2-jmespath for package: ansible-2.8.2-1.el7.noarch
--> Processing Dependency: sshpass for package: ansible-2.8.2-1.el7.noarch
---> Package php-imap.x86_64 0:5.4.16-9.el7 will be installed
--> Processing Dependency: libc-client.so.2007()(64bit) for package: php-imap-5.4.16-9.el7.x86_64
--> Running transaction check
---> Package ansible.noarch 0:2.8.2-1.el7 will be installed
--> Processing Dependency: python-jinja2 for package: ansible-2.8.2-1.el7.noarch
--> Processing Dependency: python2-cryptography for package: ansible-2.8.2-1.el7.noarch
---> Package libc-client.x86_64 0:2007f-16.el7 will be installed
---> Package python-httplib2.noarch 0:0.9.2-0.2.el7 will be installed
---> Package python-paramiko.noarch 0:2.1.1-0.10.el7 will be installed
--> Processing Dependency: python-cryptography for package: python-paramiko-2.1.1-0.10.el7.noarch
--> Processing Dependency: python2-pyasn1 for package: python-paramiko-2.1.1-0.10.el7.noarch
---> Package python2-jmespath.noarch 0:0.9.0-1.el7 will be installed
---> Package sshpass.x86_64 0:1.06-1.el7 will be installed
--> Finished Dependency Resolution
Error: Package: ansible-2.8.2-1.el7.noarch (epel)
           Requires: python-jinja2
Error: Package: python-paramiko-2.1.1-0.10.el7.noarch (epel)
           Requires: python-cryptography
Error: Package: ansible-2.8.2-1.el7.noarch (epel)
           Requires: python2-cryptography
Error: Package: python-paramiko-2.1.1-0.10.el7.noarch (epel)
           Requires: python2-pyasn1
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-
              : manager
This system is registered with an entitlement server, but is not receiving updates. You can use subscription-manager to assign subscriptions.
Repository nagios-base is listed more than once in the configuration
Repository nagiosxi-deps is listed more than once in the configuration
Cleaning repos: InstallMedia epel epel-debuginfo epel-source epel-testing
              : epel-testing-debuginfo epel-testing-source nagios-base
              : nagiosxi-deps skype-stable
Cleaning up everything
Maybe you want: rm -rf /var/cache/yum, to also free up space taken by orphaned data from disabled or removed repos
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-
              : manager
This system is registered with an entitlement server, but is not receiving updates. You can use subscription-manager to assign subscriptions.
Repository nagios-base is listed more than once in the configuration
Repository nagiosxi-deps is listed more than once in the configuration
Examining /tmp/nagiosxi/nagiosxi-deps-el7-5.6.5-1.noarch.rpm: nagiosxi-deps-el7-5.6.5-1.noarch
Marking /tmp/nagiosxi/nagiosxi-deps-el7-5.6.5-1.noarch.rpm as an update to nagiosxi-deps-el7-5.5.8-1.noarch
Resolving Dependencies
--> Running transaction check
---> Package nagiosxi-deps-el7.noarch 0:5.5.8-1 will be updated
---> Package nagiosxi-deps-el7.noarch 0:5.6.5-1 will be an update
file:///mnt/repodata/repomd.xml: [Errno 14] curl#37 - "Couldn't open file /mnt/repodata/repomd.xml"
Trying other mirror.
--> Processing Dependency: php-imap for package: nagiosxi-deps-el7-5.6.5-1.noarch
--> Processing Dependency: ansible for package: nagiosxi-deps-el7-5.6.5-1.noarch
--> Running transaction check
---> Package ansible.noarch 0:2.8.2-1.el7 will be installed
--> Processing Dependency: python-httplib2 for package: ansible-2.8.2-1.el7.noarch
--> Processing Dependency: python-jinja2 for package: ansible-2.8.2-1.el7.noarch
--> Processing Dependency: python-paramiko for package: ansible-2.8.2-1.el7.noarch
--> Processing Dependency: python2-cryptography for package: ansible-2.8.2-1.el7.noarch
--> Processing Dependency: python2-jmespath for package: ansible-2.8.2-1.el7.noarch
--> Processing Dependency: sshpass for package: ansible-2.8.2-1.el7.noarch
---> Package php-imap.x86_64 0:5.4.16-9.el7 will be installed
--> Processing Dependency: libc-client.so.2007()(64bit) for package: php-imap-5.4.16-9.el7.x86_64
--> Running transaction check
---> Package ansible.noarch 0:2.8.2-1.el7 will be installed
--> Processing Dependency: python-jinja2 for package: ansible-2.8.2-1.el7.noarch
--> Processing Dependency: python2-cryptography for package: ansible-2.8.2-1.el7.noarch
---> Package libc-client.x86_64 0:2007f-16.el7 will be installed
---> Package python-httplib2.noarch 0:0.9.2-0.2.el7 will be installed
---> Package python-paramiko.noarch 0:2.1.1-0.10.el7 will be installed
--> Processing Dependency: python-cryptography for package: python-paramiko-2.1.1-0.10.el7.noarch
--> Processing Dependency: python2-pyasn1 for package: python-paramiko-2.1.1-0.10.el7.noarch
---> Package python2-jmespath.noarch 0:0.9.0-1.el7 will be installed
---> Package sshpass.x86_64 0:1.06-1.el7 will be installed
--> Finished Dependency Resolution
Error: Package: ansible-2.8.2-1.el7.noarch (epel)
           Requires: python-jinja2
Error: Package: python-paramiko-2.1.1-0.10.el7.noarch (epel)
           Requires: python-cryptography
Error: Package: ansible-2.8.2-1.el7.noarch (epel)
           Requires: python2-cryptography
Error: Package: python-paramiko-2.1.1-0.10.el7.noarch (epel)
           Requires: python2-pyasn1
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
Manual Download tried at first which didn't work

Request your expert help to proceed further.

Re: NagiosXI upgrade: 5.6.5-1

Posted: Wed Aug 07, 2019 5:53 pm
by anilgupta
Please find the screenshot for web ui upgrade option

Re: NagiosXI upgrade: 5.6.5-1

Posted: Thu Aug 08, 2019 7:27 am
by scottwilkerson
Can you try running the following and post the output

Code: Select all

yum clean all
yum install -y python-jinja2 python-cryptography python2-cryptography python2-pyasn1

Re: NagiosXI upgrade: 5.6.5-1

Posted: Thu Aug 08, 2019 3:55 pm
by anilgupta
Can you try running the following and post the output

Code: Select all

[root@pstvmpkimon02 guptaa]# yum clean all
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
This system is registered with an entitlement server, but is not receiving updates. You can use subscription-manager to assign subscriptions.
Repository nagios-base is listed more than once in the configuration
Repository nagiosxi-deps is listed more than once in the configuration
Cleaning repos: InstallMedia epel epel-debuginfo epel-source epel-testing epel-testing-debuginfo epel-testing-source
              : nagios-base nagiosxi-deps skype-stable
Cleaning up everything
Maybe you want: rm -rf /var/cache/yum, to also free up space taken by orphaned data from disabled or removed repos

Code: Select all

[root@pstvmpkimon02 guptaa]# yum install -y python-jinja2 python-cryptography python2-cryptography python2-pyasn1
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
This system is registered with an entitlement server, but is not receiving updates. You can use subscription-manager to assign subscriptions.
Repository nagios-base is listed more than once in the configuration
Repository nagiosxi-deps is listed more than once in the configuration
file:///mnt/repodata/repomd.xml: [Errno 14] curl#37 - "Couldn't open file /mnt/repodata/repomd.xml"
Trying other mirror.
epel/x86_64/metalink                                                                          |  16 kB  00:00:00
epel                                                                                          | 5.3 kB  00:00:00
epel-debuginfo/x86_64/metalink                                                                |  15 kB  00:00:00
epel-debuginfo                                                                                | 3.0 kB  00:00:00
epel-source/x86_64/metalink                                                                   |  16 kB  00:00:00
epel-source                                                                                   | 4.1 kB  00:00:00
epel-testing/x86_64/metalink                                                                  |  16 kB  00:00:00
epel-testing                                                                                  | 5.3 kB  00:00:00
epel-testing-debuginfo/x86_64/metalink                                                        |  16 kB  00:00:00
epel-testing-debuginfo                                                                        | 3.0 kB  00:00:00
epel-testing-source/x86_64/metalink                                                           |  16 kB  00:00:00
epel-testing-source                                                                           | 4.1 kB  00:00:00
nagios-base                                                                                   | 1.2 kB  00:00:00
nagiosxi-deps                                                                                 | 1.2 kB  00:00:00
skype-stable                                                                                  | 2.9 kB  00:00:00
(1/15): epel/x86_64/group_gz                                                                  |  88 kB  00:00:00
(2/15): epel/x86_64/updateinfo                                                                | 994 kB  00:00:01
(3/15): epel-debuginfo/x86_64/primary_db                                                      | 903 kB  00:00:01
(4/15): epel-source/x86_64/updateinfo                                                         | 994 kB  00:00:01
(5/15): epel-testing/x86_64/group_gz                                                          |  88 kB  00:00:00
(6/15): epel-testing/x86_64/updateinfo                                                        |  56 kB  00:00:00
(7/15): epel-testing-debuginfo/x86_64/primary_db                                              |  36 kB  00:00:00
(8/15): epel-testing-source/x86_64/updateinfo                                                 |  56 kB  00:00:00
(9/15): epel-source/x86_64/primary_db                                                         | 2.4 MB  00:00:01
(10/15): epel-testing/x86_64/primary_db                                                       | 432 kB  00:00:00
(11/15): epel-testing-source/x86_64/primary_db                                                | 112 kB  00:00:00
(12/15): nagios-base/primary                                                                  | 1.9 kB  00:00:00
(13/15): epel/x86_64/primary_db                                                               | 6.8 MB  00:00:03
(14/15): nagiosxi-deps/primary                                                                | 7.0 kB  00:00:00
(15/15): skype-stable/primary_db                                                              |  11 kB  00:00:00
nagios-base                                                                                                    11/11
nagiosxi-deps                                                                                                  26/26
No package python-jinja2 available.
No package python-cryptography available.
No package python2-cryptography available.
No package python2-pyasn1 available.
Error: Nothing to do

Re: NagiosXI upgrade: 5.6.5-1

Posted: Thu Aug 08, 2019 4:38 pm
by scottwilkerson
The problem is this

Code: Select all

This system is registered with an entitlement server, but is not receiving updates. You can use subscription-manager to assign subscriptions.
and more specifically this

Code: Select all

*** WARNING ***
The subscription for following product(s) has expired:
- MRG Realtime
- Oracle Java (for RHEL Server)
- Oracle Java (for RHEL Server) - Extended Update Support
- RHEL for SAP (for IBM Power LE) - Update Services for SAP Solutions
- RHEL for SAP - Extended Update Support
- RHEL for SAP - Update Services for SAP Solutions
- RHEL for SAP HANA - Extended Update Support
- RHEL for SAP HANA - Update Services for SAP Solutions
- Red Hat Ansible Engine
- Red Hat Beta
- Red Hat Container Development Kit
- Red Hat Container Images
- Red Hat Container Images Beta
- Red Hat Developer Tools (for RHEL Server)
- Red Hat Developer Tools Beta (for RHEL Server)
- Red Hat Developer Toolset (for RHEL Server)
- Red Hat EUCJP Support (for RHEL Server) - Extended Update Support
- Red Hat Enterprise Linux Atomic Host
- Red Hat Enterprise Linux Atomic Host Beta
- Red Hat Enterprise Linux High Availability (for RHEL Server)
- Red Hat Enterprise Linux High Availability (for RHEL Server) - Extended Update Support
- Red Hat Enterprise Linux High Availability - Update Services for SAP Solutions
- Red Hat Enterprise Linux High Performance Networking (for RHEL Compute Node)
- Red Hat Enterprise Linux High Performance Networking (for RHEL Server)
- Red Hat Enterprise Linux High Performance Networking (for RHEL Server) - Extended Update Support
- Red Hat Enterprise Linux Load Balancer (for RHEL Server)
- Red Hat Enterprise Linux Load Balancer (for RHEL Server) - Extended Update Support
- Red Hat Enterprise Linux Resilient Storage (for RHEL Server)
- Red Hat Enterprise Linux Resilient Storage (for RHEL Server) - Extended Update Support
- Red Hat Enterprise Linux Scalable File System (for RHEL Server)
- Red Hat Enterprise Linux Scalable File System (for RHEL Server) - Extended Update Support
- Red Hat Enterprise Linux Server
- Red Hat Enterprise Linux Server - Extended Update Support
- Red Hat Enterprise Linux Server - Update Services for SAP Solutions
- Red Hat Enterprise Linux for ARM 64
- Red Hat Enterprise Linux for ARM 64 Beta
- Red Hat Enterprise Linux for Real Time
- Red Hat Enterprise Linux for SAP
- Red Hat Enterprise Linux for SAP Hana
- Red Hat S-JIS Support (for RHEL Server) - Extended Update Support
- Red Hat Software Collections (for RHEL Server)
- Red Hat Software Collections Beta (for RHEL Server)
- dotNET on RHEL (for RHEL Server)
- dotNET on RHEL Beta (for RHEL Server)
You no longer have access to the repositories that provide these products. It is important that you apply an active subscription in order to resume access to security and other critical updates. If you don't have other active subscriptions, you can renew the expired subscription.
The packages that need to be installed are included in what should be the base repository (from RHEL) but your system doesn't seem able to get them.