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

Nagios Xi installation error

Post by Johnsmit »

Hi,

I am installing Nagios Xi 5.5.9 on Rhel 7.3, i ran into an error.

CCM data imported OK.
RESULT=0
Running './F-startdaemons'...
Daemons started OK
RESULT=0
Running './Z-webroot'...
RESULT=0
Redirecting to /bin/systemctl status iptables.service
Error: Cannot open file php-pear-HTML-Template-IT-1.3.0-2.el5.noarch.rpm: [Errno 2] No such file or directory: 'php-pear-HTML-Template-IT-1.3.0-2.el5.noarch.rpm'
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
TypeError: an integer is required
FATAL ERROR: python callback <bound method RPMTransaction.callback of <yum.rpmtrans.RPMTransaction instance at 0x73420e0>> failed, aborting!


I didn't get anything saying Installation Complete, but i can launch NagiosXi GUI from that server. Does this error affect any functionality of NagiosXI as it didn't say complete.

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 »

How did you download this?

I ask because php-pear-HTML-Template-IT is not part of the 5.5.9 version of XI, so getting this error either means you made some modification, or you are not installing what you think.
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Nagios Xi installation error

Post by npolovenko »

Hello, @Johnsmit. What version of PHP is installed on this server?
php -v
Can you point me to the installation link you're using?
What's the output of yum repolist?
Please upload the whole install.log. It is located in /tmp/nagiosxi/install.log
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Johnsmit
Posts: 95
Joined: Thu Apr 19, 2018 2:03 pm

Re: Nagios Xi installation error

Post by Johnsmit »

I downloaded Nagios Xi 5.5.9 offline Tarball from https://repo.nagios.com/?repo=offline#install and Started installing on a clean RHEL 7.3 VM,

php -v
PHP 5.4.16 (cli) (built: Aug 5 2016 07:50:38)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies


yum repolist
Loaded plugins: enabled_repos_upload, langpacks, package_upload, product-id, search-disabled-repos, subscription-manager, versionlock
repo id repo name status
!DIS_DIS_Internal_DIS_Internal-el7 DIS_Internal-el7 19
!DIS_Fedora_Red_Hat_EPEL_epel_el7_x86_64 epel_el7_x86_64 12860
!rhel-7-server-eus-optional-rpms/x86_64 Red Hat Enterprise Linux 7 Server - Extended Update Support - Optional (RPMs) 11286
!rhel-7-server-eus-rpms/x86_64 Red Hat Enterprise Linux 7 Server - Extended Update Support (RPMs) 15228
!rhel-7-server-eus-supplementary-rpms/x86_64 Red Hat Enterprise Linux 7 Server - Extended Update Support - Supplementary (RPMs) 188
!rhel-7-server-extras-rpms/x86_64 Red Hat Enterprise Linux 7 Server - Extras (RPMs) 1022
!rhel-7-server-rh-common-rpms/x86_64 Red Hat Enterprise Linux 7 Server - RH Common (RPMs) 228
!rhel-7-server-rpms/x86_64 Red Hat Enterprise Linux 7 Server (RPMs) 14619
!rhel-7-server-satellite-tools-6.2-rpms/x86_64 Red Hat Satellite Tools 6.2 (for RHEL 7 Server) (RPMs) 146
!rhel-server-rhscl-7-rpms/x86_64 Red Hat Software Collections RPMs for Red Hat Enterprise Linux 7 Server 8049
repolist: 63645
Uploading Enabled Repositories Report
You do not have the required permissions to view the files attached to this post.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Nagios Xi installation error

Post by npolovenko »

@Johnsmit, It doesn't look like we have this package in the latest offline rpm:
php-pear-HTML-Template-IT-1.3.0-2.el5.noarch.rpm
And I couldn't see any errors in your install log file related to this either and it appears that your XI is working OK.
If you send me your system profile I will go over the major logs to make sure your installation is working OK.
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 send it to me in a private message.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Johnsmit
Posts: 95
Joined: Thu Apr 19, 2018 2:03 pm

Re: Nagios Xi installation error

Post by Johnsmit »

Please see the PM for system profile and check its ok or not.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Nagios Xi installation error

Post by npolovenko »

@Johnsmit, Everything appears to be working alright. However, I saw that you're using McAfee on this server and we've had multiple issues with it in the past that included high system load during vulnerability scans and database corruption that sometimes caused Nagios process to stop. This is just something to look after in the future if you start experiencing unexpected interruptions in monitoring. Technically, we can't guarantee Nagios compatibility with any third party software including virus scanners.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Johnsmit
Posts: 95
Joined: Thu Apr 19, 2018 2:03 pm

