Nagios XI Upgrade from 1.4.1 to 2.2.1 fails

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Post Reply
bart.vanhoyweghen
Posts: 1
Joined: Tue May 06, 2025 9:31 am

Nagios XI Upgrade from 1.4.1 to 2.2.1 fails

Post by bart.vanhoyweghen »

I'm trying an offline upgrade from Nagios XI 1.4.1 to 2.2.1 on Redhat 9 but it fails

I always get the following errors:
...

Code: Select all

  Running scriptlet: google-chrome-stable-139.0.7258.66-1.x86_64                                                  10/43
error: can't create transaction lock on /var/lib/rpm/.rpm.lock (Resource temporarily unavailable)
error: /tmp/google.sig.kHxs3T: key 1 import failed.
error: can't create transaction lock on /var/lib/rpm/.rpm.lock (Resource temporarily unavailable)
error: /tmp/google.sig.kHxs3T: key 2 import failed.
...

Code: Select all

Errors during downloading metadata for repository 'google-chrome':
  - Curl error (28): Timeout was reached for https://dl.google.com/linux/chrome/rpm/stable/x86_64/repodata/repomd.xml [Failed to connect to dl.google.com port 443: Connection timed out]
This is an offline install, server does not have access to the Internet, so I'm a bit surprised to see the above error. But I'm not sure this is the cause of the failed upgrade.
At the end I tried from 1.4.1 to 1.4.4, this one succeeds
Then I tried from 1.4.4 to 2.1.1, still the same error

Package used: nagiosxi-2024R2.1-1.el9.x86_64.tar.gz

The complete upgrade log, see below.

What am I missing?

Code: Select all

$ cd nagiosxi/
[Tue Sep 09 15:46:30] root@ssinfr00223 /tmp/rpms/nagiosxi
 $ ./upgrade
Checking install type...
Install type: offline

Installation check passed.
Updating Subscription Management repositories.
18 files removed
Updating Subscription Management repositories.
Offline - nagiosxi                                                                       56 MB/s | 4.9 MB     00:00
Package nagiosxi-2024R1.4.4-1.el9.x86_64 is already installed.
Dependencies resolved.
========================================================================================================================
 Package                             Architecture       Version                      Repository                    Size
========================================================================================================================
Upgrading:
 nagiosxi                            x86_64             2024R2.1-1.el9               offline-nagiosxi              69 M
 nagiosxi-mrtg                       x86_64             2024R2.1-1.el9               offline-nagiosxi             249 k
 nagiosxi-nagioscore                 x86_64             2024R2.1-1.el9               offline-nagiosxi             4.0 M
 nagiosxi-nagiosplugins              x86_64             2024R2.1-1.el9               offline-nagiosxi             2.3 M
 nagiosxi-nagvis                     x86_64             2024R2.1-1.el9               offline-nagiosxi             1.6 M
 nagiosxi-ndoutils                   x86_64             2024R2.1-1.el9               offline-nagiosxi             267 k
 nagiosxi-nrds                       x86_64             2024R2.1-1.el9               offline-nagiosxi             9.7 M
 nagiosxi-nrpe                       x86_64             2024R2.1-1.el9               offline-nagiosxi              89 k
 nagiosxi-nsca                       x86_64             2024R2.1-1.el9               offline-nagiosxi              56 k
 nagiosxi-nxti                       x86_64             2024R2.1-1.el9               offline-nagiosxi              58 k
 nagiosxi-phantomjs                  x86_64             2024R2.1-1.el9               offline-nagiosxi              19 M
 nagiosxi-pnp                        x86_64             2024R2.1-1.el9               offline-nagiosxi              35 k
 nagiosxi-shellinabox                x86_64             2024R2.1-1.el9               offline-nagiosxi             7.1 k
 nagiosxi-wmic                       x86_64             2024R2.1-1.el9               offline-nagiosxi             6.1 k
