Page 1 of 2

Nagios XI upgrade from 5.5.6 to 5.6.11

Posted: Sun Apr 05, 2020 3:57 am
by ets_user
Hi,

We are planning to upgrade XI from 5.5.6 to 5.6.11 with offline installation.
https://assets.nagios.com/downloads/nag ... onment.pdf
Downloaded the latest tar file nagiosxi-5.6.11-1.el7.x86_64.tar.gz.

Then tried to run ./upgarde with root user after unzip but getting below error.

[root@nagios-srvr nagiosxi]# ./upgrade
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
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.11-1.el7.x86_64.rpm: nagiosxi-5.6.11-1.el7.x86_64
Marking nagiosxi-5.6.11-1.el7.x86_64.rpm to be installed
Examining nagiosxi-mrtg-5.6.11-1.el7.x86_64.rpm: nagiosxi-mrtg-5.6.11-1.el7.x86_64
Marking nagiosxi-mrtg-5.6.11-1.el7.x86_64.rpm to be installed
Examining nagiosxi-nagioscore-5.6.11-1.el7.x86_64.rpm: nagiosxi-nagioscore-5.6.11-1.el7.x86_64
Marking nagiosxi-nagioscore-5.6.11-1.el7.x86_64.rpm to be installed
Examining nagiosxi-nagiosmobile-5.6.11-1.el7.x86_64.rpm: nagiosxi-nagiosmobile-5.6.11-1.el7.x86_64
Marking nagiosxi-nagiosmobile-5.6.11-1.el7.x86_64.rpm to be installed
Examining nagiosxi-nagiosplugins-5.6.11-1.el7.x86_64.rpm: nagiosxi-nagiosplugins-5.6.11-1.el7.x86_64
Marking nagiosxi-nagiosplugins-5.6.11-1.el7.x86_64.rpm to be installed
Examining nagiosxi-nagvis-5.6.11-1.el7.x86_64.rpm: nagiosxi-nagvis-5.6.11-1.el7.x86_64
Marking nagiosxi-nagvis-5.6.11-1.el7.x86_64.rpm as an update to nagiosxi-nagvis-5.5.7-1.el7.x86_64
Examining nagiosxi-ndoutils-5.6.11-1.el7.x86_64.rpm: nagiosxi-ndoutils-5.6.11-1.el7.x86_64
Marking nagiosxi-ndoutils-5.6.11-1.el7.x86_64.rpm to be installed
Examining nagiosxi-nrds-5.6.11-1.el7.x86_64.rpm: nagiosxi-nrds-5.6.11-1.el7.x86_64
Marking nagiosxi-nrds-5.6.11-1.el7.x86_64.rpm to be installed
Examining nagiosxi-nrpe-5.6.11-1.el7.x86_64.rpm: nagiosxi-nrpe-5.6.11-1.el7.x86_64
Marking nagiosxi-nrpe-5.6.11-1.el7.x86_64.rpm to be installed
Examining nagiosxi-nsca-5.6.11-1.el7.x86_64.rpm: nagiosxi-nsca-5.6.11-1.el7.x86_64
Marking nagiosxi-nsca-5.6.11-1.el7.x86_64.rpm to be installed
Examining nagiosxi-nxti-5.6.11-1.el7.x86_64.rpm: nagiosxi-nxti-5.6.11-1.el7.x86_64
Marking nagiosxi-nxti-5.6.11-1.el7.x86_64.rpm to be installed
Examining nagiosxi-pnp-5.6.11-1.el7.x86_64.rpm: nagiosxi-pnp-5.6.11-1.el7.x86_64
Marking nagiosxi-pnp-5.6.11-1.el7.x86_64.rpm to be installed
Examining nagiosxi-shellinabox-5.6.11-1.el7.x86_64.rpm: nagiosxi-shellinabox-5.6.11-1.el7.x86_64
Marking nagiosxi-shellinabox-5.6.11-1.el7.x86_64.rpm to be installed
Examining nagiosxi-wkhtmltox-5.6.11-1.el7.x86_64.rpm: nagiosxi-wkhtmltox-5.6.11-1.el7.x86_64
Marking nagiosxi-wkhtmltox-5.6.11-1.el7.x86_64.rpm as an update to nagiosxi-wkhtmltox-5.5.7-1.el7.x86_64
Examining nagiosxi-wmic-5.6.11-1.el7.x86_64.rpm: nagiosxi-wmic-5.6.11-1.el7.x86_64
Marking nagiosxi-wmic-5.6.11-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
perl-Mail-POP3Client-2.19-5.el7.noarch.rpm: does not update installed package.
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
perl-Nagios-Monitoring-Plugin-0.51-1.el7.noarch.rpm: does not update installed package.
Examining perl-Net-SMTP-TLS-0.12-1.el7.noarch.rpm: perl-Net-SMTP-TLS-0.12-1.of.el7.noarch
perl-Net-SMTP-TLS-0.12-1.el7.noarch.rpm: does not update installed package.
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
php-mcrypt-5.4.16-7.el7.x86_64.rpm: does not update installed package.
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
php-pear-HTML-Template-IT-1.3.0-2.el5.noarch.rpm: does not update installed package.
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
python-bson-2.5.2-4.el7.x86_64.rpm: does not update installed package.
Examining python-pymongo-2.5.2-4.el7.x86_64.rpm: python-pymongo-2.5.2-4.el7.x86_64
python-pymongo-2.5.2-4.el7.x86_64.rpm: does not update installed package.
Examining python-pymssql-2.1.1-1.el7.x86_64.rpm: python-pymssql-2.1.1-1.el7.x86_64
python-pymssql-2.1.1-1.el7.x86_64.rpm: does not update installed package.
Examining python-simplejson-3.3.3-1.el7.x86_64.rpm: python-simplejson-3.3.3-1.el7.x86_64
python-simplejson-3.3.3-1.el7.x86_64.rpm: does not update installed package.
Examining rrdtool-1.4.9-1.el7.x86_64.rpm: rrdtool-1.4.9-1.el7.x86_64
rrdtool-1.4.9-1.el7.x86_64.rpm: does not update installed package.
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
rrdtool-perl-1.4.9-1.el7.x86_64.rpm: does not update installed package.
Examining rrdtool-python-1.4.9-1.el7.x86_64.rpm: rrdtool-python-1.4.9-1.el7.x86_64
rrdtool-python-1.4.9-1.el7.x86_64.rpm: does not update installed package.
Resolving Dependencies
--> Running transaction check
---> Package libc-client.x86_64 0:2007f-16.el7 will be installed
---> Package nagiosxi.x86_64 0:5.6.11-1.el7 will be installed
--> Processing Dependency: mariadb-server for package: nagiosxi-5.6.11-1.el7.x86_64
Package 1:mariadb-server-5.5.56-2.el7.x86_64 is obsoleted by mysql-community-server-5.7.20-1.el7.x86_64 which is already installed
---> Package nagiosxi-mrtg.x86_64 0:5.6.11-1.el7 will be installed
---> Package nagiosxi-nagioscore.x86_64 0:5.6.11-1.el7 will be installed
---> Package nagiosxi-nagiosmobile.x86_64 0:5.6.11-1.el7 will be installed
---> Package nagiosxi-nagiosplugins.x86_64 0:5.6.11-1.el7 will be installed
---> Package nagiosxi-nagvis.x86_64 0:5.5.7-1.el7 will be updated
---> Package nagiosxi-nagvis.x86_64 0:5.6.11-1.el7 will be an update
---> Package nagiosxi-ndoutils.x86_64 0:5.6.11-1.el7 will be installed
---> Package nagiosxi-nrds.x86_64 0:5.6.11-1.el7 will be installed
---> Package nagiosxi-nrpe.x86_64 0:5.6.11-1.el7 will be installed
---> Package nagiosxi-nsca.x86_64 0:5.6.11-1.el7 will be installed
---> Package nagiosxi-nxti.x86_64 0:5.6.11-1.el7 will be installed
---> Package nagiosxi-pnp.x86_64 0:5.6.11-1.el7 will be installed
---> Package nagiosxi-shellinabox.x86_64 0:5.6.11-1.el7 will be installed
---> Package nagiosxi-wkhtmltox.x86_64 0:5.5.7-1.el7 will be updated
---> Package nagiosxi-wkhtmltox.x86_64 0:5.6.11-1.el7 will be an update
---> Package nagiosxi-wmic.x86_64 0:5.6.11-1.el7 will be installed
---> Package php-imap.x86_64 0:5.4.16-7.el7 will be installed
---> Package rrdtool-devel.x86_64 0:1.4.9-1.el7 will be installed
--> Processing Conflict: nagiosxi-nxti-5.6.11-1.el7.x86_64 conflicts snmptt
No package matched to upgrade: nagiosxi-nxti
--> Processing Conflict: nagiosxi-shellinabox-5.6.11-1.el7.x86_64 conflicts shellinabox
No package matched to upgrade: nagiosxi-shellinabox
--> Finished Dependency Resolution
Error: Package: nagiosxi-5.6.11-1.el7.x86_64 (/nagiosxi-5.6.11-1.el7.x86_64)
Requires: mariadb-server
Available: 1:mariadb-server-5.5.56-2.el7.x86_64 (InstallMedia)
mariadb-server = 1:5.5.56-2.el7
Error: nagiosxi-nxti conflicts with snmptt-1.4-0.9.beta2.el7.noarch
Error: nagiosxi-shellinabox conflicts with shellinabox-2.20-5.el7.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest


Kindly advise.

Re: Nagios XI upgrade from 5.5.6 to 5.6.11

Posted: Mon Apr 06, 2020 9:32 am
by ssax
It looks like you have have tried to use the Offline RPM file but you have a source install.

Before doing anything else, let's take a look just to make sure you don't currently have the RPMs installed:

Code: Select all

rpm -qa | grep nagiosxi
Try using the source install .tar.gz from here:

Code: Select all

http://assets.nagios.com/downloads/nagiosxi/xi-latest.tar.gz
See the Manual Download section here:

Code: Select all

https://assets.nagios.com/downloads/nagiosxi/docs/XI-Upgrade-Instructions.pdf
Thank you

Re: Nagios XI upgrade from 5.5.6 to 5.6.11

Posted: Mon Apr 13, 2020 2:36 am
by ets_user
Hi,

Please find below the output.

[user@nagios-srvr ~]# rpm -qa | grep nagiosxi
nagiosxi-nagvis-5.5.7-1.el7.x86_64
nagiosxi-wkhtmltox-5.5.7-1.el7.x86_64

We are following below link (using nagiosxi-5-4.7.el7.x86_64.tar.gz file to upgrade)
https://assets.nagios.com/downloads/nag ... onment.pdf
instead of (xi-latest.tar.gz)
https://assets.nagios.com/downloads/nag ... ctions.pdf
since we are doing offline installation.