Re: Nagios Xi installation error

Post by Johnsmit »

Thanks,

Today i tried to upgrade to NagiosXI 5.5.11 i ran in to errors.

while Installing packages:
# ./upgrade
Loaded plugins: enabled_repos_upload, langpacks, package_upload, product-id, search-disabled-repos, subscription-manager, versionlock
Examining fping-3.10-4.el7.x86_64.rpm: fping-3.10-4.el7.x86_64
fping-3.10-4.el7.x86_64.rpm: does not update installed package.
Examining freetds-0.95.81-1.el7.x86_64.rpm: freetds-0.95.81-1.el7.x86_64
freetds-0.95.81-1.el7.x86_64.rpm: does not update installed package.
Examining jwhois-4.0-38.el7.x86_64.rpm: jwhois-4.0-38.el7.x86_64
jwhois-4.0-38.el7.x86_64.rpm: does not update installed package.
Examining libidn2-2.0.4-4.el7.x86_64.rpm: libidn2-2.0.4-4.el7.x86_64
libidn2-2.0.4-4.el7.x86_64.rpm: does not update installed package.
Examining libmcrypt-2.5.8-13.el7.x86_64.rpm: libmcrypt-2.5.8-13.el7.x86_64
libmcrypt-2.5.8-13.el7.x86_64.rpm: does not update installed package.
Examining nagiosxi-5.5.11-1.el7.x86_64.rpm: nagiosxi-5.5.11-1.el7.x86_64
Marking nagiosxi-5.5.11-1.el7.x86_64.rpm as an update to nagiosxi-5.5.9-2.el7.x86_64
Examining nagiosxi-mrtg-5.5.11-1.el7.x86_64.rpm: nagiosxi-mrtg-5.5.11-1.el7.x86_64
Marking nagiosxi-mrtg-5.5.11-1.el7.x86_64.rpm as an update to nagiosxi-mrtg-5.5.9-2.el7.x86_64
Examining nagiosxi-nagioscore-5.5.11-1.el7.x86_64.rpm: nagiosxi-nagioscore-5.5.11-1.el7.x86_64
Marking nagiosxi-nagioscore-5.5.11-1.el7.x86_64.rpm as an update to nagiosxi-nagioscore-5.5.9-2.el7.x86_64
Examining nagiosxi-nagiosmobile-5.5.11-1.el7.x86_64.rpm: nagiosxi-nagiosmobile-5.5.11-1.el7.x86_64
Marking nagiosxi-nagiosmobile-5.5.11-1.el7.x86_64.rpm as an update to nagiosxi-nagiosmobile-5.5.9-2.el7.x86_64
Examining nagiosxi-nagiosplugins-5.5.11-1.el7.x86_64.rpm: nagiosxi-nagiosplugins-5.5.11-1.el7.x86_64
Marking nagiosxi-nagiosplugins-5.5.11-1.el7.x86_64.rpm as an update to nagiosxi-nagiosplugins-5.5.9-2.el7.x86_64
Examining nagiosxi-nagvis-5.5.11-1.el7.x86_64.rpm: nagiosxi-nagvis-5.5.11-1.el7.x86_64
Marking nagiosxi-nagvis-5.5.11-1.el7.x86_64.rpm as an update to nagiosxi-nagvis-5.5.9-2.el7.x86_64
Examining nagiosxi-ndoutils-5.5.11-1.el7.x86_64.rpm: nagiosxi-ndoutils-5.5.11-1.el7.x86_64
Marking nagiosxi-ndoutils-5.5.11-1.el7.x86_64.rpm as an update to nagiosxi-ndoutils-5.5.9-2.el7.x86_64
Examining nagiosxi-nrds-5.5.11-1.el7.x86_64.rpm: nagiosxi-nrds-5.5.11-1.el7.x86_64
Marking nagiosxi-nrds-5.5.11-1.el7.x86_64.rpm as an update to nagiosxi-nrds-5.5.9-2.el7.x86_64
Examining nagiosxi-nrpe-5.5.11-1.el7.x86_64.rpm: nagiosxi-nrpe-5.5.11-1.el7.x86_64
Marking nagiosxi-nrpe-5.5.11-1.el7.x86_64.rpm as an update to nagiosxi-nrpe-5.5.9-2.el7.x86_64
Examining nagiosxi-nsca-5.5.11-1.el7.x86_64.rpm: nagiosxi-nsca-5.5.11-1.el7.x86_64
Marking nagiosxi-nsca-5.5.11-1.el7.x86_64.rpm as an update to nagiosxi-nsca-5.5.9-2.el7.x86_64
Examining nagiosxi-nxti-5.5.11-1.el7.x86_64.rpm: nagiosxi-nxti-5.5.11-1.el7.x86_64
Marking nagiosxi-nxti-5.5.11-1.el7.x86_64.rpm as an update to nagiosxi-nxti-5.5.9-2.el7.x86_64
Examining nagiosxi-pnp-5.5.11-1.el7.x86_64.rpm: nagiosxi-pnp-5.5.11-1.el7.x86_64
Marking nagiosxi-pnp-5.5.11-1.el7.x86_64.rpm as an update to nagiosxi-pnp-5.5.9-2.el7.x86_64
Examining nagiosxi-shellinabox-5.5.11-1.el7.x86_64.rpm: nagiosxi-shellinabox-5.5.11-1.el7.x86_64
Marking nagiosxi-shellinabox-5.5.11-1.el7.x86_64.rpm as an update to nagiosxi-shellinabox-5.5.9-2.el7.x86_64
Examining nagiosxi-wkhtmltox-5.5.11-1.el7.x86_64.rpm: nagiosxi-wkhtmltox-5.5.11-1.el7.x86_64
Marking nagiosxi-wkhtmltox-5.5.11-1.el7.x86_64.rpm as an update to nagiosxi-wkhtmltox-5.5.9-2.el7.x86_64
Examining nagiosxi-wmic-5.5.11-1.el7.x86_64.rpm: nagiosxi-wmic-5.5.11-1.el7.x86_64
Marking nagiosxi-wmic-5.5.11-1.el7.x86_64.rpm as an update to nagiosxi-wmic-5.5.9-2.el7.x86_64
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-Class-Accessor-0.34-12.el7.noarch.rpm: perl-Class-Accessor-0.34-12.el7.noarch
perl-Class-Accessor-0.34-12.el7.noarch.rpm: does not update installed package.
Examining perl-Config-IniFiles-2.79-1.el7.noarch.rpm: perl-Config-IniFiles-2.79-1.el7.noarch
perl-Config-IniFiles-2.79-1.el7.noarch.rpm: does not update installed package.
Examining perl-Crypt-Rijndael-1.12-1.el7.x86_64.rpm: perl-Crypt-Rijndael-1.12-1.el7.x86_64
perl-Crypt-Rijndael-1.12-1.el7.x86_64.rpm: does not update installed package.
Examining perl-Mail-IMAPClient-3.37-1.el7.noarch.rpm: perl-Mail-IMAPClient-3.37-1.el7.noarch
perl-Mail-IMAPClient-3.37-1.el7.noarch.rpm: does not update installed package.
Examining perl-Mail-POP3Client-2.19-5.el7.noarch.rpm: perl-Mail-POP3Client-2.19-5.el7.noarch
perl-Mail-POP3Client-2.19-5.el7.noarch.rpm: does not update installed package.
Examining perl-Math-Calc-Units-1.07-9.el7.noarch.rpm: perl-Math-Calc-Units-1.07-9.el7.noarch
perl-Math-Calc-Units-1.07-9.el7.noarch.rpm: does not update installed package.
Examining perl-Nagios-Monitoring-Plugin-0.51-1.el7.noarch.rpm: perl-Nagios-Monitoring-Plugin-0.51-1.el7.noarch
perl-Nagios-Monitoring-Plugin-0.51-1.el7.noarch.rpm: does not update installed package.
Examining perl-Net-SMTP-TLS-0.12-1.el7.noarch.rpm: perl-Net-SMTP-TLS-0.12-1.of.el7.noarch
perl-Net-SMTP-TLS-0.12-1.el7.noarch.rpm: does not update installed package.
Examining perl-Net-SNMP-6.0.1-7.el7.noarch.rpm: perl-Net-SNMP-6.0.1-7.el7.noarch
perl-Net-SNMP-6.0.1-7.el7.noarch.rpm: does not update installed package.
Examining perl-Number-Format-1.73-14.el7.noarch.rpm: perl-Number-Format-1.73-14.el7.noarch
perl-Number-Format-1.73-14.el7.noarch.rpm: does not update installed package.
Examining php-mcrypt-5.4.16-7.el7.x86_64.rpm: php-mcrypt-5.4.16-7.el7.x86_64
php-mcrypt-5.4.16-7.el7.x86_64.rpm: does not update installed package.
Examining php-mssql-5.4.16-7.el7.x86_64.rpm: php-mssql-5.4.16-7.el7.x86_64
php-mssql-5.4.16-7.el7.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.12-1.el7.x86_64.rpm: php-pecl-ssh2-0.12-1.el7.x86_64
php-pecl-ssh2-0.12-1.el7.x86_64.rpm: does not update installed package.
Examining python-bson-2.5.2-4.el7.x86_64.rpm: python-bson-2.5.2-4.el7.x86_64
python-bson-2.5.2-4.el7.x86_64.rpm: does not update installed package.
Examining python-pymongo-2.5.2-4.el7.x86_64.rpm: python-pymongo-2.5.2-4.el7.x86_64
python-pymongo-2.5.2-4.el7.x86_64.rpm: does not update installed package.
Examining python-pymssql-2.1.1-1.el7.x86_64.rpm: python-pymssql-2.1.1-1.el7.x86_64
python-pymssql-2.1.1-1.el7.x86_64.rpm: does not update installed package.
Examining python-simplejson-3.3.3-1.el7.x86_64.rpm: python-simplejson-3.3.3-1.el7.x86_64
python-simplejson-3.3.3-1.el7.x86_64.rpm: does not update installed package.
Examining rrdtool-1.4.9-1.el7.x86_64.rpm: rrdtool-1.4.9-1.el7.x86_64
rrdtool-1.4.9-1.el7.x86_64.rpm: does not update installed package.
Examining rrdtool-devel-1.4.9-1.el7.x86_64.rpm: rrdtool-devel-1.4.9-1.el7.x86_64
Marking rrdtool-devel-1.4.9-1.el7.x86_64.rpm to be installed
Examining rrdtool-perl-1.4.9-1.el7.x86_64.rpm: rrdtool-perl-1.4.9-1.el7.x86_64
rrdtool-perl-1.4.9-1.el7.x86_64.rpm: does not update installed package.
Examining rrdtool-python-1.4.9-1.el7.x86_64.rpm: rrdtool-python-1.4.9-1.el7.x86_64
rrdtool-python-1.4.9-1.el7.x86_64.rpm: does not update installed package.
Resolving Dependencies
--> Running transaction check
---> Package nagiosxi.x86_64 0:5.5.9-2.el7 will be updated
---> Package nagiosxi.x86_64 0:5.5.11-1.el7 will be an update
---> Package nagiosxi-mrtg.x86_64 0:5.5.9-2.el7 will be updated
---> Package nagiosxi-mrtg.x86_64 0:5.5.11-1.el7 will be an update
---> Package nagiosxi-nagioscore.x86_64 0:5.5.9-2.el7 will be updated
---> Package nagiosxi-nagioscore.x86_64 0:5.5.11-1.el7 will be an update
---> Package nagiosxi-nagiosmobile.x86_64 0:5.5.9-2.el7 will be updated
---> Package nagiosxi-nagiosmobile.x86_64 0:5.5.11-1.el7 will be an update
---> Package nagiosxi-nagiosplugins.x86_64 0:5.5.9-2.el7 will be updated
---> Package nagiosxi-nagiosplugins.x86_64 0:5.5.11-1.el7 will be an update
---> Package nagiosxi-nagvis.x86_64 0:5.5.9-2.el7 will be updated
---> Package nagiosxi-nagvis.x86_64 0:5.5.11-1.el7 will be an update
---> Package nagiosxi-ndoutils.x86_64 0:5.5.9-2.el7 will be updated
---> Package nagiosxi-ndoutils.x86_64 0:5.5.11-1.el7 will be an update
---> Package nagiosxi-nrds.x86_64 0:5.5.9-2.el7 will be updated
---> Package nagiosxi-nrds.x86_64 0:5.5.11-1.el7 will be an update
---> Package nagiosxi-nrpe.x86_64 0:5.5.9-2.el7 will be updated
---> Package nagiosxi-nrpe.x86_64 0:5.5.11-1.el7 will be an update
---> Package nagiosxi-nsca.x86_64 0:5.5.9-2.el7 will be updated
---> Package nagiosxi-nsca.x86_64 0:5.5.11-1.el7 will be an update
---> Package nagiosxi-nxti.x86_64 0:5.5.9-2.el7 will be updated
---> Package nagiosxi-nxti.x86_64 0:5.5.11-1.el7 will be an update
---> Package nagiosxi-pnp.x86_64 0:5.5.9-2.el7 will be updated
---> Package nagiosxi-pnp.x86_64 0:5.5.11-1.el7 will be an update
---> Package nagiosxi-shellinabox.x86_64 0:5.5.9-2.el7 will be updated
---> Package nagiosxi-shellinabox.x86_64 0:5.5.11-1.el7 will be an update
---> Package nagiosxi-wkhtmltox.x86_64 0:5.5.9-2.el7 will be updated
---> Package nagiosxi-wkhtmltox.x86_64 0:5.5.11-1.el7 will be an update
---> Package nagiosxi-wmic.x86_64 0:5.5.9-2.el7 will be updated
---> Package nagiosxi-wmic.x86_64 0:5.5.11-1.el7 will be an update
---> Package rrdtool-devel.x86_64 0:1.4.9-1.el7 will be installed
--> Finished Dependency Resolution
DIS_DIS_Internal_DIS_Internal-el7 | 2.1 kB 00:00:00
DIS_Fedora_Red_Hat_EPEL_epel_el7_x86_64 | 2.6 kB 00:00:00
rhel-7-server-eus-optional-rpms/x86_64 | 2.0 kB 00:00:00
rhel-7-server-eus-rpms/x86_64 | 2.0 kB 00:00:00
rhel-7-server-eus-supplementary-rpms/x86_64 | 1.8 kB 00:00:00
rhel-7-server-extras-rpms/x86_64 | 2.0 kB 00:00:00
rhel-7-server-rh-common-rpms/x86_64 | 2.1 kB 00:00:00
rhel-7-server-rpms/x86_64 | 2.0 kB 00:00:00
rhel-7-server-satellite-tools-6.2-rpms/x86_64 | 2.1 kB 00:00:00
rhel-server-rhscl-7-rpms/x86_64 | 2.0 kB 00:00:00

