This is a 100% fresh Nagios 5.4 server. The only things I did to it prior to trying the offline upgrade were: Configure yum repos, install Nagios 5.4, and restore our configuration.
Resolving Dependencies
--> Running transaction check
---> Package libidn2.x86_64 0:0.10-2.el7 will be updated
---> Package libidn2.x86_64 0:2.0.4-4.el7 will be an update
---> Package nagiosxi.x86_64 0:5-4.13.el7 will be updated
---> Package nagiosxi.x86_64 0:5.7.1-1.el7 will be an update
--> Processing Dependency: nagiosxi-shellinabox(x86-64) = 5.7.1-1.el7 for package: nagiosxi-5.7.1-1.el7.x86_64
--> Processing Dependency: nagiosxi-nxti(x86-64) = 5.7.1-1.el7 for package: nagiosxi-5.7.1-1.el7.x86_64
--> Processing Dependency: git for package: nagiosxi-5.7.1-1.el7.x86_64
--> Processing Dependency: net-snmp-perl for package: nagiosxi-5.7.1-1.el7.x86_64
--> Processing Dependency: php-devel for package: nagiosxi-5.7.1-1.el7.x86_64
--> Processing Dependency: rsync for package: nagiosxi-5.7.1-1.el7.x86_64
--> Processing Dependency: ipa-gothic-fonts for package: nagiosxi-5.7.1-1.el7.x86_64
--> Processing Dependency: ipa-mincho-fonts for package: nagiosxi-5.7.1-1.el7.x86_64
--> Processing Dependency: ipa-pgothic-fonts for package: nagiosxi-5.7.1-1.el7.x86_64
--> Processing Dependency: ipa-pmincho-fonts for package: nagiosxi-5.7.1-1.el7.x86_64
---> Package nagiosxi-mrtg.x86_64 0:5-4.13.el7 will be updated
---> Package nagiosxi-mrtg.x86_64 0:5.7.1-1.el7 will be an update
---> Package nagiosxi-nagioscore.x86_64 0:5-4.13.el7 will be updated
---> Package nagiosxi-nagioscore.x86_64 0:5.7.1-1.el7 will be an update
---> Package nagiosxi-nagiosplugins.x86_64 0:5-4.13.el7 will be updated
---> Package nagiosxi-nagiosplugins.x86_64 0:5.7.1-1.el7 will be an update
---> Package nagiosxi-nagvis.x86_64 0:5-4.13.el7 will be updated
---> Package nagiosxi-nagvis.x86_64 0:5.7.1-1.el7 will be an update
---> Package nagiosxi-ndoutils.x86_64 0:5-4.13.el7 will be updated
---> Package nagiosxi-ndoutils.x86_64 0:5.7.1-1.el7 will be an update
---> Package nagiosxi-nrds.x86_64 0:5-4.13.el7 will be updated
---> Package nagiosxi-nrds.x86_64 0:5.7.1-1.el7 will be an update
---> Package nagiosxi-nrpe.x86_64 0:5-4.13.el7 will be updated
---> Package nagiosxi-nrpe.x86_64 0:5.7.1-1.el7 will be an update
---> Package nagiosxi-nsca.x86_64 0:5-4.13.el7 will be updated
---> Package nagiosxi-nsca.x86_64 0:5.7.1-1.el7 will be an update
---> Package nagiosxi-pnp.x86_64 0:5-4.13.el7 will be updated
---> Package nagiosxi-pnp.x86_64 0:5.7.1-1.el7 will be an update
---> Package nagiosxi-wkhtmltox.x86_64 0:5-4.13.el7 will be updated
---> Package nagiosxi-wkhtmltox.x86_64 0:5.7.1-1.el7 will be an update
---> Package nagiosxi-wmic.x86_64 0:5-4.13.el7 will be updated
---> Package nagiosxi-wmic.x86_64 0:5.7.1-1.el7 will be an update
---> Package perl-Mail-POP3Client.noarch 0:2.18-6.el7 will be updated
---> Package perl-Mail-POP3Client.noarch 0:2.19-5.el7 will be an update
---> Package php-mcrypt.x86_64 0:5.4.16-4.el7 will be updated
---> Package php-mcrypt.x86_64 0:5.4.16-7.el7 will be an update
---> Package php-mssql.x86_64 0:5.4.16-4.el7 will be updated
---> Package php-mssql.x86_64 0:5.4.16-7.el7 will be an update
--> Running transaction check
---> Package git.x86_64 0:1.8.3.1-23.el7_8 will be installed
--> Processing Dependency: perl-Git = 1.8.3.1-23.el7_8 for package: git-1.8.3.1-23.el7_8.x86_64
--> Processing Dependency: perl(Term::ReadKey) for package: git-1.8.3.1-23.el7_8.x86_64
--> Processing Dependency: perl(Git) for package: git-1.8.3.1-23.el7_8.x86_64
---> Package ipa-gothic-fonts.noarch 0:003.03-5.el7 will be installed
---> Package ipa-mincho-fonts.noarch 0:003.03-5.el7 will be installed
---> Package ipa-pgothic-fonts.noarch 0:003.03-5.el7 will be installed
---> Package ipa-pmincho-fonts.noarch 0:003.03-5.el7 will be installed
---> Package nagiosxi.x86_64 0:5.7.1-1.el7 will be an update
--> Processing Dependency: nagiosxi-shellinabox(x86-64) = 5.7.1-1.el7 for package: nagiosxi-5.7.1-1.el7.x86_64
--> Processing Dependency: nagiosxi-nxti(x86-64) = 5.7.1-1.el7 for package: nagiosxi-5.7.1-1.el7.x86_64
---> Package net-snmp-perl.x86_64 1:5.7.2-48.el7_8.1 will be installed
---> Package php-devel.x86_64 0:5.4.16-48.el7 will be installed
--> Processing Dependency: pcre-devel(x86-64) for package: php-devel-5.4.16-48.el7.x86_64
--> Processing Dependency: automake for package: php-devel-5.4.16-48.el7.x86_64
--> Processing Dependency: autoconf for package: php-devel-5.4.16-48.el7.x86_64
---> Package rsync.x86_64 0:3.1.2-10.el7 will be installed
--> Running transaction check
---> Package autoconf.noarch 0:2.69-11.el7 will be installed
--> Processing Dependency: m4 >= 1.4.14 for package: autoconf-2.69-11.el7.noarch
---> Package automake.noarch 0:1.13.4-3.el7 will be installed
--> Processing Dependency: perl(Thread::Queue) for package: automake-1.13.4-3.el7.noarch
---> Package nagiosxi.x86_64 0:5.7.1-1.el7 will be an update
--> Processing Dependency: nagiosxi-shellinabox(x86-64) = 5.7.1-1.el7 for package: nagiosxi-5.7.1-1.el7.x86_64
--> Processing Dependency: nagiosxi-nxti(x86-64) = 5.7.1-1.el7 for package: nagiosxi-5.7.1-1.el7.x86_64
---> Package pcre-devel.x86_64 0:8.32-17.el7 will be installed
---> Package perl-Git.noarch 0:1.8.3.1-23.el7_8 will be installed
---> Package perl-TermReadKey.x86_64 0:2.30-20.el7 will be installed
--> Running transaction check
---> Package m4.x86_64 0:1.4.16-10.el7 will be installed
---> Package nagiosxi.x86_64 0:5.7.1-1.el7 will be an update
--> Processing Dependency: nagiosxi-shellinabox(x86-64) = 5.7.1-1.el7 for package: nagiosxi-5.7.1-1.el7.x86_64
--> Processing Dependency: nagiosxi-nxti(x86-64) = 5.7.1-1.el7 for package: nagiosxi-5.7.1-1.el7.x86_64
---> Package perl-Thread-Queue.noarch 0:3.02-2.el7 will be installed
--> Finished Dependency Resolution
Error: Package: nagiosxi-5.7.1-1.el7.x86_64 (/nagiosxi-5.7.1-1.el7.x86_64)
Requires: nagiosxi-nxti(x86-64) = 5.7.1-1.el7
Error: Package: nagiosxi-5.7.1-1.el7.x86_64 (/nagiosxi-5.7.1-1.el7.x86_64)
Requires: nagiosxi-shellinabox(x86-64) = 5.7.1-1.el7
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
I actually tried the 7.2 release first but then tried 7.1 when I saw another forum thread saying it was broken. Here are the results of the 7.2 install. It looks like it downloaded the two packages in question, but didn't fix the problem:
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
libc-client-2007f-16.el7.x86_64.rpm: does not update installed package.
Examining libidn2-2.0.4-4.el7.x86_64.rpm: libidn2-2.0.4-4.el7.x86_64
Marking libidn2-2.0.4-4.el7.x86_64.rpm as an update to libidn2-0.10-2.el7.x86_64
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.7.2-2.el7.x86_64.rpm: nagiosxi-5.7.2-2.el7.x86_64
Marking nagiosxi-5.7.2-2.el7.x86_64.rpm as an update to nagiosxi-5-4.13.el7.x86_64
Examining nagiosxi-mrtg-5.7.2-2.el7.x86_64.rpm: nagiosxi-mrtg-5.7.2-2.el7.x86_64
Marking nagiosxi-mrtg-5.7.2-2.el7.x86_64.rpm as an update to nagiosxi-mrtg-5-4.13.el7.x86_64
Examining nagiosxi-nagioscore-5.7.2-2.el7.x86_64.rpm: nagiosxi-nagioscore-5.7.2-2.el7.x86_64
Marking nagiosxi-nagioscore-5.7.2-2.el7.x86_64.rpm as an update to nagiosxi-nagioscore-5-4.13.el7.x86_64
Examining nagiosxi-nagiosplugins-5.7.2-2.el7.x86_64.rpm: nagiosxi-nagiosplugins-5.7.2-2.el7.x86_64
Marking nagiosxi-nagiosplugins-5.7.2-2.el7.x86_64.rpm as an update to nagiosxi-nagiosplugins-5-4.13.el7.x86_64
Examining nagiosxi-nagvis-5.7.2-2.el7.x86_64.rpm: nagiosxi-nagvis-5.7.2-2.el7.x86_64
Marking nagiosxi-nagvis-5.7.2-2.el7.x86_64.rpm as an update to nagiosxi-nagvis-5-4.13.el7.x86_64
Examining nagiosxi-ndoutils-5.7.2-2.el7.x86_64.rpm: nagiosxi-ndoutils-5.7.2-2.el7.x86_64
Marking nagiosxi-ndoutils-5.7.2-2.el7.x86_64.rpm as an update to nagiosxi-ndoutils-5-4.13.el7.x86_64
Examining nagiosxi-nrds-5.7.2-2.el7.x86_64.rpm: nagiosxi-nrds-5.7.2-2.el7.x86_64
Marking nagiosxi-nrds-5.7.2-2.el7.x86_64.rpm as an update to nagiosxi-nrds-5-4.13.el7.x86_64
Examining nagiosxi-nrpe-5.7.2-2.el7.x86_64.rpm: nagiosxi-nrpe-5.7.2-2.el7.x86_64
Marking nagiosxi-nrpe-5.7.2-2.el7.x86_64.rpm as an update to nagiosxi-nrpe-5-4.13.el7.x86_64
Examining nagiosxi-nsca-5.7.2-2.el7.x86_64.rpm: nagiosxi-nsca-5.7.2-2.el7.x86_64
Marking nagiosxi-nsca-5.7.2-2.el7.x86_64.rpm as an update to nagiosxi-nsca-5-4.13.el7.x86_64
Examining nagiosxi-nxti-5.7.2-2.el7.x86_64.rpm: nagiosxi-nxti-5.7.2-2.el7.x86_64
Package nagiosxi-nxti not installed, cannot update it. Run yum install to install it instead.
Examining nagiosxi-pnp-5.7.2-2.el7.x86_64.rpm: nagiosxi-pnp-5.7.2-2.el7.x86_64
Marking nagiosxi-pnp-5.7.2-2.el7.x86_64.rpm as an update to nagiosxi-pnp-5-4.13.el7.x86_64
Examining nagiosxi-shellinabox-5.7.2-2.el7.x86_64.rpm: nagiosxi-shellinabox-5.7.2-2.el7.x86_64
Package nagiosxi-shellinabox not installed, cannot update it. Run yum install to install it instead.
Examining nagiosxi-wkhtmltox-5.7.2-2.el7.x86_64.rpm: nagiosxi-wkhtmltox-5.7.2-2.el7.x86_64
Marking nagiosxi-wkhtmltox-5.7.2-2.el7.x86_64.rpm as an update to nagiosxi-wkhtmltox-5-4.13.el7.x86_64
Examining nagiosxi-wmic-5.7.2-2.el7.x86_64.rpm: nagiosxi-wmic-5.7.2-2.el7.x86_64
Marking nagiosxi-wmic-5.7.2-2.el7.x86_64.rpm as an update to nagiosxi-wmic-5-4.13.el7.x86_64
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 as an update to perl-Mail-POP3Client-2.18-6.el7.noarch
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
php-imap-5.4.16-7.el7.x86_64.rpm: does not update installed package.
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 as an update to php-mcrypt-5.4.16-4.el7.x86_64
Examining php-mssql-5.4.16-7.el7.x86_64.rpm: php-mssql-5.4.16-7.el7.x86_64
Marking php-mssql-5.4.16-7.el7.x86_64.rpm as an update to php-mssql-5.4.16-4.el7.x86_64
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
Package rrdtool-devel not installed, cannot update it. Run yum install to install it instead.
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 libidn2.x86_64 0:0.10-2.el7 will be updated
---> Package libidn2.x86_64 0:2.0.4-4.el7 will be an update
---> Package nagiosxi.x86_64 0:5-4.13.el7 will be updated
---> Package nagiosxi.x86_64 0:5.7.2-2.el7 will be an update
--> Processing Dependency: nagiosxi-shellinabox(x86-64) = 5.7.2-2.el7 for package: nagiosxi-5.7.2-2.el7.x86_64
rhel-optional | 2.9 kB 00:00:00
rhel-repository | 2.9 kB 00:00:00
rhel-supplementary | 2.9 kB 00:00:00
(1/2): rhel-optional/primary_db | 4.0 MB 00:00:00
(2/2): rhel-repository/primary_db | 21 MB 00:00:02
--> Processing Dependency: nagiosxi-nxti(x86-64) = 5.7.2-2.el7 for package: nagiosxi-5.7.2-2.el7.x86_64
--> Processing Dependency: git for package: nagiosxi-5.7.2-2.el7.x86_64
--> Processing Dependency: net-snmp-perl for package: nagiosxi-5.7.2-2.el7.x86_64
--> Processing Dependency: php-devel for package: nagiosxi-5.7.2-2.el7.x86_64
--> Processing Dependency: rsync for package: nagiosxi-5.7.2-2.el7.x86_64
--> Processing Dependency: ipa-gothic-fonts for package: nagiosxi-5.7.2-2.el7.x86_64
--> Processing Dependency: ipa-mincho-fonts for package: nagiosxi-5.7.2-2.el7.x86_64
--> Processing Dependency: ipa-pgothic-fonts for package: nagiosxi-5.7.2-2.el7.x86_64
--> Processing Dependency: ipa-pmincho-fonts for package: nagiosxi-5.7.2-2.el7.x86_64
---> Package nagiosxi-mrtg.x86_64 0:5-4.13.el7 will be updated
---> Package nagiosxi-mrtg.x86_64 0:5.7.2-2.el7 will be an update
---> Package nagiosxi-nagioscore.x86_64 0:5-4.13.el7 will be updated
---> Package nagiosxi-nagioscore.x86_64 0:5.7.2-2.el7 will be an update
---> Package nagiosxi-nagiosplugins.x86_64 0:5-4.13.el7 will be updated
---> Package nagiosxi-nagiosplugins.x86_64 0:5.7.2-2.el7 will be an update
---> Package nagiosxi-nagvis.x86_64 0:5-4.13.el7 will be updated
---> Package nagiosxi-nagvis.x86_64 0:5.7.2-2.el7 will be an update
---> Package nagiosxi-ndoutils.x86_64 0:5-4.13.el7 will be updated
---> Package nagiosxi-ndoutils.x86_64 0:5.7.2-2.el7 will be an update
---> Package nagiosxi-nrds.x86_64 0:5-4.13.el7 will be updated
---> Package nagiosxi-nrds.x86_64 0:5.7.2-2.el7 will be an update
---> Package nagiosxi-nrpe.x86_64 0:5-4.13.el7 will be updated
---> Package nagiosxi-nrpe.x86_64 0:5.7.2-2.el7 will be an update
---> Package nagiosxi-nsca.x86_64 0:5-4.13.el7 will be updated
---> Package nagiosxi-nsca.x86_64 0:5.7.2-2.el7 will be an update
---> Package nagiosxi-pnp.x86_64 0:5-4.13.el7 will be updated
---> Package nagiosxi-pnp.x86_64 0:5.7.2-2.el7 will be an update
---> Package nagiosxi-wkhtmltox.x86_64 0:5-4.13.el7 will be updated
---> Package nagiosxi-wkhtmltox.x86_64 0:5.7.2-2.el7 will be an update
---> Package nagiosxi-wmic.x86_64 0:5-4.13.el7 will be updated
---> Package nagiosxi-wmic.x86_64 0:5.7.2-2.el7 will be an update
---> Package perl-Mail-POP3Client.noarch 0:2.18-6.el7 will be updated
---> Package perl-Mail-POP3Client.noarch 0:2.19-5.el7 will be an update
---> Package php-mcrypt.x86_64 0:5.4.16-4.el7 will be updated
---> Package php-mcrypt.x86_64 0:5.4.16-7.el7 will be an update
---> Package php-mssql.x86_64 0:5.4.16-4.el7 will be updated
---> Package php-mssql.x86_64 0:5.4.16-7.el7 will be an update
--> Running transaction check
---> Package git.x86_64 0:1.8.3.1-23.el7_8 will be installed
--> Processing Dependency: perl-Git = 1.8.3.1-23.el7_8 for package: git-1.8.3.1-23.el7_8.x86_64
--> Processing Dependency: perl(Term::ReadKey) for package: git-1.8.3.1-23.el7_8.x86_64
--> Processing Dependency: perl(Git) for package: git-1.8.3.1-23.el7_8.x86_64
---> Package ipa-gothic-fonts.noarch 0:003.03-5.el7 will be installed
---> Package ipa-mincho-fonts.noarch 0:003.03-5.el7 will be installed
---> Package ipa-pgothic-fonts.noarch 0:003.03-5.el7 will be installed
---> Package ipa-pmincho-fonts.noarch 0:003.03-5.el7 will be installed
---> Package nagiosxi.x86_64 0:5.7.2-2.el7 will be an update
--> Processing Dependency: nagiosxi-shellinabox(x86-64) = 5.7.2-2.el7 for package: nagiosxi-5.7.2-2.el7.x86_64
--> Processing Dependency: nagiosxi-nxti(x86-64) = 5.7.2-2.el7 for package: nagiosxi-5.7.2-2.el7.x86_64
---> Package net-snmp-perl.x86_64 1:5.7.2-48.el7_8.1 will be installed
---> Package php-devel.x86_64 0:5.4.16-48.el7 will be installed
--> Processing Dependency: pcre-devel(x86-64) for package: php-devel-5.4.16-48.el7.x86_64
--> Processing Dependency: automake for package: php-devel-5.4.16-48.el7.x86_64
--> Processing Dependency: autoconf for package: php-devel-5.4.16-48.el7.x86_64
---> Package rsync.x86_64 0:3.1.2-10.el7 will be installed
--> Running transaction check
---> Package autoconf.noarch 0:2.69-11.el7 will be installed
--> Processing Dependency: m4 >= 1.4.14 for package: autoconf-2.69-11.el7.noarch
---> Package automake.noarch 0:1.13.4-3.el7 will be installed
--> Processing Dependency: perl(Thread::Queue) for package: automake-1.13.4-3.el7.noarch
---> Package nagiosxi.x86_64 0:5.7.2-2.el7 will be an update
--> Processing Dependency: nagiosxi-shellinabox(x86-64) = 5.7.2-2.el7 for package: nagiosxi-5.7.2-2.el7.x86_64
--> Processing Dependency: nagiosxi-nxti(x86-64) = 5.7.2-2.el7 for package: nagiosxi-5.7.2-2.el7.x86_64
---> Package pcre-devel.x86_64 0:8.32-17.el7 will be installed
---> Package perl-Git.noarch 0:1.8.3.1-23.el7_8 will be installed
---> Package perl-TermReadKey.x86_64 0:2.30-20.el7 will be installed
--> Running transaction check
---> Package m4.x86_64 0:1.4.16-10.el7 will be installed
---> Package nagiosxi.x86_64 0:5.7.2-2.el7 will be an update
--> Processing Dependency: nagiosxi-shellinabox(x86-64) = 5.7.2-2.el7 for package: nagiosxi-5.7.2-2.el7.x86_64
--> Processing Dependency: nagiosxi-nxti(x86-64) = 5.7.2-2.el7 for package: nagiosxi-5.7.2-2.el7.x86_64
---> Package perl-Thread-Queue.noarch 0:3.02-2.el7 will be installed
--> Finished Dependency Resolution
Error: Package: nagiosxi-5.7.2-2.el7.x86_64 (/nagiosxi-5.7.2-2.el7.x86_64)
Requires: nagiosxi-nxti(x86-64) = 5.7.2-2.el7
Error: Package: nagiosxi-5.7.2-2.el7.x86_64 (/nagiosxi-5.7.2-2.el7.x86_64)
Requires: nagiosxi-shellinabox(x86-64) = 5.7.2-2.el7
In what repo are these packages supposed to exist?
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
Redirecting to /bin/systemctl restart httpd.service
Checking required prereqs...
Please wait...
PHP Warning: file_get_contents(/usr/local/nagiosxi/var/keys/xi.key): failed to open stream: No such file or directory in /tmp/nagiosxi/nagiosxi/basedir/html/includes/utilsl-helpers.inc.php on line 0
PHP Fatal error: Encryption error: Key file at was empty or unable to be read by apache. in /tmp/nagiosxi/nagiosxi/basedir/html/includes/utilsl-helpers.inc.php on line 0
I tried installing from /tmp and I tried installing from my home directory. In neither case were these directories created. I did find /usr/local/nagiosxi/html/includes/utilsl-helpers.inc.php, implying that perhaps I had to set an environment (or perhaps nagios-specific) variable before running the upgrade script? Here are the contents of the php file:
Hey, thanks for the support as we worked through this. The key issue turned out the be a red herring. The real problem was that the security posture of the server wouldn't let us install anything from the /tmp directory. Crazy!
brandondash wrote:Hey, thanks for the support as we worked through this. The key issue turned out the be a red herring. The real problem was that the security posture of the server wouldn't let us install anything from the /tmp directory. Crazy!