During the steps only we are facing issue while executing ./upgrade and posted the results in my first post.

Can we use the file http://assets.nagios.com/downloads/nagi ... est.tar.gz for offline upgrade also?

Because I can see xi-latest.tar.gz in manual upgrade page and nagiosxi-5-4.7.el7.x86_64.tar.gz in offline installation link.

Thanks.

Re: Nagios XI upgrade from 5.5.6 to 5.6.11

Posted: Mon Apr 13, 2020 11:07 am
by ssax
Can we use the file http://assets.nagios.com/downloads/nagi ... est.tar.gz for offline upgrade also?
No, you should use the offline package if it's an offline system (no internet/no external yum repo access).

It looks like you may have had a source install, now you're trying to use an RPM install?

First, backup your /etc/snmp directory, then do this:

Code: Select all

yum remove snmptt shellinabox
Then try the upgrade again and see if it finishes, please include the /tmp/xi-upgrade.log file as well (or upgrade.log if using the source installer).

Re: Nagios XI upgrade from 5.5.6 to 5.6.11

Posted: Tue Apr 14, 2020 2:54 am
by ets_user
Hi,

I tried the steps and below is the error I am getting now while trying ./upgarde.

[root@nagios-srvr nagiosxi]# ./upgrade
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
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.11-1.el7.x86_64.rpm: nagiosxi-5.6.11-1.el7.x86_64
Marking nagiosxi-5.6.11-1.el7.x86_64.rpm to be installed
Examining nagiosxi-mrtg-5.6.11-1.el7.x86_64.rpm: nagiosxi-mrtg-5.6.11-1.el7.x86_64
Marking nagiosxi-mrtg-5.6.11-1.el7.x86_64.rpm to be installed
Examining nagiosxi-nagioscore-5.6.11-1.el7.x86_64.rpm: nagiosxi-nagioscore-5.6.11-1.el7.x86_64
Marking nagiosxi-nagioscore-5.6.11-1.el7.x86_64.rpm to be installed
Examining nagiosxi-nagiosmobile-5.6.11-1.el7.x86_64.rpm: nagiosxi-nagiosmobile-5.6.11-1.el7.x86_64
Marking nagiosxi-nagiosmobile-5.6.11-1.el7.x86_64.rpm to be installed
Examining nagiosxi-nagiosplugins-5.6.11-1.el7.x86_64.rpm: nagiosxi-nagiosplugins-5.6.11-1.el7.x86_64
Marking nagiosxi-nagiosplugins-5.6.11-1.el7.x86_64.rpm to be installed
Examining nagiosxi-nagvis-5.6.11-1.el7.x86_64.rpm: nagiosxi-nagvis-5.6.11-1.el7.x86_64
Marking nagiosxi-nagvis-5.6.11-1.el7.x86_64.rpm as an update to nagiosxi-nagvis-5.5.7-1.el7.x86_64
Examining nagiosxi-ndoutils-5.6.11-1.el7.x86_64.rpm: nagiosxi-ndoutils-5.6.11-1.el7.x86_64
Marking nagiosxi-ndoutils-5.6.11-1.el7.x86_64.rpm to be installed
Examining nagiosxi-nrds-5.6.11-1.el7.x86_64.rpm: nagiosxi-nrds-5.6.11-1.el7.x86_64
Marking nagiosxi-nrds-5.6.11-1.el7.x86_64.rpm to be installed
Examining nagiosxi-nrpe-5.6.11-1.el7.x86_64.rpm: nagiosxi-nrpe-5.6.11-1.el7.x86_64
Marking nagiosxi-nrpe-5.6.11-1.el7.x86_64.rpm to be installed
Examining nagiosxi-nsca-5.6.11-1.el7.x86_64.rpm: nagiosxi-nsca-5.6.11-1.el7.x86_64
Marking nagiosxi-nsca-5.6.11-1.el7.x86_64.rpm to be installed
Examining nagiosxi-nxti-5.6.11-1.el7.x86_64.rpm: nagiosxi-nxti-5.6.11-1.el7.x86_64
Marking nagiosxi-nxti-5.6.11-1.el7.x86_64.rpm to be installed
Examining nagiosxi-pnp-5.6.11-1.el7.x86_64.rpm: nagiosxi-pnp-5.6.11-1.el7.x86_64
Marking nagiosxi-pnp-5.6.11-1.el7.x86_64.rpm to be installed
Examining nagiosxi-shellinabox-5.6.11-1.el7.x86_64.rpm: nagiosxi-shellinabox-5.6.11-1.el7.x86_64
Marking nagiosxi-shellinabox-5.6.11-1.el7.x86_64.rpm to be installed
Examining nagiosxi-wkhtmltox-5.6.11-1.el7.x86_64.rpm: nagiosxi-wkhtmltox-5.6.11-1.el7.x86_64
Marking nagiosxi-wkhtmltox-5.6.11-1.el7.x86_64.rpm as an update to nagiosxi-wkhtmltox-5.5.7-1.el7.x86_64
Examining nagiosxi-wmic-5.6.11-1.el7.x86_64.rpm: nagiosxi-wmic-5.6.11-1.el7.x86_64
Marking nagiosxi-wmic-5.6.11-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
perl-Mail-POP3Client-2.19-5.el7.noarch.rpm: does not update installed package.
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
perl-Nagios-Monitoring-Plugin-0.51-1.el7.noarch.rpm: does not update installed package.
Examining perl-Net-SMTP-TLS-0.12-1.el7.noarch.rpm: perl-Net-SMTP-TLS-0.12-1.of.el7.noarch
perl-Net-SMTP-TLS-0.12-1.el7.noarch.rpm: does not update installed package.
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
php-mcrypt-5.4.16-7.el7.x86_64.rpm: does not update installed package.
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
php-pear-HTML-Template-IT-1.3.0-2.el5.noarch.rpm: does not update installed package.
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
python-bson-2.5.2-4.el7.x86_64.rpm: does not update installed package.
Examining python-pymongo-2.5.2-4.el7.x86_64.rpm: python-pymongo-2.5.2-4.el7.x86_64
python-pymongo-2.5.2-4.el7.x86_64.rpm: does not update installed package.
Examining python-pymssql-2.1.1-1.el7.x86_64.rpm: python-pymssql-2.1.1-1.el7.x86_64
python-pymssql-2.1.1-1.el7.x86_64.rpm: does not update installed package.
Examining python-simplejson-3.3.3-1.el7.x86_64.rpm: python-simplejson-3.3.3-1.el7.x86_64
python-simplejson-3.3.3-1.el7.x86_64.rpm: does not update installed package.
Examining rrdtool-1.4.9-1.el7.x86_64.rpm: rrdtool-1.4.9-1.el7.x86_64
rrdtool-1.4.9-1.el7.x86_64.rpm: does not update installed package.
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
rrdtool-perl-1.4.9-1.el7.x86_64.rpm: does not update installed package.
Examining rrdtool-python-1.4.9-1.el7.x86_64.rpm: rrdtool-python-1.4.9-1.el7.x86_64
rrdtool-python-1.4.9-1.el7.x86_64.rpm: does not update installed package.
Resolving Dependencies
--> Running transaction check
---> Package libc-client.x86_64 0:2007f-16.el7 will be installed
---> Package nagiosxi.x86_64 0:5.6.11-1.el7 will be installed
--> Processing Dependency: mariadb-server for package: nagiosxi-5.6.11-1.el7.x86_64
Package 1:mariadb-server-5.5.56-2.el7.x86_64 is obsoleted by mysql-community-server-5.7.20-1.el7.x86_64 which is already installed
---> Package nagiosxi-mrtg.x86_64 0:5.6.11-1.el7 will be installed
---> Package nagiosxi-nagioscore.x86_64 0:5.6.11-1.el7 will be installed
---> Package nagiosxi-nagiosmobile.x86_64 0:5.6.11-1.el7 will be installed
---> Package nagiosxi-nagiosplugins.x86_64 0:5.6.11-1.el7 will be installed
---> Package nagiosxi-nagvis.x86_64 0:5.5.7-1.el7 will be updated
---> Package nagiosxi-nagvis.x86_64 0:5.6.11-1.el7 will be an update
---> Package nagiosxi-ndoutils.x86_64 0:5.6.11-1.el7 will be installed
---> Package nagiosxi-nrds.x86_64 0:5.6.11-1.el7 will be installed
---> Package nagiosxi-nrpe.x86_64 0:5.6.11-1.el7 will be installed
---> Package nagiosxi-nsca.x86_64 0:5.6.11-1.el7 will be installed
---> Package nagiosxi-nxti.x86_64 0:5.6.11-1.el7 will be installed
---> Package nagiosxi-pnp.x86_64 0:5.6.11-1.el7 will be installed
---> Package nagiosxi-shellinabox.x86_64 0:5.6.11-1.el7 will be installed
---> Package nagiosxi-wkhtmltox.x86_64 0:5.5.7-1.el7 will be updated
---> Package nagiosxi-wkhtmltox.x86_64 0:5.6.11-1.el7 will be an update
---> Package nagiosxi-wmic.x86_64 0:5.6.11-1.el7 will be installed
---> Package php-imap.x86_64 0:5.4.16-7.el7 will be installed
---> Package rrdtool-devel.x86_64 0:1.4.9-1.el7 will be installed
--> Finished Dependency Resolution
Error: Package: nagiosxi-5.6.11-1.el7.x86_64 (/nagiosxi-5.6.11-1.el7.x86_64)
Requires: mariadb-server
Available: 1:mariadb-server-5.5.56-2.el7.x86_64 (InstallMedia)
mariadb-server = 1:5.5.56-2.el7