Dependencies Resolved

=========================================================================================================================================================================================================================================
Package Arch Version Repository Size
=========================================================================================================================================================================================================================================
Installing:
rrdtool-devel x86_64 1.4.9-1.el7 /rrdtool-devel-1.4.9-1.el7.x86_64 32 k
Updating:
nagiosxi x86_64 5.5.11-1.el7 /nagiosxi-5.5.11-1.el7.x86_64 130 M
nagiosxi-mrtg x86_64 5.5.11-1.el7 /nagiosxi-mrtg-5.5.11-1.el7.x86_64 1.0 M
nagiosxi-nagioscore x86_64 5.5.11-1.el7 /nagiosxi-nagioscore-5.5.11-1.el7.x86_64 14 M
nagiosxi-nagiosmobile x86_64 5.5.11-1.el7 /nagiosxi-nagiosmobile-5.5.11-1.el7.x86_64 448 k
nagiosxi-nagiosplugins x86_64 5.5.11-1.el7 /nagiosxi-nagiosplugins-5.5.11-1.el7.x86_64 11 M
nagiosxi-nagvis x86_64 5.5.11-1.el7 /nagiosxi-nagvis-5.5.11-1.el7.x86_64 5.7 M
nagiosxi-ndoutils x86_64 5.5.11-1.el7 /nagiosxi-ndoutils-5.5.11-1.el7.x86_64 659 k
nagiosxi-nrds x86_64 5.5.11-1.el7 /nagiosxi-nrds-5.5.11-1.el7.x86_64 56 M
nagiosxi-nrpe x86_64 5.5.11-1.el7 /nagiosxi-nrpe-5.5.11-1.el7.x86_64 240 k
nagiosxi-nsca x86_64 5.5.11-1.el7 /nagiosxi-nsca-5.5.11-1.el7.x86_64 133 k
nagiosxi-nxti x86_64 5.5.11-1.el7 /nagiosxi-nxti-5.5.11-1.el7.x86_64 292 k
nagiosxi-pnp x86_64 5.5.11-1.el7 /nagiosxi-pnp-5.5.11-1.el7.x86_64 64 k
nagiosxi-shellinabox x86_64 5.5.11-1.el7 /nagiosxi-shellinabox-5.5.11-1.el7.x86_64 494 k
nagiosxi-wkhtmltox x86_64 5.5.11-1.el7 /nagiosxi-wkhtmltox-5.5.11-1.el7.x86_64 72 M
nagiosxi-wmic x86_64 5.5.11-1.el7 /nagiosxi-wmic-5.5.11-1.el7.x86_64 19 M

