upgrade from xi-5.4.5 to 5.5.0 and then the latest in UI

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
iwang
Posts: 41
Joined: Tue Nov 12, 2019 1:22 pm

upgrade from xi-5.4.5 to 5.5.0 and then the latest in UI

Post by iwang »

Hi,

since i was blocked to upgrade to the latest directly from GUI/manual/tarball(in the other thread), i move forward to upgrade from 5.4.5 to 5.5.0 with offline upgrade mode. there are some errors at the end from the terminal(attached). but from UI, it showed up as 5.5.0. and then when i click upgrade from GUI, the GUI upgrade panel showed as blank with message "Update in progress. Please wait. Update may take a few minutes" and takes forever. attached the errors here.

thank you for your assistant.

cat /var/log/httpd/error_log

Code: Select all

[Sat Jan 25 14:00:26 2020] [notice] caught SIGTERM, shutting down
[Sat Jan 25 14:00:26 2020] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Jan 25 14:00:26 2020] [notice] Digest: generating secret for digest authentication ...
[Sat Jan 25 14:00:26 2020] [notice] Digest: done
[Sat Jan 25 14:00:26 2020] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.3 mod_ssl/2.2.15 OpenSSL/1.0.1e-fips configured -- resuming normal operations
[Sat Jan 25 14:05:03 2020] [notice] caught SIGTERM, shutting down
[Sat Jan 25 14:05:03 2020] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Jan 25 14:05:03 2020] [notice] Digest: generating secret for digest authentication ...
[Sat Jan 25 14:05:03 2020] [notice] Digest: done
[Sat Jan 25 14:05:03 2020] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.3 mod_ssl/2.2.15 OpenSSL/1.0.1e-fips configured -- resuming normal operations
[Sat Jan 25 15:38:07 2020] [notice] caught SIGTERM, shutting down
[Sat Jan 25 15:38:07 2020] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Jan 25 15:38:07 2020] [notice] Digest: generating secret for digest authentication ...
[Sat Jan 25 15:38:07 2020] [notice] Digest: done
[Sat Jan 25 15:38:07 2020] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.3 mod_ssl/2.2.15 OpenSSL/1.0.1e-fips configured -- resuming normal operations
[Sat Jan 25 15:41:44 2020] [notice] caught SIGTERM, shutting down
[Sat Jan 25 15:41:44 2020] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Jan 25 15:41:44 2020] [notice] Digest: generating secret for digest authentication ...
[Sat Jan 25 15:41:44 2020] [notice] Digest: done
[Sat Jan 25 15:41:44 2020] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.3 mod_ssl/2.2.15 OpenSSL/1.0.1e-fips configured -- resuming normal operations
[Sat Jan 25 20:16:22 2020] [notice] caught SIGTERM, shutting down
[Sat Jan 25 20:16:22 2020] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Jan 25 20:16:22 2020] [notice] Digest: generating secret for digest authentication ...
[Sat Jan 25 20:16:22 2020] [notice] Digest: done
[Sat Jan 25 20:16:22 2020] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.3 mod_ssl/2.2.15 OpenSSL/1.0.1e-fips configured -- resuming normal operations
[Sat Jan 25 20:17:40 2020] [notice] SIGHUP received.  Attempting to restart
httpd: Could not reliably determine the server's fully qualified domain name, using scclnagiosxi01.dvms.local for ServerName
[Sat Jan 25 20:17:40 2020] [notice] Digest: generating secret for digest authentication ...
[Sat Jan 25 20:17:40 2020] [notice] Digest: done
[Sat Jan 25 20:17:40 2020] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.3 mod_ssl/2.2.15 OpenSSL/1.0.1e-fips configured -- resuming normal operations
[Sat Jan 25 20:20:49 2020] [notice] caught SIGTERM, shutting down
[Sat Jan 25 20:20:49 2020] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Jan 25 20:20:49 2020] [notice] Digest: generating secret for digest authentication ...
[Sat Jan 25 20:20:49 2020] [notice] Digest: done
[Sat Jan 25 20:20:49 2020] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.3 mod_ssl/2.2.15 OpenSSL/1.0.1e-fips configured -- resuming normal operations
[Sat Jan 25 20:39:58 2020] [error] [client 100.74.199.87] PHP Notice:  Undefined index: auth_type in /usr/local/nagiosxi/html/includes/components/scheduledbackups/managebackups.php on line 0, referer: http://scclnagiosxi01.dvms.local/nagiosxi/admin/
[Sat Jan 25 20:39:58 2020] [error] [client 100.74.199.87] PHP Notice:  Undefined index: auth_type in /usr/local/nagiosxi/html/includes/components/scheduledbackups/managebackups.php on line 0, referer: http://scclnagiosxi01.dvms.local/nagiosxi/admin/
[Sat Jan 25 20:39:58 2020] [error] [client 100.74.199.87] PHP Notice:  Undefined index: auth_type in /usr/local/nagiosxi/html/includes/components/scheduledbackups/managebackups.php on line 0, referer: http://scclnagiosxi01.dvms.local/nagiosxi/admin/
[Sat Jan 25 20:39:58 2020] [error] [client 100.74.199.87] PHP Notice:  Undefined index: auth_type in /usr/local/nagiosxi/html/includes/components/scheduledbackups/managebackups.php on line 0, referer: http://scclnagiosxi01.dvms.local/nagiosxi/admin/
[Sat Jan 25 20:39:58 2020] [error] [client 100.74.199.87] PHP Notice:  Undefined index: auth_type in /usr/local/nagiosxi/html/includes/components/scheduledbackups/managebackups.php on line 0, referer: http://scclnagiosxi01.dvms.local/nagiosxi/admin/
[Sat Jan 25 20:39:58 2020] [error] [client 100.74.199.87] PHP Notice:  Undefined index: pubkey_file in /usr/local/nagiosxi/html/includes/components/scheduledbackups/managebackups.php on line 0, referer: http://scclnagiosxi01.dvms.local/nagiosxi/admin/
[Sat Jan 25 20:39:58 2020] [error] [client 100.74.199.87] PHP Notice:  Undefined index: pubkey_file in /usr/local/nagiosxi/html/includes/components/scheduledbackups/managebackups.php on line 0, referer: http://scclnagiosxi01.dvms.local/nagiosxi/admin/
[Sat Jan 25 20:39:58 2020] [error] [client 100.74.199.87] PHP Notice:  Undefined index: auth_type in /usr/local/nagiosxi/html/includes/components/scheduledbackups/managebackups.php on line 0, referer: http://scclnagiosxi01.dvms.local/nagiosxi/admin/
[Sat Jan 25 20:39:58 2020] [error] [client 100.74.199.87] PHP Notice:  Undefined index: privkey_file in /usr/local/nagiosxi/html/includes/components/scheduledbackups/managebackups.php on line 0, referer: http://scclnagiosxi01.dvms.local/nagiosxi/admin/
[Sat Jan 25 20:39:58 2020] [error] [client 100.74.199.87] PHP Notice:  Undefined index: auth_type in /usr/local/nagiosxi/html/includes/components/scheduledbackups/managebackups.php on line 0, referer: http://scclnagiosxi01.dvms.local/nagiosxi/admin/
[Sat Jan 25 20:39:58 2020] [error] [client 100.74.199.87] PHP Notice:  Undefined index: privkey_password in /usr/local/nagiosxi/html/includes/components/scheduledbackups/managebackups.php on line 0, referer: http://scclnagiosxi01.dvms.local/nagiosxi/admin/
You have new mail in /var/spool/mail/root
-bash-4.1# /etc/init.d/httpd status
httpd (pid  25504) is running...
-bash-4.1# cat /etc/httpd/conf.d/nagios
errors from the offline tarball upgrade:

Code: Select all

---> Package nss.i686 0:3.19.1-8.el6_7 will be installed
--> Processing Dependency: nss-softokn(x86-32) >= 3.14.3-22 for package: nss-3.19.1-8.el6_7.i686
--> Processing Dependency: libsoftokn3.so for package: nss-3.19.1-8.el6_7.i686
--> Processing Dependency: libplds4.so for package: nss-3.19.1-8.el6_7.i686
--> Processing Dependency: libplc4.so for package: nss-3.19.1-8.el6_7.i686
--> Processing Dependency: libnssutil3.so(NSSUTIL_3.17.1) for package: nss-3.19.1-8.el6_7.i686
--> Processing Dependency: libnssutil3.so(NSSUTIL_3.15) for package: nss-3.19.1-8.el6_7.i686
--> Processing Dependency: libnssutil3.so(NSSUTIL_3.14) for package: nss-3.19.1-8.el6_7.i686
--> Processing Dependency: libnssutil3.so(NSSUTIL_3.13) for package: nss-3.19.1-8.el6_7.i686
--> Processing Dependency: libnssutil3.so(NSSUTIL_3.12.5) for package: nss-3.19.1-8.el6_7.i686
--> Processing Dependency: libnssutil3.so(NSSUTIL_3.12.3) for package: nss-3.19.1-8.el6_7.i686
--> Processing Dependency: libnssutil3.so(NSSUTIL_3.12) for package: nss-3.19.1-8.el6_7.i686
--> Processing Dependency: libnssutil3.so for package: nss-3.19.1-8.el6_7.i686
--> Processing Dependency: libnssdbm3.so for package: nss-3.19.1-8.el6_7.i686
--> Processing Dependency: libnspr4.so for package: nss-3.19.1-8.el6_7.i686
---> Package nss-softokn-freebl.i686 0:3.14.3-23.el6_7 will be installed
---> Package perl-libs.i686 4:5.10.1-141.el6_7.1 will be installed
--> Processing Dependency: perl = 4:5.10.1-141.el6_7.1 for package: 4:perl-libs-5.10.1-141.el6_7.1.i686
---> Package xz-libs.i686 0:4.999.9-0.5.beta.20091007git.el6 will be installed
--> Running transaction check
---> Package keyutils-libs.i686 0:1.4-5.el6 will be installed
---> Package libattr.i686 0:2.4.44-7.el6 will be installed
---> Package ncurses-libs.i686 0:5.7-4.20090207.el6 will be installed
---> Package nspr.i686 0:4.10.8-2.el6_7 will be installed
---> Package nss-softokn.i686 0:3.14.3-23.el6_7 will be installed
--> Processing Dependency: libsqlite3.so.0 for package: nss-softokn-3.14.3-23.el6_7.i686
---> Package nss-util.x86_64 0:3.19.1-2.el6_7 will be updated
---> Package nss-util.i686 0:3.19.1-5.el6_7 will be installed
---> Package nss-util.x86_64 0:3.19.1-5.el6_7 will be an update
---> Package perl-libs.i686 4:5.10.1-141.el6_7.1 will be installed
--> Processing Dependency: perl = 4:5.10.1-141.el6_7.1 for package: 4:perl-libs-5.10.1-141.el6_7.1.i686
---> Package readline.i686 0:6.0-4.el6 will be installed
--> Running transaction check