Installing dependencies:
 boost-program-options               x86_64             1.75.0-10.el9                offline-nagiosxi             106 k
 gearmand                            x86_64             1.1.19.1-17.el9              offline-nagiosxi             207 k
 google-chrome-stable                x86_64             139.0.7258.66-1              offline-nagiosxi             115 M
 liberation-fonts                    noarch             1:2.1.3-5.el9                offline-nagiosxi             7.7 k
 liberation-fonts-common             noarch             1:2.1.3-5.el9                offline-nagiosxi              16 k
 liberation-mono-fonts               noarch             1:2.1.3-5.el9                offline-nagiosxi             499 k
 liberation-sans-fonts               noarch             1:2.1.3-5.el9                offline-nagiosxi             603 k
 liberation-serif-fonts              noarch             1:2.1.3-5.el9                offline-nagiosxi             604 k
 libgearman                          x86_64             1.1.19.1-17.el9              offline-nagiosxi              61 k
 libmemcached-awesome                x86_64             1.1.0-12.el9                 offline-nagiosxi             115 k
 mesa-vulkan-drivers                 x86_64             23.3.3-1.el9                 offline-nagiosxi             9.7 M
 nagios-mod-gearman                  x86_64             1.0.1-1.el9                  offline-nagiosxi             720 k
 php-soap                            x86_64             8.0.30-1.el9_2               offline-nagiosxi             135 k
 tokyocabinet                        x86_64             1.4.48-19.el9                offline-nagiosxi             517 k
 vulkan-loader                       x86_64             1.4.304.0-1.el9              offline-nagiosxi             154 k

Transaction Summary
========================================================================================================================
Install  15 Packages
Upgrade  14 Packages

Total size: 234 M
Is this ok [y/N]: y
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                1/1
  Installing       : liberation-fonts-common-1:2.1.3-5.el9.noarch                                                  1/43
  Installing       : libgearman-1.1.19.1-17.el9.x86_64                                                             2/43
  Running scriptlet: nagios-mod-gearman-1.0.1-1.el9.x86_64                                                         3/43
  Installing       : nagios-mod-gearman-1.0.1-1.el9.x86_64                                                         3/43
  Running scriptlet: nagios-mod-gearman-1.0.1-1.el9.x86_64                                                         3/43
  Installing       : liberation-mono-fonts-1:2.1.3-5.el9.noarch                                                    4/43
  Installing       : liberation-sans-fonts-1:2.1.3-5.el9.noarch                                                    5/43
  Installing       : liberation-serif-fonts-1:2.1.3-5.el9.noarch                                                   6/43
  Installing       : liberation-fonts-1:2.1.3-5.el9.noarch                                                         7/43
  Installing       : vulkan-loader-1.4.304.0-1.el9.x86_64                                                          8/43
  Installing       : mesa-vulkan-drivers-23.3.3-1.el9.x86_64                                                       9/43
  Running scriptlet: google-chrome-stable-139.0.7258.66-1.x86_64                                                  10/43
  Installing       : google-chrome-stable-139.0.7258.66-1.x86_64                                                  10/43
  Running scriptlet: google-chrome-stable-139.0.7258.66-1.x86_64                                                  10/43
error: can't create transaction lock on /var/lib/rpm/.rpm.lock (Resource temporarily unavailable)
error: /tmp/google.sig.kHxs3T: key 1 import failed.
error: can't create transaction lock on /var/lib/rpm/.rpm.lock (Resource temporarily unavailable)
error: /tmp/google.sig.kHxs3T: key 2 import failed.

  Upgrading        : nagiosxi-wmic-2024R2.1-1.el9.x86_64                                                          11/43
  Running scriptlet: nagiosxi-shellinabox-2024R2.1-1.el9.x86_64                                                   12/43
  Upgrading        : nagiosxi-shellinabox-2024R2.1-1.el9.x86_64                                                   12/43
  Running scriptlet: nagiosxi-shellinabox-2024R2.1-1.el9.x86_64                                                   12/43
Failed to enable unit: Unit file shellinaboxd.service does not exist.
warning: %post(nagiosxi-shellinabox-2024R2.1-1.el9.x86_64) scriptlet failed, exit status 1

Error in POSTIN scriptlet in rpm package nagiosxi-shellinabox
  Running scriptlet: nagiosxi-pnp-2024R2.1-1.el9.x86_64                                                           13/43
  Upgrading        : nagiosxi-pnp-2024R2.1-1.el9.x86_64                                                           13/43
  Running scriptlet: nagiosxi-pnp-2024R2.1-1.el9.x86_64                                                           13/43
  Upgrading        : nagiosxi-phantomjs-2024R2.1-1.el9.x86_64                                                     14/43
  Running scriptlet: nagiosxi-nxti-2024R2.1-1.el9.x86_64                                                          15/43
  Upgrading        : nagiosxi-nxti-2024R2.1-1.el9.x86_64                                                          15/43
  Running scriptlet: nagiosxi-nxti-2024R2.1-1.el9.x86_64                                                          15/43
  Running scriptlet: nagiosxi-nsca-2024R2.1-1.el9.x86_64                                                          16/43
  Upgrading        : nagiosxi-nsca-2024R2.1-1.el9.x86_64                                                          16/43