You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

Thanks.

Re: Nagios XI upgrade from 5.5.6 to 5.6.11

Posted: Tue Apr 14, 2020 10:49 am
by ssax
Ok, looks like you have mysql-community installed which is causing issues:
Package 1:mariadb-server-5.5.56-2.el7.x86_64 is obsoleted by mysql-community-server-5.7.20-1.el7.x86_64 which is already installed
The problem is that the RPM requires mariadb-server and you have a custom install of mysql. This will not work with the RPMs.

You likely installed from source, can you not upgrade from the source version via this guide?

https://assets.nagios.com/downloads/nag ... ctions.pdf

Re: Nagios XI upgrade from 5.5.6 to 5.6.11

Posted: Tue Apr 14, 2020 1:57 pm
by ets_user
Hi,

Thanks for the suggestion.

I tried using the link you had provided which is using xi-latest.tar.gz and below is the error now.
Now it looks like its trying to upgrade , once we resolve the below.!

[root@nagios-srvr nagiosxi]# ./upgrade
Nagios XI Upgrade Log
==========================
DATE: Tue Apr 14 22:03:33 +04 2020

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...

Resolving timed out after 15524 milliseconds
OLD VERSION: 5506
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-
: manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
No packages marked for update
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-
: manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
No package php-imap available.
Error: Nothing to do