---> Package perl-libs.i686 4:5.10.1-141.el6_7.1 will be installed
--> Processing Dependency: perl = 4:5.10.1-141.el6_7.1 for package: 4:perl-libs-5.10.1-141.el6_7.1.i686
---> Package sqlite.i686 0:3.6.20-1.el6_7.2 will be installed
--> Finished Dependency Resolution
Error: Package: 4:perl-libs-5.10.1-141.el6_7.1.i686 (updates)
           Requires: perl = 4:5.10.1-141.el6_7.1
           Installed: 4:perl-5.10.1-144.el6.x86_64 (@base)
               perl = 4:5.10.1-144.el6
           Available: 4:perl-5.10.1-141.el6.x86_64 (base)
               perl = 4:5.10.1-141.el6
           Available: 4:perl-5.10.1-141.el6_7.1.x86_64 (updates)
               perl = 4:5.10.1-141.el6_7.1
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
Uploading Enabled Repositories Report
Loaded plugins: fastestmirror, product-id
Unable to upload Enabled Repositories Report

Download & installing supporting files

--2020-01-25 20:20:52--  http://assets.nagios.com/downloads/support/snmptrap-bins.tar.bz2
Resolving assets.nagios.com... 72.14.181.71, 2600:3c00::f03c:91ff:fedf:b821
Connecting to assets.nagios.com|72.14.181.71|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://assets.nagios.com/downloads/support/snmptrap-bins.tar.bz2 [following]
--2020-01-25 20:20:52--  https://assets.nagios.com/downloads/support/snmptrap-bins.tar.bz2
Connecting to assets.nagios.com|72.14.181.71|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 8873 (8.7K) [application/x-bzip2]
Saving to: “snmptrap-bins.tar.bz2”

100%[================================================================>] 8,873       --.-K/s   in 0s

2020-01-25 20:20:52 (203 MB/s) - “snmptrap-bins.tar.bz2” saved [8873/8873]

Updating snmptt.ini