warning: /lib/systemd/system/nsca.service created as /lib/systemd/system/nsca.service.rpmnew

  Running scriptlet: nagiosxi-nsca-2024R2.1-1.el9.x86_64                                                          16/43
  Running scriptlet: nagiosxi-nrpe-2024R2.1-1.el9.x86_64                                                          17/43
  Upgrading        : nagiosxi-nrpe-2024R2.1-1.el9.x86_64                                                          17/43
  Running scriptlet: nagiosxi-nrpe-2024R2.1-1.el9.x86_64                                                          17/43
  Running scriptlet: nagiosxi-nrds-2024R2.1-1.el9.x86_64                                                          18/43
  Upgrading        : nagiosxi-nrds-2024R2.1-1.el9.x86_64                                                          18/43
  Running scriptlet: nagiosxi-nrds-2024R2.1-1.el9.x86_64                                                          18/43
  Running scriptlet: nagiosxi-ndoutils-2024R2.1-1.el9.x86_64                                                      19/43
  Upgrading        : nagiosxi-ndoutils-2024R2.1-1.el9.x86_64                                                      19/43
  Running scriptlet: nagiosxi-ndoutils-2024R2.1-1.el9.x86_64                                                      19/43
  Upgrading        : nagiosxi-nagvis-2024R2.1-1.el9.x86_64                                                        20/43
  Running scriptlet: nagiosxi-nagiosplugins-2024R2.1-1.el9.x86_64                                                 21/43
  Upgrading        : nagiosxi-nagiosplugins-2024R2.1-1.el9.x86_64                                                 21/43
  Running scriptlet: nagiosxi-nagiosplugins-2024R2.1-1.el9.x86_64                                                 21/43
  Running scriptlet: nagiosxi-nagioscore-2024R2.1-1.el9.x86_64                                                    22/43
  Upgrading        : nagiosxi-nagioscore-2024R2.1-1.el9.x86_64                                                    22/43
  Running scriptlet: nagiosxi-nagioscore-2024R2.1-1.el9.x86_64                                                    22/43
  Running scriptlet: nagiosxi-mrtg-2024R2.1-1.el9.x86_64                                                          23/43
  Upgrading        : nagiosxi-mrtg-2024R2.1-1.el9.x86_64                                                          23/43
  Running scriptlet: nagiosxi-mrtg-2024R2.1-1.el9.x86_64                                                          23/43
  Installing       : tokyocabinet-1.4.48-19.el9.x86_64                                                            24/43
  Installing       : php-soap-8.0.30-1.el9_2.x86_64                                                               25/43
  Installing       : libmemcached-awesome-1.1.0-12.el9.x86_64                                                     26/43
  Installing       : boost-program-options-1.75.0-10.el9.x86_64                                                   27/43
  Running scriptlet: gearmand-1.1.19.1-17.el9.x86_64                                                              28/43
  Installing       : gearmand-1.1.19.1-17.el9.x86_64                                                              28/43
  Running scriptlet: gearmand-1.1.19.1-17.el9.x86_64                                                              28/43
  Running scriptlet: nagiosxi-2024R2.1-1.el9.x86_64                                                               29/43
  Upgrading        : nagiosxi-2024R2.1-1.el9.x86_64                                                               29/43
  Running scriptlet: nagiosxi-2024R2.1-1.el9.x86_64                                                               29/43
  Cleanup          : nagiosxi-2024R1.4.4-1.el9.x86_64                                                             30/43
  Cleanup          : nagiosxi-mrtg-2024R1.4.4-1.el9.x86_64                                                        31/43
  Cleanup          : nagiosxi-nagioscore-2024R1.4.4-1.el9.x86_64                                                  32/43
  Cleanup          : nagiosxi-nagiosplugins-2024R1.4.4-1.el9.x86_64                                               33/43
  Cleanup          : nagiosxi-nagvis-2024R1.4.4-1.el9.x86_64                                                      34/43
  Cleanup          : nagiosxi-ndoutils-2024R1.4.4-1.el9.x86_64                                                    35/43
  Cleanup          : nagiosxi-nrds-2024R1.4.4-1.el9.x86_64                                                        36/43
  Cleanup          : nagiosxi-nrpe-2024R1.4.4-1.el9.x86_64                                                        37/43
  Cleanup          : nagiosxi-nsca-2024R1.4.4-1.el9.x86_64                                                        38/43
  Running scriptlet: nagiosxi-nxti-2024R1.4.4-1.el9.x86_64                                                        39/43
  Cleanup          : nagiosxi-nxti-2024R1.4.4-1.el9.x86_64                                                        39/43
  Running scriptlet: nagiosxi-nxti-2024R1.4.4-1.el9.x86_64                                                        39/43
  Cleanup          : nagiosxi-phantomjs-2024R1.4.4-1.el9.x86_64                                                   40/43
  Cleanup          : nagiosxi-pnp-2024R1.4.4-1.el9.x86_64                                                         41/43
  Running scriptlet: nagiosxi-shellinabox-2024R1.4.4-1.el9.x86_64                                                 42/43
  Cleanup          : nagiosxi-shellinabox-2024R1.4.4-1.el9.x86_64                                                 42/43
  Running scriptlet: nagiosxi-shellinabox-2024R1.4.4-1.el9.x86_64                                                 42/43
Failed to set unit properties on shellinaboxd.service: Unit shellinaboxd.service not found.

  Cleanup          : nagiosxi-wmic-2024R1.4.4-1.el9.x86_64                                                        43/43
  Running scriptlet: nagiosxi-wmic-2024R1.4.4-1.el9.x86_64                                                        43/43
  Verifying        : boost-program-options-1.75.0-10.el9.x86_64                                                    1/43
  Verifying        : gearmand-1.1.19.1-17.el9.x86_64                                                               2/43
  Verifying        : google-chrome-stable-139.0.7258.66-1.x86_64                                                   3/43
  Verifying        : liberation-fonts-1:2.1.3-5.el9.noarch                                                         4/43
  Verifying        : liberation-fonts-common-1:2.1.3-5.el9.noarch                                                  5/43
  Verifying        : liberation-mono-fonts-1:2.1.3-5.el9.noarch                                                    6/43
  Verifying        : liberation-sans-fonts-1:2.1.3-5.el9.noarch                                                    7/43
  Verifying        : liberation-serif-fonts-1:2.1.3-5.el9.noarch                                                   8/43
  Verifying        : libgearman-1.1.19.1-17.el9.x86_64                                                             9/43
  Verifying        : libmemcached-awesome-1.1.0-12.el9.x86_64                                                     10/43
  Verifying        : mesa-vulkan-drivers-23.3.3-1.el9.x86_64                                                      11/43
  Verifying        : nagios-mod-gearman-1.0.1-1.el9.x86_64                                                        12/43
  Verifying        : php-soap-8.0.30-1.el9_2.x86_64                                                               13/43
  Verifying        : tokyocabinet-1.4.48-19.el9.x86_64                                                            14/43
  Verifying        : vulkan-loader-1.4.304.0-1.el9.x86_64                                                         15/43
  Verifying        : nagiosxi-2024R2.1-1.el9.x86_64                                                               16/43
  Verifying        : nagiosxi-2024R1.4.4-1.el9.x86_64                                                             17/43
  Verifying        : nagiosxi-mrtg-2024R2.1-1.el9.x86_64                                                          18/43
  Verifying        : nagiosxi-mrtg-2024R1.4.4-1.el9.x86_64                                                        19/43
  Verifying        : nagiosxi-nagioscore-2024R2.1-1.el9.x86_64                                                    20/43
  Verifying        : nagiosxi-nagioscore-2024R1.4.4-1.el9.x86_64                                                  21/43
  Verifying        : nagiosxi-nagiosplugins-2024R2.1-1.el9.x86_64                                                 22/43
  Verifying        : nagiosxi-nagiosplugins-2024R1.4.4-1.el9.x86_64                                               23/43
  Verifying        : nagiosxi-nagvis-2024R2.1-1.el9.x86_64                                                        24/43
  Verifying        : nagiosxi-nagvis-2024R1.4.4-1.el9.x86_64                                                      25/43
  Verifying        : nagiosxi-ndoutils-2024R2.1-1.el9.x86_64                                                      26/43
  Verifying        : nagiosxi-ndoutils-2024R1.4.4-1.el9.x86_64                                                    27/43
  Verifying        : nagiosxi-nrds-2024R2.1-1.el9.x86_64                                                          28/43
  Verifying        : nagiosxi-nrds-2024R1.4.4-1.el9.x86_64                                                        29/43
  Verifying        : nagiosxi-nrpe-2024R2.1-1.el9.x86_64                                                          30/43
  Verifying        : nagiosxi-nrpe-2024R1.4.4-1.el9.x86_64                                                        31/43
  Verifying        : nagiosxi-nsca-2024R2.1-1.el9.x86_64                                                          32/43
  Verifying        : nagiosxi-nsca-2024R1.4.4-1.el9.x86_64                                                        33/43
  Verifying        : nagiosxi-nxti-2024R2.1-1.el9.x86_64                                                          34/43
  Verifying        : nagiosxi-nxti-2024R1.4.4-1.el9.x86_64                                                        35/43
  Verifying        : nagiosxi-phantomjs-2024R2.1-1.el9.x86_64                                                     36/43
  Verifying        : nagiosxi-phantomjs-2024R1.4.4-1.el9.x86_64                                                   37/43
  Verifying        : nagiosxi-pnp-2024R2.1-1.el9.x86_64                                                           38/43
  Verifying        : nagiosxi-pnp-2024R1.4.4-1.el9.x86_64                                                         39/43
  Verifying        : nagiosxi-shellinabox-2024R2.1-1.el9.x86_64                                                   40/43
  Verifying        : nagiosxi-shellinabox-2024R1.4.4-1.el9.x86_64                                                 41/43
  Verifying        : nagiosxi-wmic-2024R2.1-1.el9.x86_64                                                          42/43
  Verifying        : nagiosxi-wmic-2024R1.4.4-1.el9.x86_64                                                        43/43
Installed products updated.
Errors during downloading metadata for repository 'google-chrome':
  - Curl error (28): Timeout was reached for https://dl.google.com/linux/chrome/rpm/stable/x86_64/repodata/repomd.xml [Failed to connect to dl.google.com port 443: Connection timed out]
Uploading Tracer Profile

Upgraded:
  nagiosxi-2024R2.1-1.el9.x86_64                            nagiosxi-mrtg-2024R2.1-1.el9.x86_64
  nagiosxi-nagioscore-2024R2.1-1.el9.x86_64                 nagiosxi-nagiosplugins-2024R2.1-1.el9.x86_64
  nagiosxi-nagvis-2024R2.1-1.el9.x86_64                     nagiosxi-ndoutils-2024R2.1-1.el9.x86_64
  nagiosxi-nrds-2024R2.1-1.el9.x86_64                       nagiosxi-nrpe-2024R2.1-1.el9.x86_64
  nagiosxi-nsca-2024R2.1-1.el9.x86_64                       nagiosxi-nxti-2024R2.1-1.el9.x86_64
  nagiosxi-phantomjs-2024R2.1-1.el9.x86_64                  nagiosxi-pnp-2024R2.1-1.el9.x86_64
  nagiosxi-shellinabox-2024R2.1-1.el9.x86_64                nagiosxi-wmic-2024R2.1-1.el9.x86_64
Installed:
  boost-program-options-1.75.0-10.el9.x86_64                  gearmand-1.1.19.1-17.el9.x86_64
  google-chrome-stable-139.0.7258.66-1.x86_64                 liberation-fonts-1:2.1.3-5.el9.noarch
  liberation-fonts-common-1:2.1.3-5.el9.noarch                liberation-mono-fonts-1:2.1.3-5.el9.noarch
  liberation-sans-fonts-1:2.1.3-5.el9.noarch                  liberation-serif-fonts-1:2.1.3-5.el9.noarch
  libgearman-1.1.19.1-17.el9.x86_64                           libmemcached-awesome-1.1.0-12.el9.x86_64
  mesa-vulkan-drivers-23.3.3-1.el9.x86_64                     nagios-mod-gearman-1.0.1-1.el9.x86_64
  php-soap-8.0.30-1.el9_2.x86_64                              tokyocabinet-1.4.48-19.el9.x86_64
  vulkan-loader-1.4.304.0-1.el9.x86_64

Complete!

Nagios XI Upgrade Complete!
---------------------------

You can access the Nagios XI web interface by visiting:
    http://10.150.19.82/nagiosxi/

[Tue Sep 09 15:51:00] root@ssinfr00223 /tmp/rpms/nagiosxi
 $ cat /usr/local/nagiosxi/var/xiversion
###################################
# DO NOT DELETE THIS FILE!
# Nagios XI version information
###################################
full=2024R1.4.4
major=2024R1
minor=4.4
releasedate=2025-06-06
release=60404
jsimon
Posts: 339
Joined: Wed Aug 23, 2023 11:27 am

Re: Nagios XI Upgrade from 1.4.1 to 2.2.1 fails

Post by jsimon »

Hi Bart,

I'm sorry to hear you're running into issues with offline upgrades. I believe opening a support case is the best way to fix the problems you're seeing. You can do that here.
Post Reply