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

Installing two servers on one host is not supported. Please open a support ticket for faster resolution on this issue and reference this post. Please run the installer once more and provide the full output of the log in the ticket.

Thanks.

To open a support ticket go to:

https://support.nagios.com/tickets/
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 i got another env and i am trying to do a fresh installation from tarball. the ./fullinstall still fails with the error:

Code: Select all

--> Finished Dependency Resolution
Error: Package: nagiosxi-5.6.10-1.el6.x86_64 (/nagiosxi-5.6.10-1.el6.x86_64)
           Requires: php-imap
Error: Package: nagiosxi-5.6.10-1.el6.x86_64 (/nagiosxi-5.6.10-1.el6.x86_64)
           Requires: mysql
Error: Package: nagiosxi-5.6.10-1.el6.x86_64 (/nagiosxi-5.6.10-1.el6.x86_64)
           Requires: postgresql-server
Error: Package: nagiosxi-5.6.10-1.el6.x86_64 (/nagiosxi-5.6.10-1.el6.x86_64)
           Requires: php-devel
Error: Package: nagiosxi-5.6.10-1.el6.x86_64 (/nagiosxi-5.6.10-1.el6.x86_64)
           Requires: mysql-server
Error: Package: nagiosxi-5.6.10-1.el6.x86_64 (/nagiosxi-5.6.10-1.el6.x86_64)
           Requires: postgresql
Error: Package: nagiosxi-5.6.10-1.el6.x86_64 (/nagiosxi-5.6.10-1.el6.x86_64)
           Requires: net-snmp-perl
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
and yum repo list:

Code: Select all

-bash-4.1# yum repolist
Loaded plugins: enabled_repos_upload, fastestmirror, package_upload, product-id, security, subscription-manager
certificate verify failed
Loading mirror speeds from cached hostfile
 * epel: mirror.sjc02.svwh.net
repo id                                    repo name                                                                    status
epel                                       Extra Packages for Enterprise Linux 6 - x86_64                               12,584
nagios-base                                Nagios                                                                          171
nagiosxi-deps                              Nagios XI Dependencies                                                           33
repolist: 12,788
Uploading Enabled Repositories Report
Loaded plugins: fastestmirror, product-id
Unable to upload Enabled Repositories Report

Code: Select all

# cat /etc/yum.repos.d/epel.repo
[epel]
name=Extra Packages for Enterprise Linux 6 - $basearch
#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
failovermethod=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6

[epel-debuginfo]
name=Extra Packages for Enterprise Linux 6 - $basearch - Debug
#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch/debug
mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=epel-debug-6&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
gpgcheck=1

[epel-source]
name=Extra Packages for Enterprise Linux 6 - $basearch - Source
#baseurl=http://download.fedoraproject.org/pub/epel/6/SRPMS
mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=epel-source-6&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
gpgcheck=1

Code: Select all

-bash-4.1# uname -a
Linux scclnagiosxi02.dvms.local 2.6.32-573.18.1.el6.x86_64 #1 SMP Tue Feb 9 22:46:17 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
-bash-4.1# cat /etc/redhat-release 
CentOS release 6.7 (Final)
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

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

Post by scottwilkerson »

Code: Select all

subscription-manager 
certificate verify failed
Looks like your instance cannot connect to the RedHat base repositories, is it registered?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
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 »

scottwilkerson wrote:

Code: Select all

subscription-manager 
certificate verify failed
Looks like your instance cannot connect to the RedHat base repositories, is it registered?
it's a centOS machine if you check the previous thread. but now i got a fresh new machine, which is redhat 7. i got different error when I do fresh installation:

Code: Select all