cp: cannot stat `/etc/snmp/snmptt.ini': No such file or directory
sed: can't read /etc/snmp/snmptt.ini: No such file or directory
sed: can't read /etc/snmp/snmptt.ini: No such file or directory
sed: can't read /etc/snmp/snmptt.ini: No such file or directory
sed: can't read /etc/snmp/snmptt.ini: No such file or directory
sed: can't read /etc/snmp/snmptt.ini: No such file or directory
sed: can't read /etc/snmp/snmptt.ini: No such file or directory
sed: can't read /etc/snmp/snmptt.ini: No such file or directory
sed: can't read /etc/snmp/snmptt.ini: No such file or directory
sed: can't read /etc/snmp/snmptt.ini: No such file or directory
sed: can't read /etc/snmp/snmptt.ini: No such file or directory

Creating snmptrapd.conf


Adding the snmptt user to the nagios and nagcmd groups

usermod: user 'snmptt' does not exist
usermod: user 'snmptt' does not exist

Modifying permissions

/bin/chown: cannot access `/etc/snmp/snmptt.conf': No such file or directory
chmod: cannot access `/etc/snmp/snmptt.conf': No such file or directory
/bin/chown: invalid user: `snmptt:snmptt'
chmod: cannot access `/var/spool/snmptt': No such file or directory
chmod: cannot access `/var/log/snmptt': No such file or directory

Adding firewall rules

iptables: Saving firewall rules to /etc/sysconfig/iptables:[  OK  ]

Set up the snmptt daemon to start automatically on boot
as well as starting it now

error reading information on service snmptt: No such file or directory

-bash-4.1# yum repolist
Loaded plugins: enabled_repos_upload, fastestmirror, package_upload, product-id, security, subscription-
              : manager
tlsv1 alert unknown ca
Loading mirror speeds from cached hostfile
 * epel: mirrors.sonic.net
repo id                       repo name                                                             status
base                          CentOS-6 - Base                                                        6,575
cr                            CentOS-6 - CR                                                              0
epel                          Extra Packages for Enterprise Linux 6 - x86_64                        12,584
extras                        CentOS-6 - Extras                                                         50
updates                       CentOS-6 - Updates                                                     1,263
repolist: 20,472
Uploading Enabled Repositories Report
Loaded plugins: fastestmirror, product-id
Unable to upload Enabled Repositories Report
You have new mail in /var/spool/mail/root
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: upgrade from xi-5.4.5 to 5.5.0 and then the latest in UI

Post by benjaminsmith »

Hello @iwang,

Are you able to access the GUI? If so, can you download a System Profile and send it over?
To send us your system profile.
Login to the Nagios XI GUI using a web browser
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file and share this in a private message and then reply to this post to bring it up in the queue.

Next, there is a perl dependency error, please post the output to the following commands:

Code: Select all

yum list installed perl
rpm -qa | grep perl
which perl
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
iwang
Posts: 41
Joined: Tue Nov 12, 2019 1:22 pm

Re: upgrade from xi-5.4.5 to 5.5.0 and then the latest in UI

Post by iwang »

thank you for your respond!

i have sent you the private message for the system profile. here is the output for the perl information:

Code: Select all

-bash-4.1# yum list installed perl
Loaded plugins: enabled_repos_upload, fastestmirror, package_upload, product-id, security, subscription-
              : manager
tlsv1 alert unknown ca
Loading mirror speeds from cached hostfile
 * epel: mirrors.sonic.net