Thanks.

Re: Nagios XI upgrade from 5.5.6 to 5.6.11

Posted: Wed Apr 15, 2020 10:36 am
by ssax
Does this server have access to the external yum repos? It doesn't look like it.

What is the output of these commands:

Code: Select all

yum repolist all
yum info php-imap

Re: Nagios XI upgrade from 5.5.6 to 5.6.11

Posted: Wed Apr 15, 2020 5:04 pm
by ets_user
no, it doesnt have access to external repos.

What is the alternative? below for your reference.

[root@nagios-srvr ~]# yum info php-imap
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
mysql57-community | 1.7 kB 00:00:00
Error: No matching Packages to list


[root@nagios-srvr ~]# yum repolist all
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
repo id repo name status
InstallMedia Red Hat Enterprise Linux 7.5 enabled: 5,198
epel-testing/x86_64 Extra Packages for Enterprise Linux 7 - Testing - x86_64 disabled
epel-testing-debuginfo/x86_64 Extra Packages for Enterprise Linux 7 - Testing - x86_64 - Debug disabled
epel-testing-source/x86_64 Extra Packages for Enterprise Linux 7 - Testing - x86_64 - Source disabled
mysql-cluster-7.6-community-source MySQL Cluster 7.6 Community - Source disabled

Thanks.

Re: Nagios XI upgrade from 5.5.6 to 5.6.11

Posted: Thu Apr 16, 2020 1:24 pm
by ssax
Please create a ticket for this and include a link back to this forum thread so we can get a remote session setup:

Code: Select all

https://support.nagios.com/tickets/
This is a tough situation because it's offline but wasn't installed as offline/RPM and the RPM requires mariadb-server and you have mysql-community-server (with data).