--> Processing Conflict: php56u-pdo-5.6.34-1.ius.el7.x86_64 conflicts php-pdo < 5.6
--> Finished Dependency Resolution
Error: mariadb101u-common conflicts with 1:mariadb-libs-5.5.60-1.el7_5.x86_64
Error: php72u-pdo conflicts with php-pdo-5.4.16-46.el7.x86_64
Error: php72u-cli conflicts with php56u-cli-5.6.34-1.ius.el7.x86_64
Error: php56u-pdo conflicts with php-pdo-5.4.16-46.el7.x86_64
Error: php72u-pdo conflicts with php56u-pdo-5.6.34-1.ius.el7.x86_64
Error: mariadb101u-libs conflicts with 1:mariadb-libs-5.5.60-1.el7_5.x86_64
Error: mariadb101u-errmsg conflicts with 1:mariadb-libs-5.5.60-1.el7_5.x86_64
Error: php72u-common conflicts with php-common-5.4.16-46.el7.x86_64
Error: mariadb101u-config conflicts with 1:mariadb-libs-5.5.60-1.el7_5.x86_64
Error: php72u-xml conflicts with php56u-xml-5.6.34-1.ius.el7.x86_64
Error: php56u-common conflicts with php-common-5.4.16-46.el7.x86_64
Error: php72u-common conflicts with php56u-common-5.6.34-1.ius.el7.x86_64
 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: product-id, subscription-manager

Code: Select all

$ cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 7.6 (Maipo)

Code: Select all

root@scclnagiosxi02:/tmp/rpms/nagiosxi$ yum repolist
root@scclnagiosxi02:/tmp/rpms/nagiosxi$ yum repolist
Loaded plugins: enabled_repos_upload, package_upload, product-id, search-disabled-repos, subscription-manager
DataServices_EPEL_EPEL_7                                                                         | 2.8 kB  00:00:00     
DataServices_ISRG-builds_isrg-builds                                                             | 2.1 kB  00:00:00     
DataServices_ius_IUS                                                                             | 1.8 kB  00:00:00     
rhel-7-server-optional-rpms                                                                      | 2.0 kB  00:00:00     
rhel-7-server-rpms                                                                               | 2.0 kB  00:00:00     
rhel-7-server-satellite-tools-6.4-rpms                                                           | 2.1 kB  00:00:00     
rhel-7-server-supplementary-rpms                                                                 | 2.0 kB  00:00:00     
rhel-server-rhscl-7-rpms                                                                         | 2.0 kB  00:00:00     
(1/3): rhel-7-server-supplementary-rpms/7Server/x86_64/group                                     |  35 kB  00:00:00     
(2/3): rhel-7-server-supplementary-rpms/7Server/x86_64/updateinfo                                |  72 kB  00:00:00     
(3/3): rhel-7-server-supplementary-rpms/7Server/x86_64/primary                                   | 105 kB  00:00:00     
rhel-7-server-supplementary-rpms                                                                                322/322
repo id                                         repo name                                                         status
DataServices_EPEL_EPEL_7                        EPEL 7                                                            13,242
DataServices_ISRG-builds_isrg-builds            isrg-builds                                                            5
DataServices_ius_IUS                            IUS Community Packages for Enterprise Linux                          467
dockerrepo                                      Docker Repository                                                    110
epel/x86_64                                     Extra Packages for Enterprise Linux 7 - x86_64                    13,524
nagios-base                                     Nagios                                                                96
nagiosxi-deps                                   Nagios XI Dependencies                                                31
rhel-7-server-optional-rpms/7Server/x86_64      Red Hat Enterprise Linux 7 Server - Optional (RPMs)               17,790
rhel-7-server-rpms/7Server/x86_64               Red Hat Enterprise Linux 7 Server (RPMs)                          24,398
rhel-7-server-satellite-tools-6.4-rpms/x86_64   Red Hat Satellite Tools 6.4 (for RHEL 7 Server) (RPMs)                81
rhel-7-server-supplementary-rpms/7Server/x86_64 Red Hat Enterprise Linux 7 Server - Supplementary (RPMs)             322
rhel-server-rhscl-7-rpms/7Server/x86_64         Red Hat Software Collections RPMs for Red Hat Enterprise Linux 7  11,241
repolist: 81,307
Uploading Enabled Repositories Report
Loaded plugins: product-id, subscription-manager
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

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

Post by scottwilkerson »

From our install doc
Important: Nagios Enterprises highly recommends and will only support installing Nagios XI on a newly installed, "clean" system (a bare minimal install with nothing else installed or configured).
https://assets.nagios.com/downloads/nag ... -Linux.pdf