Installed Packages
perl.x86_64                                    4:5.10.1-144.el6                                    @base
Uploading Enabled Repositories Report
Loaded plugins: fastestmirror, product-id
Unable to upload Enabled Repositories Report
-bash-4.1# rpm -qa | grep perl
perl-IO-Compress-Base-2.021-144.el6.x86_64
perl-Compress-Zlib-2.021-144.el6.x86_64
perl-DateTime-0.5300-3.el6.x86_64
perl-DBI-1.609-4.el6.x86_64
perl-Digest-HMAC-1.01-22.el6.noarch
perl-Params-Validate-0.92-3.el6.x86_64
perl-Crypt-SSLeay-0.57-17.el6.x86_64
perl-Net-LibIDN-0.12-3.el6.x86_64
perl-HTML-Parser-3.64-2.el6.x86_64
perl-Crypt-DES-2.05-9.el6.x86_64
perl-Math-Calc-Units-1.07-6.el6.noarch
perl-Pod-Escapes-1.04-144.el6.x86_64
perl-version-0.77-144.el6.x86_64
perl-ExtUtils-ParseXS-2.2003.0-144.el6.x86_64
perl-Compress-Raw-Zlib-2.021-144.el6.x86_64
perl-IO-Compress-Zlib-2.021-144.el6.x86_64
perl-CPAN-1.9402-144.el6.x86_64
perl-Test-Simple-0.92-144.el6.x86_64
perl-URI-1.40-2.el6.noarch
perl-DBD-MySQL-4.013-3.el6.x86_64
perl-Digest-SHA1-2.12-2.el6.x86_64
perl-Socket6-0.23-4.el6.x86_64
perl-IO-Socket-INET6-2.56-4.el6.noarch
perl-Error-0.17015-4.el6.noarch
perl-SNMP_Session-1.12-4.el6.noarch
perl-Crypt-Rijndael-1.09-2.el6.x86_64
perl-Mail-POP3Client-2.18-6.el6.noarch
perl-Parse-RecDescent-1.965-1.el6.noarch
perl-Number-Format-1.73-3.el6.noarch
perl-IO-Socket-SSL-1.31-2.el6.noarch
perl-HTML-Tagset-3.20-4.el6.noarch
perl-libwww-perl-5.833-2.el6.noarch
perl-XML-Simple-2.18-6.el6.noarch
perl-Net-SNMP-5.2.0-4.el6.noarch
perl-libs-5.10.1-144.el6.x86_64
perl-Pod-Simple-3.13-144.el6.x86_64
perl-5.10.1-144.el6.x86_64
perl-Test-Harness-3.17-144.el6.x86_64
perl-devel-5.10.1-144.el6.x86_64
perl-IO-stringy-2.110-10.1.el6.noarch
perl-Class-Singleton-1.4-6.el6.noarch
perl-Config-IniFiles-2.72-2.el6.noarch
perl-Class-Accessor-0.31-6.1.el6.noarch
rrdtool-perl-1.3.8-7.el6.x86_64
perl-Mail-IMAPClient-3.37-1.el6.noarch
perl-Digest-SHA-5.47-144.el6.x86_64
perl-Time-HiRes-1.9721-144.el6.x86_64
perl-Net-SSLeay-1.35-9.el6.x86_64
perl-TimeDate-1.16-13.el6.noarch
perl-List-MoreUtils-0.22-10.el6.x86_64
perl-Net-DNS-0.65-5.el6.x86_64
perl-Net-SMTP-TLS-0.12-1.el6.rf.noarch
perl-XML-Parser-2.36-7.el6.x86_64
perl-Config-Tiny-2.12-7.1.el6.noarch
perl-Module-Pluggable-3.90-144.el6.x86_64
perl-ExtUtils-MakeMaker-6.55-144.el6.x86_64

-bash-4.1# which perl
/usr/bin/perl
iwang
Posts: 41
Joined: Tue Nov 12, 2019 1:22 pm

Re: upgrade from xi-5.4.5 to 5.5.0 and then the latest in UI

Post by iwang »

please keep this one unlocked. thank you
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: upgrade from xi-5.4.5 to 5.5.0 and then the latest in UI

Post by benjaminsmith »

Hello Irene,

A couple of things we noticed from the profile and the logs. There are mulitple Nagios processes running, so stop Nagios, kill of the processes and res-start.

Code: Select all

service nagios stop
pkill -9 -u nagios
service nagios start
1. The Continous Release (CR) Repo may cause package conflicts and/or incompatibilities and is not recommended.
Error: Package: 4:perl-libs-5.10.1-141.el6_7.1.i686 (updates)
Requires: perl = 4:5.10.1-141.el6_7.1
Installed: 4:perl-5.10.1-144.el6.x86_64 (@base)
perl = 4:5.10.1-144.el6
Available: 4:perl-5.10.1-141.el6.x86_64 (base)
perl = 4:5.10.1-141.el6
Available: 4:perl-5.10.1-141.el6_7.1.x86_64 (updates)
perl = 4:5.10.1-141.el6_7.1
2. You'll need to have the following version of perl installed, and will need to downgrade from perl-5.10.1-144.el6.x86_64 to: perl = 4:5.10.1-141.el6_7.1 If you are running a VM, take a snapshot before making any changes.You can use the downgrade command in yum.

Code: Select all

yum downgrade perl-5.10.1-141.el6.x86_64
See: How to use yum to downgrade or rollback some package updates?

Try running the installer again and post any error messages. Also, if you're still having trouble, please post the output to the following command:

Code: Select all

yum list installed
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
iwang
Posts: 41
Joined: Tue Nov 12, 2019 1:22 pm

Re: upgrade from xi-5.4.5 to 5.5.0 and then the latest in UI

Post by iwang »

Hi Benjamin,
I still got the same error. here is the output of yum list installed. please find attached output.

and downgrade perl&php doesn't seem successful to me. please check the attached.

the latest upgrade log

Code: Select all

Nagios XI Upgrade Log
==========================
DATE: Mon Jan 27 17:49:10 PST 2020