Transaction Summary
=========================================================================================================================================================================================================================================
Install 1 Package
Upgrade 15 Packages

Total size: 311 M
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Updating : nagiosxi-wmic-5.5.11-1.el7.x86_64 1/31
Updating : nagiosxi-nagiosplugins-5.5.11-1.el7.x86_64 2/31
Updating : nagiosxi-nrpe-5.5.11-1.el7.x86_64 3/31
Updating : nagiosxi-nxti-5.5.11-1.el7.x86_64 4/31
warning: user snmptt does not exist - using root
warning: group snmptt does not exist - using root
warning: user snmptt does not exist - using root
warning: group snmptt does not exist - using root
Updating : nagiosxi-nsca-5.5.11-1.el7.x86_64 5/31
Updating : nagiosxi-mrtg-5.5.11-1.el7.x86_64 6/31
Updating : nagiosxi-nrds-5.5.11-1.el7.x86_64 7/31
Updating : nagiosxi-nagvis-5.5.11-1.el7.x86_64 8/31
Updating : nagiosxi-shellinabox-5.5.11-1.el7.x86_64 9/31
Updating : nagiosxi-wkhtmltox-5.5.11-1.el7.x86_64 10/31
Updating : nagiosxi-nagiosmobile-5.5.11-1.el7.x86_64 11/31
Updating : nagiosxi-ndoutils-5.5.11-1.el7.x86_64 12/31
Updating : nagiosxi-pnp-5.5.11-1.el7.x86_64 13/31
Updating : nagiosxi-nagioscore-5.5.11-1.el7.x86_64 14/31
Updating : nagiosxi-5.5.11-1.el7.x86_64 15/31
Error: Cannot open file rrdtool-devel-1.4.9-1.el7.x86_64.rpm: [Errno 2] No such file or directory: 'rrdtool-devel-1.4.9-1.el7.x86_64.rpm'
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
TypeError: an integer is required
FATAL ERROR: python callback <bound method RPMTransaction.callback of <yum.rpmtrans.RPMTransaction instance at 0x354fdd0>> failed, aborting!