the system you are installing on has numerous repositories added as well as various version of PHP installed already which is going to present a problem with Nagios XI.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
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 »

i've solved the issue on the fresh env. but because of the complexity of moving the client agents' configuration. i have to pivot back to the old nagios server. i had resolved the php conflict problem origically i requested in this thread via remi repository. but i still got following errors:

Code: Select all

# ./upgrade 
Plugin "enabled_repos_upload" can't be imported
Plugin "package_upload" can't be imported
Plugin "product-id" can't be imported
Plugin "subscription-manager" can't be imported
Loaded plugins: fastestmirror, security
Setting up Local Package Process
Examining fping-3.10-1.el6.rf.x86_64.rpm: fping-3.10-1.el6.rf.x86_64
fping-3.10-1.el6.rf.x86_64.rpm: does not update installed package.
Examining freetds-0.91-2.el6.x86_64.rpm: freetds-0.91-2.el6.x86_64
freetds-0.91-2.el6.x86_64.rpm: does not update installed package.
Examining libmcrypt-2.5.8-9.el6.x86_64.rpm: libmcrypt-2.5.8-9.el6.x86_64
libmcrypt-2.5.8-9.el6.x86_64.rpm: does not update installed package.
Examining nagiosxi-5.6.10-1.el6.x86_64.rpm: nagiosxi-5.6.10-1.el6.x86_64
Marking nagiosxi-5.6.10-1.el6.x86_64.rpm to be installed
Loading mirror speeds from cached hostfile
 * epel: mirrors.sonic.net
 * remi-safe: remi.xpg.com.br
Examining nagiosxi-mrtg-5.6.10-1.el6.x86_64.rpm: nagiosxi-mrtg-5.6.10-1.el6.x86_64
nagiosxi-mrtg-5.6.10-1.el6.x86_64.rpm: does not update installed package.
Examining nagiosxi-nagioscore-5.6.10-1.el6.x86_64.rpm: nagiosxi-nagioscore-5.6.10-1.el6.x86_64
nagiosxi-nagioscore-5.6.10-1.el6.x86_64.rpm: does not update installed package.
Examining nagiosxi-nagiosmobile-5.6.10-1.el6.x86_64.rpm: nagiosxi-nagiosmobile-5.6.10-1.el6.x86_64
nagiosxi-nagiosmobile-5.6.10-1.el6.x86_64.rpm: does not update installed package.
Examining nagiosxi-nagiosplugins-5.6.10-1.el6.x86_64.rpm: nagiosxi-nagiosplugins-5.6.10-1.el6.x86_64
nagiosxi-nagiosplugins-5.6.10-1.el6.x86_64.rpm: does not update installed package.
Examining nagiosxi-nagvis-5.6.10-1.el6.x86_64.rpm: nagiosxi-nagvis-5.6.10-1.el6.x86_64
nagiosxi-nagvis-5.6.10-1.el6.x86_64.rpm: does not update installed package.
Examining nagiosxi-ndoutils-5.6.10-1.el6.x86_64.rpm: nagiosxi-ndoutils-5.6.10-1.el6.x86_64
nagiosxi-ndoutils-5.6.10-1.el6.x86_64.rpm: does not update installed package.
Examining nagiosxi-nrds-5.6.10-1.el6.x86_64.rpm: nagiosxi-nrds-5.6.10-1.el6.x86_64
nagiosxi-nrds-5.6.10-1.el6.x86_64.rpm: does not update installed package.
Examining nagiosxi-nrpe-5.6.10-1.el6.x86_64.rpm: nagiosxi-nrpe-5.6.10-1.el6.x86_64
nagiosxi-nrpe-5.6.10-1.el6.x86_64.rpm: does not update installed package.
Examining nagiosxi-nsca-5.6.10-1.el6.x86_64.rpm: nagiosxi-nsca-5.6.10-1.el6.x86_64
nagiosxi-nsca-5.6.10-1.el6.x86_64.rpm: does not update installed package.
Examining nagiosxi-nxti-5.6.10-1.el6.x86_64.rpm: nagiosxi-nxti-5.6.10-1.el6.x86_64
nagiosxi-nxti-5.6.10-1.el6.x86_64.rpm: does not update installed package.
Examining nagiosxi-pnp-5.6.10-1.el6.x86_64.rpm: nagiosxi-pnp-5.6.10-1.el6.x86_64
nagiosxi-pnp-5.6.10-1.el6.x86_64.rpm: does not update installed package.
Examining nagiosxi-shellinabox-5.6.10-1.el6.x86_64.rpm: nagiosxi-shellinabox-5.6.10-1.el6.x86_64
Marking nagiosxi-shellinabox-5.6.10-1.el6.x86_64.rpm to be installed
Examining nagiosxi-wkhtmltox-5.6.10-1.el6.x86_64.rpm: nagiosxi-wkhtmltox-5.6.10-1.el6.x86_64
nagiosxi-wkhtmltox-5.6.10-1.el6.x86_64.rpm: does not update installed package.
Examining nagiosxi-wmic-5.6.10-1.el6.x86_64.rpm: nagiosxi-wmic-5.6.10-1.el6.x86_64
nagiosxi-wmic-5.6.10-1.el6.x86_64.rpm: does not update installed package.
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-Config-IniFiles-2.72-2.el6.noarch.rpm: perl-Config-IniFiles-2.72-2.el6.noarch
perl-Config-IniFiles-2.72-2.el6.noarch.rpm: does not update installed package.
Examining perl-Crypt-DES-2.05-9.el6.x86_64.rpm: perl-Crypt-DES-2.05-9.el6.x86_64
perl-Crypt-DES-2.05-9.el6.x86_64.rpm: does not update installed package.
Examining perl-Crypt-Rijndael-1.09-2.el6.x86_64.rpm: perl-Crypt-Rijndael-1.09-2.el6.x86_64
perl-Crypt-Rijndael-1.09-2.el6.x86_64.rpm: does not update installed package.
Examining perl-Mail-IMAPClient-3.37-1.el6.noarch.rpm: perl-Mail-IMAPClient-3.37-1.el6.noarch
perl-Mail-IMAPClient-3.37-1.el6.noarch.rpm: does not update installed package.
Examining perl-Mail-POP3Client-2.18-6.el6.noarch.rpm: perl-Mail-POP3Client-2.18-6.el6.noarch
perl-Mail-POP3Client-2.18-6.el6.noarch.rpm: does not update installed package.
Examining perl-Math-Calc-Units-1.07-6.el6.noarch.rpm: perl-Math-Calc-Units-1.07-6.el6.noarch
perl-Math-Calc-Units-1.07-6.el6.noarch.rpm: does not update installed package.
Examining perl-Nagios-Monitoring-Plugin-0.51-1.el6.noarch.rpm: perl-Nagios-Monitoring-Plugin-0.51-1.el6.noarch
perl-Nagios-Monitoring-Plugin-0.51-1.el6.noarch.rpm: does not update installed package.
Examining perl-Net-SMTP-TLS-0.12-1.el6.rf.noarch.rpm: perl-Net-SMTP-TLS-0.12-1.el6.rf.noarch
perl-Net-SMTP-TLS-0.12-1.el6.rf.noarch.rpm: does not update installed package.
Examining perl-Net-SNMP-5.2.0-4.el6.noarch.rpm: perl-Net-SNMP-5.2.0-4.el6.noarch
perl-Net-SNMP-5.2.0-4.el6.noarch.rpm: does not update installed package.
Examining perl-Number-Format-1.73-3.el6.noarch.rpm: perl-Number-Format-1.73-3.el6.noarch
perl-Number-Format-1.73-3.el6.noarch.rpm: does not update installed package.
Examining php-common-5.3.3-46.el6_6.x86_64.rpm: php-common-5.3.3-46.el6_6.x86_64
php-common-5.3.3-46.el6_6.x86_64.rpm: does not update installed package.
Examining php-mcrypt-5.3.3-5.el6.x86_64.rpm: php-mcrypt-5.3.3-5.el6.x86_64
php-mcrypt-5.3.3-5.el6.x86_64.rpm: does not update installed package.
Examining php-mssql-5.3.3-5.el6.x86_64.rpm: php-mssql-5.3.3-5.el6.x86_64
php-mssql-5.3.3-5.el6.x86_64.rpm: does not update installed package.
Examining php-pear-HTML-Template-IT-1.3.0-2.el5.noarch.rpm: php-pear-HTML-Template-IT-1.3.0-2.el5.noarch
php-pear-HTML-Template-IT-1.3.0-2.el5.noarch.rpm: does not update installed package.
Examining php-pecl-ssh2-0.11.0-7.el6.x86_64.rpm: php-pecl-ssh2-0.11.0-7.el6.x86_64
php-pecl-ssh2-0.11.0-7.el6.x86_64.rpm: does not update installed package.
Examining pymssql-1.0.2-4.el6.x86_64.rpm: pymssql-1.0.2-4.el6.x86_64
pymssql-1.0.2-4.el6.x86_64.rpm: does not update installed package.
Examining python-bson-2.5.2-3.el6.1.x86_64.rpm: python-bson-2.5.2-3.el6.1.x86_64
python-bson-2.5.2-3.el6.1.x86_64.rpm: does not update installed package.
Examining python-pymongo-2.5.2-3.el6.1.x86_64.rpm: python-pymongo-2.5.2-3.el6.1.x86_64
python-pymongo-2.5.2-3.el6.1.x86_64.rpm: does not update installed package.
Resolving Dependencies
--> Running transaction check
---> Package nagiosxi.x86_64 0:5.6.10-1.el6 will be installed
--> Processing Dependency: net-snmp-perl for package: nagiosxi-5.6.10-1.el6.x86_64
---> Package nagiosxi-shellinabox.x86_64 0:5.6.10-1.el6 will be installed
--> Running transaction check
---> Package net-snmp-perl.x86_64 1:5.5-54.el6_7.1 will be installed
--> Processing Dependency: net-snmp-libs = 1:5.5-54.el6_7.1 for package: 1:net-snmp-perl-5.5-54.el6_7.1.x86_64
--> Running transaction check
---> Package net-snmp-libs.i686 1:5.5-54.el6_7.1 will be installed
--> Processing Dependency: libz.so.1 for package: 1:net-snmp-libs-5.5-54.el6_7.1.i686
--> Processing Dependency: libwrap.so.0 for package: 1:net-snmp-libs-5.5-54.el6_7.1.i686
--> Processing Dependency: libutil.so.1 for package: 1:net-snmp-libs-5.5-54.el6_7.1.i686
--> Processing Dependency: libsensors.so.4 for package: 1:net-snmp-libs-5.5-54.el6_7.1.i686
--> Processing Dependency: librpmio.so.1 for package: 1:net-snmp-libs-5.5-54.el6_7.1.i686
--> Processing Dependency: librpm.so.1 for package: 1:net-snmp-libs-5.5-54.el6_7.1.i686
--> Processing Dependency: libresolv.so.2 for package: 1:net-snmp-libs-5.5-54.el6_7.1.i686
--> Processing Dependency: libpthread.so.0(GLIBC_2.2) for package: 1:net-snmp-libs-5.5-54.el6_7.1.i686
--> Processing Dependency: libpthread.so.0(GLIBC_2.0) for package: 1:net-snmp-libs-5.5-54.el6_7.1.i686
--> Processing Dependency: libpthread.so.0 for package: 1:net-snmp-libs-5.5-54.el6_7.1.i686
--> Processing Dependency: libpopt.so.0 for package: 1:net-snmp-libs-5.5-54.el6_7.1.i686
--> Processing Dependency: libperl.so for package: 1:net-snmp-libs-5.5-54.el6_7.1.i686
--> Processing Dependency: libnsl.so.1 for package: 1:net-snmp-libs-5.5-54.el6_7.1.i686
--> Processing Dependency: libm.so.6 for package: 1:net-snmp-libs-5.5-54.el6_7.1.i686
--> Processing Dependency: libdl.so.2(GLIBC_2.1) for package: 1:net-snmp-libs-5.5-54.el6_7.1.i686
--> Processing Dependency: libdl.so.2(GLIBC_2.0) for package: 1:net-snmp-libs-5.5-54.el6_7.1.i686
--> Processing Dependency: libdl.so.2 for package: 1:net-snmp-libs-5.5-54.el6_7.1.i686
--> Processing Dependency: libcrypto.so.10(libcrypto.so.10) for package: 1:net-snmp-libs-5.5-54.el6_7.1.i686
--> Processing Dependency: libcrypto.so.10(OPENSSL_1.0.1) for package: 1:net-snmp-libs-5.5-54.el6_7.1.i686
--> Processing Dependency: libcrypto.so.10 for package: 1:net-snmp-libs-5.5-54.el6_7.1.i686
--> Processing Dependency: libcrypt.so.1 for package: 1:net-snmp-libs-5.5-54.el6_7.1.i686
--> Processing Dependency: libc.so.6(GLIBC_2.7) for package: 1:net-snmp-libs-5.5-54.el6_7.1.i686
--> Running transaction check
---> Package glibc.i686 0:2.12-1.166.el6_7.7 will be installed
--> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.12-1.166.el6_7.7.i686
--> Processing Dependency: libfreebl3.so for package: glibc-2.12-1.166.el6_7.7.i686
---> Package lm_sensors-libs.i686 0:3.1.1-17.el6 will be installed
---> Package openssl.i686 0:1.0.1e-42.el6_7.4 will be installed
--> Processing Dependency: libkrb5.so.3(krb5_3_MIT) for package: openssl-1.0.1e-42.el6_7.4.i686
--> Processing Dependency: libkrb5.so.3 for package: openssl-1.0.1e-42.el6_7.4.i686
--> Processing Dependency: libk5crypto.so.3(k5crypto_3_MIT) for package: openssl-1.0.1e-42.el6_7.4.i686
--> Processing Dependency: libk5crypto.so.3 for package: openssl-1.0.1e-42.el6_7.4.i686
--> Processing Dependency: libgssapi_krb5.so.2 for package: openssl-1.0.1e-42.el6_7.4.i686
--> Processing Dependency: libcom_err.so.2 for package: openssl-1.0.1e-42.el6_7.4.i686
---> 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 popt.i686 0:1.13-7.el6 will be installed
---> Package rpm-libs.i686 0:4.8.0-47.el6 will be installed
--> Processing Dependency: libcap(x86-32) >= 2.16 for package: rpm-libs-4.8.0-47.el6.i686
--> Processing Dependency: libselinux.so.1 for package: rpm-libs-4.8.0-47.el6.i686
--> Processing Dependency: libnss3.so(NSS_3.4) for package: rpm-libs-4.8.0-47.el6.i686
--> Processing Dependency: libnss3.so(NSS_3.2) for package: rpm-libs-4.8.0-47.el6.i686
--> Processing Dependency: libnss3.so(NSS_3.11.2) for package: rpm-libs-4.8.0-47.el6.i686
--> Processing Dependency: libnss3.so(NSS_3.10) for package: rpm-libs-4.8.0-47.el6.i686
--> Processing Dependency: libnss3.so for package: rpm-libs-4.8.0-47.el6.i686
--> Processing Dependency: libmagic.so.1 for package: rpm-libs-4.8.0-47.el6.i686
--> Processing Dependency: liblzma.so.0 for package: rpm-libs-4.8.0-47.el6.i686
--> Processing Dependency: liblua-5.1.so for package: rpm-libs-4.8.0-47.el6.i686
--> Processing Dependency: libgcc_s.so.1(GCC_3.3.1) for package: rpm-libs-4.8.0-47.el6.i686
--> Processing Dependency: libgcc_s.so.1(GCC_3.0) for package: rpm-libs-4.8.0-47.el6.i686
--> Processing Dependency: libgcc_s.so.1 for package: rpm-libs-4.8.0-47.el6.i686
--> Processing Dependency: libelf.so.1(ELFUTILS_1.1.1) for package: rpm-libs-4.8.0-47.el6.i686
--> Processing Dependency: libelf.so.1(ELFUTILS_1.0) for package: rpm-libs-4.8.0-47.el6.i686
--> Processing Dependency: libelf.so.1 for package: rpm-libs-4.8.0-47.el6.i686
--> Processing Dependency: libdb-4.7.so for package: rpm-libs-4.8.0-47.el6.i686
--> Processing Dependency: libcap.so.2 for package: rpm-libs-4.8.0-47.el6.i686
--> Processing Dependency: libbz2.so.1 for package: rpm-libs-4.8.0-47.el6.i686
--> Processing Dependency: libacl.so.1(ACL_1.0) for package: rpm-libs-4.8.0-47.el6.i686
--> Processing Dependency: libacl.so.1 for package: rpm-libs-4.8.0-47.el6.i686
---> Package tcp_wrappers-libs.i686 0:7.6-57.el6 will be installed
---> Package zlib.i686 0:1.2.3-29.el6 will be installed
--> Running transaction check
---> Package bzip2-libs.i686 0:1.0.5-7.el6_0 will be installed
---> Package db4.i686 0:4.7.25-20.el6_7 will be installed
---> Package elfutils-libelf.i686 0:0.161-3.el6 will be installed
---> Package file-libs.i686 0:5.04-21.el6 will be installed
---> Package krb5-libs.i686 0:1.10.3-42.el6 will be installed
--> Processing Dependency: libkeyutils.so.1(KEYUTILS_0.3) for package: krb5-libs-1.10.3-42.el6.i686
--> Processing Dependency: libkeyutils.so.1 for package: krb5-libs-1.10.3-42.el6.i686
---> Package libacl.i686 0:2.2.49-6.el6 will be installed
--> Processing Dependency: libattr.so.1(ATTR_1.0) for package: libacl-2.2.49-6.el6.i686
--> Processing Dependency: libattr.so.1 for package: libacl-2.2.49-6.el6.i686
---> Package libcap.i686 0:2.16-5.5.el6 will be installed
---> Package libcom_err.i686 0:1.41.12-22.el6 will be installed
---> Package libgcc.i686 0:4.4.7-16.el6 will be installed
---> Package libselinux.i686 0:2.0.94-5.8.el6 will be installed
---> Package lua.i686 0:5.1.4-4.1.el6 will be installed
--> Processing Dependency: libreadline.so.6 for package: lua-5.1.4-4.1.el6.i686
--> Processing Dependency: libncurses.so.5 for package: lua-5.1.4-4.1.el6.i686
---> 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.i686 0:3.19.1-5.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 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
--> Processing Conflict: nagiosxi-shellinabox-5.6.10-1.el6.x86_64 conflicts shellinabox
No package matched to upgrade: nagiosxi-shellinabox
--> Finished Dependency Resolution
Error: nagiosxi-shellinabox conflicts with shellinabox-2.20-5.el6.x86_64
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
can you help please take a look? really appreciated.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

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

Post by scottwilkerson »

Now it looks like you are installing an rpm upgrade when before you were using the manual upgrade from source?

You may be able to get past this blocker by running

Code: Select all

yum remove shellinabox -y
but I suspect there will be more
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
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 »

scottwilkerson wrote:Now it looks like you are installing an rpm upgrade when before you were using the manual upgrade from source?

You may be able to get past this blocker by running

Code: Select all

yum remove shellinabox -y
but I suspect there will be more
i did above step but i got the same error. and here is the repo information:

Code: Select all

-bash-4.1# yum repolist
Plugin "enabled_repos_upload" can't be imported
Plugin "package_upload" can't be imported
Plugin "product-id" can't be imported
Plugin "subscription-manager" can't be imported
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
 * epel: mirrors.sonic.net
 * remi-safe: remi.xpg.com.br
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
remi-safe                Safe Remi's RPM repository for Enterprise Linux 6 - x86_64                  2,894
updates                  CentOS-6 - Updates                                                          1,263
repolist: 23,366
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

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

Post by scottwilkerson »

you did that and are still receiving this error?

Code: Select all

Error: nagiosxi-shellinabox conflicts with shellinabox-2.20-5.el6.x86_64
Also, are you sure this server was installed from offline RPM to begin with and not source?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
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 Scott,
it's upgrade from offline tarball not fresh installation.
as mentioned i am not clear about the migration challenges that's why i had moved back to work on the original nagios server.
Locked