I am trying to upgrade from Nagios XI 5.2.0 to version 5.2.3 this morning using the UI and the install seems to be hung at "Copying over new XI directory...." and "Command not found" in red a the top of the screen. I don't see a "fullinstall" script currently running on the machine (if that is the script that the update from UI is running. Not sure where to go from here. This is the output from the update screen:
---- Starting Nagios XI Backup ----
No entry for terminal type "unknown";
using dumb terminal settings.
Backing up Core Config Manager (NagiosQL)...
tar: Removing leading `/' from member names
tar: Removing leading `/' from member names
Backing up Nagios Core...
tar: Removing leading `/' from member names
tar: /usr/local/nagios/share/perfdata/devwebservice02.unigroupinc.com: file changed as we read it
tar: /usr/local/nagios/var/rw/nagios.qh: socket ignored
tar: /usr/local/nagios/var/ndo.sock: socket ignored
tar: /usr/local/nagios/var: file changed as we read it
Backing up Nagios XI...
tar: Removing leading `/' from member names
Backing up MRTG...
tar: Removing leading `/' from member names
Backing up NRDP...
tar: Removing leading `/' from member names
Backing up Nagvis...
tar: Removing leading `/' from member names
Backing up MySQL databases...
Backing up PostgresQL databases...
Backing up logrotate config files...
Backing up Apache config files...
Compressing backup...
===============
BACKUP COMPLETE
===============
Backup stored in /store/backups/nagiosxi/autoupgrade_backup..tar.gz
---- Starting Nagios XI Upgrade ----
Cleaning up temp directory...
Downloading Latest Nagios XI Tarball...
No entry for terminal type "unknown";
using dumb terminal settings.
No entry for terminal type "unknown";
using dumb terminal settings.
Archive: sourceguardian/ixed4.lin.x86-64.zip
inflating: /usr/lib64/php/modules/ixed.5.3.lin
Sourceguardian extension found for PHP version 5.3
Sourceguardian extension already in php.ini
Stopping httpd: [ OK ]
Starting httpd: [ OK ]
No entry for terminal type "unknown";
using dumb terminal settings.
Checking required prereqs...
Please wait...
OLD VERSION: 511
Loaded plugins: product-id, rhnplugin, security, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Install Process
Package automake-1.11.1-4.el6.noarch already installed and latest version
Package autoconf-2.63-5.1.el6.noarch already installed and latest version
Package php-mbstring-5.3.3-40.el6_6.x86_64 already installed and latest version
Package 2:nmap-6.47-1.x86_64 already installed and latest version
Package subversion-1.6.11-12.el6_6.x86_64 already installed and latest version
Nothing to do
Loaded plugins: product-id, rhnplugin, security, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Install Process
Package perl-Params-Validate-0.92-3.el6.x86_64 already installed and latest version
Package perl-Number-Format-1.73-3.el6.noarch already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package perl-Class-Accessor.noarch 0:0.31-6.1.el6 will be installed
---> Package perl-Config-Tiny.noarch 0:2.12-7.1.el6 will be installed
---> Package perl-Math-Calc-Units.noarch 0:1.07-6.el6 will be installed
---> Package perl-Test-Simple.x86_64 0:0.92-136.el6_6.1 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
perl-Class-Accessor
noarch 0.31-6.1.el6 dev-rhel-x86_64-server-optional-6 26 k
perl-Config-Tiny noarch 2.12-7.1.el6 dev-rhel-x86_64-server-optional-6 23 k
perl-Math-Calc-Units
noarch 1.07-6.el6 epel 41 k
perl-Test-Simple x86_64 0.92-136.el6_6.1
dev-rhel-x86_64-server-6 112 k
Transaction Summary
================================================================================
Install 4 Package(s)
Total download size: 202 k
Installed size: 356 k
Downloading Packages:
--------------------------------------------------------------------------------
Total 141 kB/s | 202 kB 00:01
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : perl-Config-Tiny-2.12-7.1.el6.noarch 1/4
Installing : perl-Math-Calc-Units-1.07-6.el6.noarch 2/4
Installing : perl-Test-Simple-0.92-136.el6_6.1.x86_64 3/4
Installing : perl-Class-Accessor-0.31-6.1.el6.noarch 4/4
Verifying : perl-Class-Accessor-0.31-6.1.el6.noarch 1/4
Verifying : perl-Test-Simple-0.92-136.el6_6.1.x86_64 2/4
Verifying : perl-Math-Calc-Units-1.07-6.el6.noarch 3/4
Verifying : perl-Config-Tiny-2.12-7.1.el6.noarch 4/4
Installed:
perl-Class-Accessor.noarch 0:0.31-6.1.el6
perl-Config-Tiny.noarch 0:2.12-7.1.el6
perl-Math-Calc-Units.noarch 0:1.07-6.el6
perl-Test-Simple.x86_64 0:0.92-136.el6_6.1
Complete!
Loaded plugins: product-id, rhnplugin, security, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Install Process
Package php-pecl-ssh2-0.11.0-7.el6.x86_64 already installed and latest version
Nothing to do
Upgrading Extra Plugins...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a pax tar archive... gnutar
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
variable with_statefiles_dir is /var/tmp/check_mysql_health
variable with_mymodules_dir is /usr/local/nagios/libexec
variable with_mymodules_dyn_dir is /usr/local/nagios/libexec
checking for sh... /bin/sh
checking for perl... /usr/bin/perl
checking for gzip... /bin/gzip
checking for gawk... /bin/gawk
checking for grep... /bin/grep
checking for echo... /bin/echo
checking for sed... /bin/sed
checking for cat... /bin/cat
configure: creating ./config.status
config.status: creating Makefile
config.status: creating plugins-scripts/Makefile
config.status: creating plugins-scripts/subst
config.status: creating t/Makefile
--with-perl: /usr/bin/perl
--with-statefiles-dir: /var/tmp/check_mysql_health
--with-nagios-user: nagios
--with-nagios-group: nagios
--with-mymodules-dir: /usr/local/nagios/libexec
--with-mymodules-dyn-dir: /usr/local/nagios/libexec
Making clean in t
make[1]: Entering directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/extraplugins/check_mysql_health-2.1.8.2/t'
make[1]: Nothing to be done for `clean'.
make[1]: Leaving directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/extraplugins/check_mysql_health-2.1.8.2/t'
Making clean in plugins-scripts
make[1]: Entering directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/extraplugins/check_mysql_health-2.1.8.2/plugins-scripts'
test -z "check_mysql_health" || rm -f check_mysql_health
make[1]: Leaving directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/extraplugins/check_mysql_health-2.1.8.2/plugins-scripts'
Making clean in .
make[1]: Entering directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/extraplugins/check_mysql_health-2.1.8.2'
make[1]: Nothing to be done for `clean-am'.
make[1]: Leaving directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/extraplugins/check_mysql_health-2.1.8.2'
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a pax tar archive... gnutar
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
variable with_statefiles_dir is /var/tmp/check_mysql_health
variable with_mymodules_dir is /usr/local/nagios/libexec
variable with_mymodules_dyn_dir is /usr/local/nagios/libexec
checking for sh... /bin/sh
checking for perl... /usr/bin/perl
checking for gzip... /bin/gzip
checking for gawk... /bin/gawk
checking for grep... /bin/grep
checking for echo... /bin/echo
checking for sed... /bin/sed
checking for cat... /bin/cat
configure: creating ./config.status
config.status: creating Makefile
config.status: creating plugins-scripts/Makefile
config.status: creating plugins-scripts/subst
config.status: creating t/Makefile
--with-perl: /usr/bin/perl
--with-statefiles-dir: /var/tmp/check_mysql_health
--with-nagios-user: nagios
--with-nagios-group: nagios
--with-mymodules-dir: /usr/local/nagios/libexec
--with-mymodules-dyn-dir: /usr/local/nagios/libexec
Making all in plugins-scripts
make[1]: Entering directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/extraplugins/check_mysql_health-2.1.8.2/plugins-scripts'
/bin/echo "#! #PERL# -w" | /bin/gawk -f ./subst > check_mysql_health
/bin/echo "# nagios: -epn" >> check_mysql_health
/bin/echo >> check_mysql_health
/bin/echo "my %ERRORS=( OK => 0, WARNING => 1, CRITICAL => 2, UNKNOWN => 3 );" >> check_mysql_health
/bin/echo "my %ERRORCODES=( 0 => 'OK', 1 => 'WARNING', 2 => 'CRITICAL', 3 => 'UNKNOWN' );" >> check_mysql_health
for m in Nagios/DBD/MySQL/Server/Instance/Innodb.pm Nagios/DBD/MySQL/Server/Instance/Myisam.pm Nagios/DBD/MySQL/Server/Instance/Replication.pm Nagios/DBD/MySQL/Server/Instance.pm Nagios/DBD/MySQL/Server.pm Nagios/DBD/MySQL/Cluster.pm Nagios/Extraopts.pm; do \
/bin/sed -e 's/^1;//g' < $m | /bin/gawk -f ./subst | /bin/grep -v "my %ERROR" >> check_mysql_health; \
done
if [ -d "/usr/local/nagios/libexec" ]; then \
for m in /usr/local/nagios/libexec/CheckMySQLHealthExt*.pm; do \
if [ -f $m ]; then \
/bin/echo found $m; \
/bin/sed -e 's/^1;//g' < $m | /bin/gawk -f ./subst | /bin/grep -v "my %ERROR" >> check_mysql_health; \
fi \
done \
fi
/bin/cat check_mysql_health.pl | /bin/grep -v "^use Nagios" | /bin/grep -v "^my %ERROR" | /bin/gawk -f ./subst >> check_mysql_health
chmod +x check_mysql_health
make[1]: Leaving directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/extraplugins/check_mysql_health-2.1.8.2/plugins-scripts'
Making all in t
make[1]: Entering directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/extraplugins/check_mysql_health-2.1.8.2/t'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/extraplugins/check_mysql_health-2.1.8.2/t'
make[1]: Entering directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/extraplugins/check_mysql_health-2.1.8.2'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/usr/local/nagiosxi/tmp/nagiosxi/subcomponents/extraplugins/check_mysql_health-2.1.8.2'
Checking if your kit is complete...
Looks good
Writing Makefile for Nagios::Monitoring::Plugin
cp lib/Nagios/Monitoring/Plugin/Range.pm blib/lib/Nagios/Monitoring/Plugin/Range.pm
cp lib/Nagios/Monitoring/Plugin.pm blib/lib/Nagios/Monitoring/Plugin.pm
cp lib/Nagios/Monitoring/Plugin/Getopt.pm blib/lib/Nagios/Monitoring/Plugin/Getopt.pm
cp lib/Nagios/Monitoring/Plugin/Functions.pm blib/lib/Nagios/Monitoring/Plugin/Functions.pm
cp lib/Nagios/Monitoring/Plugin/ExitResult.pm blib/lib/Nagios/Monitoring/Plugin/ExitResult.pm
cp lib/Nagios/Monitoring/Plugin/Performance.pm blib/lib/Nagios/Monitoring/Plugin/Performance.pm
cp lib/Nagios/Monitoring/Plugin/Threshold.pm blib/lib/Nagios/Monitoring/Plugin/Threshold.pm
cp lib/Nagios/Monitoring/Plugin/Config.pm blib/lib/Nagios/Monitoring/Plugin/Config.pm
Manifying blib/man3/Nagios::Monitoring::Plugin::Range.3pm
Manifying blib/man3/Nagios::Monitoring::Plugin.3pm
Manifying blib/man3/Nagios::Monitoring::Plugin::Functions.3pm
Manifying blib/man3/Nagios::Monitoring::Plugin::Getopt.3pm
Manifying blib/man3/Nagios::Monitoring::Plugin::ExitResult.3pm
Manifying blib/man3/Nagios::Monitoring::Plugin::Performance.3pm
Manifying blib/man3/Nagios::Monitoring::Plugin::Threshold.3pm
Manifying blib/man3/Nagios::Monitoring::Plugin::Config.3pm
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/check_stuff.t .............................. ok
t/Nagios-Monitoring-Plugin-01.t .............. ok
t/Nagios-Monitoring-Plugin-02.t .............. ok
t/Nagios-Monitoring-Plugin-03.t .............. ok
t/Nagios-Monitoring-Plugin-04.t .............. ok
t/Nagios-Monitoring-Plugin-Functions-01.t .... ok
t/Nagios-Monitoring-Plugin-Functions-02.t .... ok
t/Nagios-Monitoring-Plugin-Functions-03.t .... ok
t/Nagios-Monitoring-Plugin-Getopt-01.t ....... ok
t/Nagios-Monitoring-Plugin-Getopt-02.t ....... ok
t/Nagios-Monitoring-Plugin-Getopt-03.t ....... ok
t/Nagios-Monitoring-Plugin-Getopt-04.t ....... ok
t/Nagios-Monitoring-Plugin-Performance-02.t .. ok
t/Nagios-Monitoring-Plugin-Performance.t ..... ok
t/Nagios-Monitoring-Plugin-Range.t ........... ok
t/Nagios-Monitoring-Plugin-Threshold.t ....... ok
All tests successful.
Files=16, Tests=975, 4 wallclock secs ( 0.13 usr 0.02 sys + 2.89 cusr 0.15 csys = 3.19 CPU)
Result: PASS
Manifying blib/man3/Nagios::Monitoring::Plugin::Range.3pm
Manifying blib/man3/Nagios::Monitoring::Plugin.3pm
Manifying blib/man3/Nagios::Monitoring::Plugin::Functions.3pm
Manifying blib/man3/Nagios::Monitoring::Plugin::Getopt.3pm
Manifying blib/man3/Nagios::Monitoring::Plugin::ExitResult.3pm
Manifying blib/man3/Nagios::Monitoring::Plugin::Performance.3pm
Manifying blib/man3/Nagios::Monitoring::Plugin::Threshold.3pm
Manifying blib/man3/Nagios::Monitoring::Plugin::Config.3pm
Installing /usr/local/share/perl5/Nagios/Monitoring/Plugin.pm
Installing /usr/local/share/perl5/Nagios/Monitoring/Plugin/Getopt.pm
Installing /usr/local/share/perl5/Nagios/Monitoring/Plugin/ExitResult.pm
Installing /usr/local/share/perl5/Nagios/Monitoring/Plugin/Range.pm
Installing /usr/local/share/perl5/Nagios/Monitoring/Plugin/Performance.pm
Installing /usr/local/share/perl5/Nagios/Monitoring/Plugin/Threshold.pm
Installing /usr/local/share/perl5/Nagios/Monitoring/Plugin/Config.pm
Installing /usr/local/share/perl5/Nagios/Monitoring/Plugin/Functions.pm
Installing /usr/local/share/man/man3/Nagios::Monitoring::Plugin::Getopt.3pm
Installing /usr/local/share/man/man3/Nagios::Monitoring::Plugin::Config.3pm
Installing /usr/local/share/man/man3/Nagios::Monitoring::Plugin::ExitResult.3pm
Installing /usr/local/share/man/man3/Nagios::Monitoring::Plugin.3pm
Installing /usr/local/share/man/man3/Nagios::Monitoring::Plugin::Range.3pm
Installing /usr/local/share/man/man3/Nagios::Monitoring::Plugin::Threshold.3pm
Installing /usr/local/share/man/man3/Nagios::Monitoring::Plugin::Functions.3pm
Installing /usr/local/share/man/man3/Nagios::Monitoring::Plugin::Performance.3pm
Appending installation info to /usr/lib64/perl5/perllocal.pod
Extra Plugins upgraded OK
Installing Webinject...
Webinject installed OK
Updating NRDP..
Updating NRDP..
Saving old crontab to /tmp/nagios.crontab.orig...
Removing XI cron jobs...
Saving old crontab to /tmp/root.crontab.orig...
Removing XI cron jobs...
Copying over new XI directory...
Problem upgrading from Nagios XI 5.2.0 to 5.2.3
Re: Problem upgrading from Nagios XI 5.2.0 to 5.2.3
Found upgrade.log under /usr/local/nagiosxi/tmp and it continues on after the error shown in the UI and indicates "UPGRADE COMPLETE"
I will check things out and make sure all looks good.
I will check things out and make sure all looks good.
Re: Problem upgrading from Nagios XI 5.2.0 to 5.2.3
It's a display bug. As long as that upgrade complete showed, it should have worked. We are aware of the issue and it should be gone in the next release.
Former Nagios Employee.
me.
me.
Re: Problem upgrading from Nagios XI 5.2.0 to 5.2.3
Everything seems to be working fine. Thanks.
Re: Problem upgrading from Nagios XI 5.2.0 to 5.2.3
I'll go ahead and close this thread since it is working.
Former Nagios Employee.
me.
me.