DISTRO INFO:
CentOS
6.7
x86_64


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  ]
Checking required prereqs... 
Please wait... 

OLD VERSION: 5500
Loaded plugins: enabled_repos_upload, fastestmirror, package_upload, product-id,
              : security, subscription-manager
Setting up Update Process
Loading mirror speeds from cached hostfile
 * epel: mirrors.sonic.net
No Packages marked for Update
Uploading Enabled Repositories Report
Loaded plugins: fastestmirror, product-id
Loaded plugins: enabled_repos_upload, fastestmirror, package_upload, product-id,
              : security, subscription-manager
Setting up Install Process
Loading mirror speeds from cached hostfile
 * epel: mirrors.sonic.net
Resolving Dependencies
--> Running transaction check
---> Package php-imap.x86_64 0:5.3.3-46.el6_7.1 will be installed
--> Processing Dependency: php-common(x86-64) = 5.3.3-46.el6_7.1 for package: php-imap-5.3.3-46.el6_7.1.x86_64
--> Processing Dependency: libc-client.so.2007()(64bit) for package: php-imap-5.3.3-46.el6_7.1.x86_64
--> Running transaction check
---> Package libc-client.x86_64 0:2007e-11.el6 will be installed
---> Package php-imap.x86_64 0:5.3.3-46.el6_7.1 will be installed
--> Processing Dependency: php-common(x86-64) = 5.3.3-46.el6_7.1 for package: php-imap-5.3.3-46.el6_7.1.x86_64
--> Finished Dependency Resolution
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
Uploading Enabled Repositories Report
Loaded plugins: fastestmirror, product-id
Nagios XI Upgrade Log
==========================
DATE: Mon Jan 27 18:03:06 PST 2020

DISTRO INFO:
CentOS
6.7
x86_64


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  ]
Checking required prereqs... 
Please wait... 

OLD VERSION: 5500
Loaded plugins: enabled_repos_upload, fastestmirror, package_upload, product-id,
              : security, subscription-manager
Setting up Update Process
Loading mirror speeds from cached hostfile
 * epel: mirrors.sonic.net
No Packages marked for Update
Uploading Enabled Repositories Report
Loaded plugins: fastestmirror, product-id
Loaded plugins: enabled_repos_upload, fastestmirror, package_upload, product-id,
              : security, subscription-manager
Setting up Install Process
Loading mirror speeds from cached hostfile
 * epel: mirrors.sonic.net
Resolving Dependencies
--> Running transaction check
---> Package php-imap.x86_64 0:5.3.3-46.el6_7.1 will be installed
--> Processing Dependency: php-common(x86-64) = 5.3.3-46.el6_7.1 for package: php-imap-5.3.3-46.el6_7.1.x86_64
--> Processing Dependency: libc-client.so.2007()(64bit) for package: php-imap-5.3.3-46.el6_7.1.x86_64
--> Running transaction check
---> Package libc-client.x86_64 0:2007e-11.el6 will be installed
---> Package php-imap.x86_64 0:5.3.3-46.el6_7.1 will be installed
--> Processing Dependency: php-common(x86-64) = 5.3.3-46.el6_7.1 for package: php-imap-5.3.3-46.el6_7.1.x86_64
--> Finished Dependency Resolution
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
Uploading Enabled Repositories Report
Loaded plugins: fastestmirror, product-id
You do not have the required permissions to view the files attached to this post.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: upgrade from xi-5.4.5 to 5.5.0 and then the latest in UI

Post by benjaminsmith »

Hi Irene,

Did it error on the php-common package as well? It looks like the upgrade log is cut off, can you run this again and post the entire output.

It may save time to just take a backup and restore it on a clean (minimal) distribution. Are you running this on a physical server or a VM?

Backing Up and Restoring Nagios XI
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
iwang
Posts: 41
Joined: Tue Nov 12, 2019 1:22 pm

Re: upgrade from xi-5.4.5 to 5.5.0 and then the latest in UI

Post by iwang »

here is the php downgrade output

Code: Select all

# yum downgrade php-common-5.3.3-46.el6_7.1.x86_64
Loaded plugins: enabled_repos_upload, fastestmirror, package_upload, product-id, security,
              : subscription-manager
tlsv1 alert unknown ca
Setting up Downgrade Process
Loading mirror speeds from cached hostfile
 * epel: mirrors.sonic.net
Resolving Dependencies
--> Running transaction check
---> Package php-common.x86_64 0:5.3.3-46.el6_7.1 will be a downgrade
---> Package php-common.x86_64 0:5.3.3-49.el6 will be erased
--> Finished Dependency Resolution
Error: Package: php-xml-5.3.3-49.el6.x86_64 (@base)
           Requires: php-common(x86-64) = 5.3.3-49.el6
           Removing: php-common-5.3.3-49.el6.x86_64 (@base)
               php-common(x86-64) = 5.3.3-49.el6
           Downgraded By: php-common-5.3.3-46.el6_7.1.x86_64 (C6.7-updates)
               php-common(x86-64) = 5.3.3-46.el6_7.1
           Available: php-common-5.3.3-40.el6_6.x86_64 (C6.7-base)
               php-common(x86-64) = 5.3.3-40.el6_6
           Available: php-common-5.3.3-46.el6_6.x86_64 (C6.7-updates)
               php-common(x86-64) = 5.3.3-46.el6_6
Error: Package: php-cli-5.3.3-49.el6.x86_64 (@base)
           Requires: php-common(x86-64) = 5.3.3-49.el6
           Removing: php-common-5.3.3-49.el6.x86_64 (@base)
               php-common(x86-64) = 5.3.3-49.el6
           Downgraded By: php-common-5.3.3-46.el6_7.1.x86_64 (C6.7-updates)
               php-common(x86-64) = 5.3.3-46.el6_7.1
           Available: php-common-5.3.3-40.el6_6.x86_64 (C6.7-base)
               php-common(x86-64) = 5.3.3-40.el6_6
           Available: php-common-5.3.3-46.el6_6.x86_64 (C6.7-updates)
               php-common(x86-64) = 5.3.3-46.el6_6
Error: Package: php-pgsql-5.3.3-49.el6.x86_64 (@base)
           Requires: php-common(x86-64) = 5.3.3-49.el6
           Removing: php-common-5.3.3-49.el6.x86_64 (@base)
               php-common(x86-64) = 5.3.3-49.el6
           Downgraded By: php-common-5.3.3-46.el6_7.1.x86_64 (C6.7-updates)
               php-common(x86-64) = 5.3.3-46.el6_7.1
           Available: php-common-5.3.3-40.el6_6.x86_64 (C6.7-base)
               php-common(x86-64) = 5.3.3-40.el6_6
           Available: php-common-5.3.3-46.el6_6.x86_64 (C6.7-updates)
               php-common(x86-64) = 5.3.3-46.el6_6
Error: Package: php-5.3.3-49.el6.x86_64 (@base)
           Requires: php-common(x86-64) = 5.3.3-49.el6
           Removing: php-common-5.3.3-49.el6.x86_64 (@base)
               php-common(x86-64) = 5.3.3-49.el6
           Downgraded By: php-common-5.3.3-46.el6_7.1.x86_64 (C6.7-updates)
               php-common(x86-64) = 5.3.3-46.el6_7.1
           Available: php-common-5.3.3-40.el6_6.x86_64 (C6.7-base)
               php-common(x86-64) = 5.3.3-40.el6_6
           Available: php-common-5.3.3-46.el6_6.x86_64 (C6.7-updates)
               php-common(x86-64) = 5.3.3-46.el6_6
Error: Package: php-gd-5.3.3-49.el6.x86_64 (@base)
           Requires: php-common(x86-64) = 5.3.3-49.el6
           Removing: php-common-5.3.3-49.el6.x86_64 (@base)
               php-common(x86-64) = 5.3.3-49.el6
           Downgraded By: php-common-5.3.3-46.el6_7.1.x86_64 (C6.7-updates)
               php-common(x86-64) = 5.3.3-46.el6_7.1
           Available: php-common-5.3.3-40.el6_6.x86_64 (C6.7-base)
               php-common(x86-64) = 5.3.3-40.el6_6
           Available: php-common-5.3.3-46.el6_6.x86_64 (C6.7-updates)
               php-common(x86-64) = 5.3.3-46.el6_6
Error: Package: php-pdo-5.3.3-49.el6.x86_64 (@base)
           Requires: php-common(x86-64) = 5.3.3-49.el6
           Removing: php-common-5.3.3-49.el6.x86_64 (@base)
               php-common(x86-64) = 5.3.3-49.el6
           Downgraded By: php-common-5.3.3-46.el6_7.1.x86_64 (C6.7-updates)
               php-common(x86-64) = 5.3.3-46.el6_7.1
           Available: php-common-5.3.3-40.el6_6.x86_64 (C6.7-base)
               php-common(x86-64) = 5.3.3-40.el6_6
           Available: php-common-5.3.3-46.el6_6.x86_64 (C6.7-updates)
               php-common(x86-64) = 5.3.3-46.el6_6
Error: Package: php-mbstring-5.3.3-49.el6.x86_64 (@base)
           Requires: php-common(x86-64) = 5.3.3-49.el6
           Removing: php-common-5.3.3-49.el6.x86_64 (@base)
               php-common(x86-64) = 5.3.3-49.el6
           Downgraded By: php-common-5.3.3-46.el6_7.1.x86_64 (C6.7-updates)
               php-common(x86-64) = 5.3.3-46.el6_7.1
           Available: php-common-5.3.3-40.el6_6.x86_64 (C6.7-base)
               php-common(x86-64) = 5.3.3-40.el6_6
           Available: php-common-5.3.3-46.el6_6.x86_64 (C6.7-updates)
               php-common(x86-64) = 5.3.3-46.el6_6
Error: Package: php-ldap-5.3.3-49.el6.x86_64 (@base)
           Requires: php-common(x86-64) = 5.3.3-49.el6
           Removing: php-common-5.3.3-49.el6.x86_64 (@base)
               php-common(x86-64) = 5.3.3-49.el6
           Downgraded By: php-common-5.3.3-46.el6_7.1.x86_64 (C6.7-updates)
               php-common(x86-64) = 5.3.3-46.el6_7.1
           Available: php-common-5.3.3-40.el6_6.x86_64 (C6.7-base)
               php-common(x86-64) = 5.3.3-40.el6_6
           Available: php-common-5.3.3-46.el6_6.x86_64 (C6.7-updates)
               php-common(x86-64) = 5.3.3-46.el6_6
Error: Package: php-snmp-5.3.3-49.el6.x86_64 (@base)
           Requires: php-common(x86-64) = 5.3.3-49.el6
           Removing: php-common-5.3.3-49.el6.x86_64 (@base)
               php-common(x86-64) = 5.3.3-49.el6
           Downgraded By: php-common-5.3.3-46.el6_7.1.x86_64 (C6.7-updates)
               php-common(x86-64) = 5.3.3-46.el6_7.1
           Available: php-common-5.3.3-40.el6_6.x86_64 (C6.7-base)
               php-common(x86-64) = 5.3.3-40.el6_6
           Available: php-common-5.3.3-46.el6_6.x86_64 (C6.7-updates)
               php-common(x86-64) = 5.3.3-46.el6_6
Error: Package: php-mysql-5.3.3-49.el6.x86_64 (@base)
           Requires: php-common(x86-64) = 5.3.3-49.el6
           Removing: php-common-5.3.3-49.el6.x86_64 (@base)
               php-common(x86-64) = 5.3.3-49.el6
           Downgraded By: php-common-5.3.3-46.el6_7.1.x86_64 (C6.7-updates)
               php-common(x86-64) = 5.3.3-46.el6_7.1
           Available: php-common-5.3.3-40.el6_6.x86_64 (C6.7-base)
               php-common(x86-64) = 5.3.3-40.el6_6
           Available: php-common-5.3.3-46.el6_6.x86_64 (C6.7-updates)
               php-common(x86-64) = 5.3.3-46.el6_6
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
Uploading Enabled Repositories Report
Loaded plugins: fastestmirror, product-id
Unable to upload Enabled Repositories Report
yes. it's on a VM
iwang
Posts: 41
Joined: Tue Nov 12, 2019 1:22 pm

Re: upgrade from xi-5.4.5 to 5.5.0 and then the latest in UI

Post by iwang »

the reason we cannot do on a clean env because we need replicate the firewall configuration but we lost the track of the nagios server configuration for the new env. it will take longer time.

can you share what's the requirement of the kernel libraries? including the core and dependent libs version.
from the log, it fails not only one package but also the dependent ones. and Nagios upgrade is looking for lower release version instead of the latest.


benjaminsmith wrote:Hi Irene,

Did it error on the php-common package as well? It looks like the upgrade log is cut off, can you run this again and post the entire output.

It may save time to just take a backup and restore it on a clean (minimal) distribution. Are you running this on a physical server or a VM?

Backing Up and Restoring Nagios XI
iwang
Posts: 41
Joined: Tue Nov 12, 2019 1:22 pm

Re: upgrade from xi-5.4.5 to 5.5.0 and then the latest in UI

Post by iwang »

@ benjaminsmith,
is it possible install two nagios server on one host? do we have document? i would like to use the same host and install a fresh nagios latest version and then redirect the db configuration to the newer one if everything works fine. this way, it won't effect my current setup neither.

thanks,
Irene
Locked