RHEL 8 NagiosXI Install Cannot Start
Posted: Tue Oct 06, 2020 1:07 pm
Operating System: Red Hat Enterprise Linux release 8.2
Nagios XI Release: nagiosxi-5.7.2-1
Offline Install: Fail
Online Direct Install: Fail
Attached Repositories: RHEL Base, EPEL, and codeready-builder
Error:
xi-install.log: "Could not find a version that satisfies the requirement pymssql<3"
Nagios Service: Cannot open config file '/usr/local/nagios/etc/contacttemplates.cfg'
Hello,
We recently attempted to install NagiosXI using the offline bundle. The install completed without any displayed errors but the Nagios Core service failed to start.
The xi-install.log (see below), reports that the server "Could not find a version that satisfies the requirement pymssql<3". Downloading third-party rpms was not included in the instruction set provided: https://repo.nagios.com/?repo=offline
We attempted a direct online install with the attached Nagios RHEL repository and the install again completed with no errors but again the Nagios Core service would not start, the xi-install.log reports the same behavior listed below. Given that the offline bundle and necessary repositories were included, what is the correct installation procedure? Or is this a known bug?
Thank You.
---
[[email protected]]# journalctl -xe
--
-- Unit nagios.service has begun starting up.
Oct 06 13:31:50 node1.local nagios[18169]: Nagios Core 4.4.6
Oct 06 13:31:50 node1.local nagios[18169]: Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Oct 06 13:31:50 node1.local nagios[18169]: Copyright (c) 1999-2009 Ethan Galstad
Oct 06 13:31:50 node1.local nagios[18169]: Last Modified: 2020-04-28
Oct 06 13:31:50 node1.local nagios[18169]: License: GPL
Oct 06 13:31:50 node1.local nagios[18169]: Website: https://www.nagios.org
Oct 06 13:31:50 node1.local nagios[18169]: Reading configuration data...
Oct 06 13:31:50 node1.local nagios[18169]: Read main config file okay...
Oct 06 13:31:50 node1.local nagios[18169]: Error: Cannot open config file '/usr/local/nagios/etc/contacttemplates.cfg' for readi>
Oct 06 13:31:50 node1.local nagios[18169]: Error processing object config files!
Oct 06 13:31:50 node1.local nagios[18169]: ***> One or more problems was encountered while processing the config files...
Oct 06 13:31:50 node1.local nagios[18169]: Check your configuration file(s) to ensure that they contain valid
Oct 06 13:31:50 node1.local nagios[18169]: directives and data definitions. If you are upgrading from a previous
Oct 06 13:31:50 node1.local nagios[18169]: version of Nagios, you should be aware that some variables/definitions
Oct 06 13:31:50 node1.local nagios[18169]: may have been removed or modified in this version. Make sure to read
Oct 06 13:31:50 node1.local nagios[18169]: the HTML documentation regarding the config files, as well as the
Oct 06 13:31:50 node1.local nagios[18169]: 'Whats New' section to find out what has changed.
Oct 06 13:31:50 node1.local systemd[1]: nagios.service: Control process exited, code=exited status=1
Oct 06 13:31:50 node1.local systemd[1]: nagios.service: Failed with result 'exit-code'.
Oct 06 13:31:50 node1.local systemd[1]: Failed to start Nagios Core 4.4.6.
-- Subject: Unit nagios.service has failed
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- Unit nagios.service has failed.
--
-- The result is failed.
[[email protected]]#
[[email protected]]# cat /tmp/xi-install.log
MySQL not yet installed - that's okay.
WARNING: Running pip install with root privileges is generally not a good idea. Try `__main__.py install --user` instead.
Collecting pymssql<3
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7fea0d76f160>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/pymssql/
Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7fea0d76fe48>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/pymssql/
Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7fea0d76f630>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/pymssql/
Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7fea0d76f860>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/pymssql/
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7fea0d76f048>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/pymssql/
Could not find a version that satisfies the requirement pymssql<3 (from versions: )
No matching distribution found for pymssql<3
[[email protected]]#
Nagios XI Release: nagiosxi-5.7.2-1
Offline Install: Fail
Online Direct Install: Fail
Attached Repositories: RHEL Base, EPEL, and codeready-builder
Error:
xi-install.log: "Could not find a version that satisfies the requirement pymssql<3"
Nagios Service: Cannot open config file '/usr/local/nagios/etc/contacttemplates.cfg'
Hello,
We recently attempted to install NagiosXI using the offline bundle. The install completed without any displayed errors but the Nagios Core service failed to start.
The xi-install.log (see below), reports that the server "Could not find a version that satisfies the requirement pymssql<3". Downloading third-party rpms was not included in the instruction set provided: https://repo.nagios.com/?repo=offline
We attempted a direct online install with the attached Nagios RHEL repository and the install again completed with no errors but again the Nagios Core service would not start, the xi-install.log reports the same behavior listed below. Given that the offline bundle and necessary repositories were included, what is the correct installation procedure? Or is this a known bug?
Thank You.
---
[[email protected]]# journalctl -xe
--
-- Unit nagios.service has begun starting up.
Oct 06 13:31:50 node1.local nagios[18169]: Nagios Core 4.4.6
Oct 06 13:31:50 node1.local nagios[18169]: Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Oct 06 13:31:50 node1.local nagios[18169]: Copyright (c) 1999-2009 Ethan Galstad
Oct 06 13:31:50 node1.local nagios[18169]: Last Modified: 2020-04-28
Oct 06 13:31:50 node1.local nagios[18169]: License: GPL
Oct 06 13:31:50 node1.local nagios[18169]: Website: https://www.nagios.org
Oct 06 13:31:50 node1.local nagios[18169]: Reading configuration data...
Oct 06 13:31:50 node1.local nagios[18169]: Read main config file okay...
Oct 06 13:31:50 node1.local nagios[18169]: Error: Cannot open config file '/usr/local/nagios/etc/contacttemplates.cfg' for readi>
Oct 06 13:31:50 node1.local nagios[18169]: Error processing object config files!
Oct 06 13:31:50 node1.local nagios[18169]: ***> One or more problems was encountered while processing the config files...
Oct 06 13:31:50 node1.local nagios[18169]: Check your configuration file(s) to ensure that they contain valid
Oct 06 13:31:50 node1.local nagios[18169]: directives and data definitions. If you are upgrading from a previous
Oct 06 13:31:50 node1.local nagios[18169]: version of Nagios, you should be aware that some variables/definitions
Oct 06 13:31:50 node1.local nagios[18169]: may have been removed or modified in this version. Make sure to read
Oct 06 13:31:50 node1.local nagios[18169]: the HTML documentation regarding the config files, as well as the
Oct 06 13:31:50 node1.local nagios[18169]: 'Whats New' section to find out what has changed.
Oct 06 13:31:50 node1.local systemd[1]: nagios.service: Control process exited, code=exited status=1
Oct 06 13:31:50 node1.local systemd[1]: nagios.service: Failed with result 'exit-code'.
Oct 06 13:31:50 node1.local systemd[1]: Failed to start Nagios Core 4.4.6.
-- Subject: Unit nagios.service has failed
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- Unit nagios.service has failed.
--
-- The result is failed.
[[email protected]]#
[[email protected]]# cat /tmp/xi-install.log
MySQL not yet installed - that's okay.
WARNING: Running pip install with root privileges is generally not a good idea. Try `__main__.py install --user` instead.
Collecting pymssql<3
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7fea0d76f160>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/pymssql/
Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7fea0d76fe48>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/pymssql/
Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7fea0d76f630>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/pymssql/
Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7fea0d76f860>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/pymssql/
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7fea0d76f048>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/pymssql/
Could not find a version that satisfies the requirement pymssql<3 (from versions: )
No matching distribution found for pymssql<3
[[email protected]]#