In the mail from root i got saying this,

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
executable: /bin/yum
package: yum-3.4.3-150.el7
component: yum
pid: 32385
hostname: Hostname
count: 2
abrt_version: 2.1.11
analyzer: Python
architecture: x86_64
duphash: 0d90fac1813449b91fc680b3f3f20f5e7f75067a
event_log:
kernel: 3.10.0-514.48.3.el7.x86_64
last_occurrence: 1551723008
os_release: Red Hat Enterprise Linux Server release 7.3 (Maipo)
pkg_arch: noarch
pkg_epoch: 0
pkg_fingerprint: 199E 2F91 FD43 1D51
pkg_name: yum
pkg_release: 150.el7
pkg_vendor: Red Hat, Inc.
pkg_version: 3.4.3
runlevel: N 3
time: Fri 15 Feb 2019 09:36:58 AM EST
type: Python
uid: 0
username: root
uuid: 0UID

backtrace:
:an integer is required
:
:TypeError: an integer is required
environ:
:LIC_ECHO=echo -e
:HISTTIMEFORMAT=%F %T:
:LESSOPEN=||/usr/bin/lesspipe.sh %s
:LOGNAME=root
:USER=root
:HOME=/root
:SHELL=/bin/bash
:SHLVL=2
:HISTSIZE=1000

:_=/bin/yum
:HOSTNAME=Hostname
:HISTCONTROL=ignoredups
:PWD=/tmp/nagiosxi
:MAIL=/var/spool/mail/root
:LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01;36:
:NAME="Red Hat Enterprise Linux Server"
:VERSION="7.3 (Maipo)"
:ID="rhel"
:ID_LIKE="fedora"
:VERSION_ID="7.3"
:PRETTY_NAME="Cloud Suite"
:ANSI_COLOR="0;31"
:CPE_NAME="cpe:/o:redhat:enterprise_linux:7.3:GA:server"
:HOME_URL="https://www.redhat.com/"
:BUG_REPORT_URL="https://bugzilla.redhat.com/"
:REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 7"
:REDHAT_BUGZILLA_PRODUCT_VERSION=7.3
:REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
:REDHAT_SUPPORT_PRODUCT_VERSION="7.3"



Here, I see some packages weren't installed at all.

Any thoughts on this?
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 »

Let me know if you need more Logs or information,

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 »

from your install directory lets run the following

Code: Select all

yum localinstall -y rrdtool-devel-1.4.9-1.el7.x86_64.rpm
Then try the upgrade again
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked