Nagios Xi installation error

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Johnsmit
Posts: 95
Joined: Thu Apr 19, 2018 2:03 pm

Re: Nagios Xi installation error

Post by Johnsmit »

It din't work even after running the package.

Transaction check error:
package nagiosxi-wmic-5.5.11-1.el7.x86_64 is already installed
package nagiosxi-nagiosplugins-5.5.11-1.el7.x86_64 is already installed
package nagiosxi-nrpe-5.5.11-1.el7.x86_64 is already installed
package nagiosxi-nxti-5.5.11-1.el7.x86_64 is already installed
package nagiosxi-nsca-5.5.11-1.el7.x86_64 is already installed
package nagiosxi-mrtg-5.5.11-1.el7.x86_64 is already installed
package nagiosxi-nrds-5.5.11-1.el7.x86_64 is already installed
package nagiosxi-nagvis-5.5.11-1.el7.x86_64 is already installed
package nagiosxi-shellinabox-5.5.11-1.el7.x86_64 is already installed
package nagiosxi-wkhtmltox-5.5.11-1.el7.x86_64 is already installed
package nagiosxi-nagiosmobile-5.5.11-1.el7.x86_64 is already installed
package nagiosxi-ndoutils-5.5.11-1.el7.x86_64 is already installed
package nagiosxi-pnp-5.5.11-1.el7.x86_64 is already installed
package nagiosxi-nagioscore-5.5.11-1.el7.x86_64 is already installed
package nagiosxi-5.5.11-1.el7.x86_64 is already installed

Error Summary
-------------
This is the first time upgrade script doesn't work properly to install all packages. Any reasons on why its not able to install all the packages.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios Xi installation error

Post by scottwilkerson »

It looks like all the packages are all installed
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Johnsmit
Posts: 95
Joined: Thu Apr 19, 2018 2:03 pm

Re: Nagios Xi installation error

Post by Johnsmit »

we tried to have a clean fresh install of nagios 5.5.11 on a new RHEL 7.3 machine, yet its is also running like old machine towing errors indicating to do "YUM LOCAL INSTALL"
reason: an integer is required
cmdline: /usr/bin/python /bin/yum -y --nogpgcheck localinstall fping-3.10-4.el7.x86_64.rpm freetds-0.95.81-1.el7.x86_64.rpm jwhois-4.0-38.el7.x86_64.rpm libidn2-2.0.4-4.el7.x86_64.rpm libmcrypt-2.5.8-13.el7.x86_64.rpm nagiosxi-5.5.9-2.el7.x86_64.rpm nagiosxi-mrtg-5.5.9-2.el7.x86_64.rpm nagiosxi-nagioscore-5.5.9-2.el7.x86_64.rpm nagiosxi-nagiosmobile-5.5.9-2.el7.x86_64.rpm nagiosxi-nagiosplugins-5.5.9-2.el7.x86_64.rpm nagiosxi-nagvis-5.5.9-2.el7.x86_64.rpm nagiosxi-ndoutils-5.5.9-2.el7.x86_64.rpm nagiosxi-nrds-5.5.9-2.el7.x86_64.rpm nagiosxi-nrpe-5.5.9-2.el7.x86_64.rpm nagiosxi-nsca-5.5.9-2.el7.x86_64.rpm nagiosxi-nxti-5.5.9-2.el7.x86_64.rpm nagiosxi-pnp-5.5.9-2.el7.x86_64.rpm nagiosxi-shellinabox-5.5.9-2.el7.x86_64.rpm nagiosxi-wkhtmltox-5.5.9-2.el7.x86_64.rpm nagiosxi-wmic-5.5.9-2.el7.x86_64.rpm nmap-6.47-1.x86_64.rpm perl-Class-Accessor-0.34-12.el7.noarch.rpm perl-Config-IniFiles-2.79-1.el7.noarch.rpm perl-Crypt-Rijndael-1.12-1.el7.x86_64.rpm perl-Mail-IMAPClient-3.37-1.el7.noarch.rpm perl-Mail-POP3Client-2.19-5.el7.noarch.rpm perl-Math-Calc-Units-1.07-9.el7.noarch.rpm perl-Nagios-Monitoring-Plugin-0.51-1.el7.noarch.rpm perl-Net-SMTP-TLS-0.12-1.el7.noarch.rpm perl-Net-SNMP-6.0.1-7.el7.noarch.rpm perl-Number-Format-1.73-14.el7.noarch.rpm php-mcrypt-5.4.16-7.el7.x86_64.rpm php-mssql-5.4.16-7.el7.x86_64.rpm php-pear-HTML-Template-IT-1.3.0-2.el5.noarch.rpm php-pecl-ssh2-0.12-1.el7.x86_64.rpm python-bson-2.5.2-4.el7.x86_64.rpm python-pymongo-2.5.2-4.el7.x86_64.rpm python-pymssql-2.1.1-1.el7.x86_64.rpm python-simplejson-3.3.3-1.el7.x86_64.rpm rrdtool-1.4.9-1.el7.x86_64.rpm rrdtool-perl-1.4.9-1.el7.x86_64.rpm rrdtool-python-1.4.9-1.el7.x86_64.rpm


Ant thoughts on why its not able to all rpm's came with the offline tarball.

Thanks,
Johnsmit
Posts: 95
Joined: Thu Apr 19, 2018 2:03 pm

Re: Nagios Xi installation error

Post by Johnsmit »

Johnsmit wrote:we tried to have a clean fresh install of nagios 5.5.9 on a new RHEL 7.3 machine, yet its is also running like old machine towing errors indicating to do "YUM LOCAL INSTALL"
reason: an integer is required
cmdline: /usr/bin/python /bin/yum -y --nogpgcheck localinstall fping-3.10-4.el7.x86_64.rpm freetds-0.95.81-1.el7.x86_64.rpm jwhois-4.0-38.el7.x86_64.rpm libidn2-2.0.4-4.el7.x86_64.rpm libmcrypt-2.5.8-13.el7.x86_64.rpm nagiosxi-5.5.9-2.el7.x86_64.rpm nagiosxi-mrtg-5.5.9-2.el7.x86_64.rpm nagiosxi-nagioscore-5.5.9-2.el7.x86_64.rpm nagiosxi-nagiosmobile-5.5.9-2.el7.x86_64.rpm nagiosxi-nagiosplugins-5.5.9-2.el7.x86_64.rpm nagiosxi-nagvis-5.5.9-2.el7.x86_64.rpm nagiosxi-ndoutils-5.5.9-2.el7.x86_64.rpm nagiosxi-nrds-5.5.9-2.el7.x86_64.rpm nagiosxi-nrpe-5.5.9-2.el7.x86_64.rpm nagiosxi-nsca-5.5.9-2.el7.x86_64.rpm nagiosxi-nxti-5.5.9-2.el7.x86_64.rpm nagiosxi-pnp-5.5.9-2.el7.x86_64.rpm nagiosxi-shellinabox-5.5.9-2.el7.x86_64.rpm nagiosxi-wkhtmltox-5.5.9-2.el7.x86_64.rpm nagiosxi-wmic-5.5.9-2.el7.x86_64.rpm nmap-6.47-1.x86_64.rpm perl-Class-Accessor-0.34-12.el7.noarch.rpm perl-Config-IniFiles-2.79-1.el7.noarch.rpm perl-Crypt-Rijndael-1.12-1.el7.x86_64.rpm perl-Mail-IMAPClient-3.37-1.el7.noarch.rpm perl-Mail-POP3Client-2.19-5.el7.noarch.rpm perl-Math-Calc-Units-1.07-9.el7.noarch.rpm perl-Nagios-Monitoring-Plugin-0.51-1.el7.noarch.rpm perl-Net-SMTP-TLS-0.12-1.el7.noarch.rpm perl-Net-SNMP-6.0.1-7.el7.noarch.rpm perl-Number-Format-1.73-14.el7.noarch.rpm php-mcrypt-5.4.16-7.el7.x86_64.rpm php-mssql-5.4.16-7.el7.x86_64.rpm php-pear-HTML-Template-IT-1.3.0-2.el5.noarch.rpm php-pecl-ssh2-0.12-1.el7.x86_64.rpm python-bson-2.5.2-4.el7.x86_64.rpm python-pymongo-2.5.2-4.el7.x86_64.rpm python-pymssql-2.1.1-1.el7.x86_64.rpm python-simplejson-3.3.3-1.el7.x86_64.rpm rrdtool-1.4.9-1.el7.x86_64.rpm rrdtool-perl-1.4.9-1.el7.x86_64.rpm rrdtool-python-1.4.9-1.el7.x86_64.rpm


Ant thoughts on why its not able to all rpm's came with the offline tarball.

Thanks,
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios Xi installation error

Post by scottwilkerson »

Johnsmit wrote:Ant thoughts on why its not able to all rpm's came with the offline tarball.
Can you attach the /tmp/xi-install.log for this new install?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Johnsmit
Posts: 95
Joined: Thu Apr 19, 2018 2:03 pm

Re: Nagios Xi installation error

Post by Johnsmit »

Here is the install log, error and installation progress on fresh install of Nagios 5.5.11 on RHEL 7.3
You do not have the required permissions to view the files attached to this post.
Johnsmit
Posts: 95
Joined: Thu Apr 19, 2018 2:03 pm

Re: Nagios Xi installation error

Post by Johnsmit »

My question here is, we were good till 5.5.6 we can see Installation complete after the upgarde/install, but when we try either 5.5.9 we get the errors. whats wrong here?
Johnsmit
Posts: 95
Joined: Thu Apr 19, 2018 2:03 pm

Re: Nagios Xi installation error

Post by Johnsmit »

Let me know if you need more information on this.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Nagios Xi installation error

Post by ssax »

I remember a bug that I found related to this, please try upgrading this way (DON'T extract to /tmp/rpms or /tmp/nagiosxi and run it from there):

Code: Select all

mkdir /tmp/NAGIOSINSTALLER
cd /tmp/NAGIOSINSTALLER
tar zxf /path/to/your/offline/.tar.gz
cd /tmp/NAGIOSINSTALLER/nagiosxi
./upgrade
Let us know the results.

Thank you
Locked