Thanks Ssax,
Ran the “sudo subscription-manager repos --enable "codeready-builder-for-rhel-8-*-rpms” command on server and started the installation again. However 2 errors got resolved and below three error occurred.
Error:
Problem 1: cannot install both graphviz-gd-2.40.1-40.el8.x86_64 and graphviz-g-2.40.1-39.el8.x86_64
- conflicting requests
Problem 2: package nagiosxi-nxti-5.7.2-1.el8.x86_64 conflicts with snmptt provded by snmptt-1.4-0.1.el8.noarch
- conflicting requests
Problem 3: package nagiosxi-shellinabox-5.7.2-1.el8.x86_64 conflicts with shelinabox provided by shellinabox-2.20-9.el8.x86_64
- conflicting requests
(try to add '--allowerasing' to command line to replace conflicting packages or'--skip-broken' to skip uninstallable packages or '--nobest' to use not only bet candidate packages)
We have moved below files to temp directory and started the installation again.
graphviz-g-2.40.1-39.el8.x86_64
snmptt-1.4-0.1.el8.noarch
shellinabox-2.20-9.el8.x86_64
Installation got completed but Nagios services are not running on the server.
urw-base35-gothic-fonts-20170801-10.el8.noarch urw-base35-nimbus-mono-ps-fonts-20170801-10.el8.noarch
urw-base35-nimbus-roman-fonts-20170801-10.el8.noarch urw-base35-nimbus-sans-fonts-20170801-10.el8.noarch
urw-base35-p052-fonts-20170801-10.el8.noarch urw-base35-standard-symbols-ps-fonts-20170801-10.el8.noarch
urw-base35-z003-fonts-20170801-10.el8.noarch utf8proc-2.1.1-5.module+el8.0.0+3900+919b6753.x86_64
xorg-x11-font-utils-1:7.5-40.el8.x86_64 xorg-x11-fonts-ISO8859-1-100dpi-7.5-19.el8.noarch
xorg-x11-server-utils-7.7-27.el8.x86_64 xz-devel-5.2.4-3.el8.x86_64
zlib-devel-1.2.11-16.el8_2.x86_64
Complete!
[root@lxappnagistgs06 nagiosxi]#
We tried to start the service but below mentioned occurred when we tried to Nagios service.
[root@lxappnagistgs06 nagiosxi]# systemctl start nagios
Job for nagios.service failed because the control process exited with error code.
See "systemctl status nagios.service" and "journalctl -xe" for details.
[root@lxappnagistgs06 nagiosxi]# journalctl -xe
Nov 05 06:46:18 lxappnagistgs06 systemd[1]: Configuration file /usr/lib/systemd/system/nagios.service is marked executable. Ple>
Nov 05 06:46:18 lxappnagistgs06 systemd[1]: Configuration file /usr/lib/systemd/system/nagios.service is marked executable. Ple>
Nov 05 06:46:27 lxappnagistgs06 systemd[1]: Configuration file /usr/lib/systemd/system/nagios.service is marked executable. Ple>
Nov 05 06:46:27 lxappnagistgs06 systemd[1]: Starting Nagios Core 4.4.6...
-- Subject: Unit nagios.service has begun start-up
-- Defined-By: systemd
-- Support:
https://access.redhat.com/support
--
-- Unit nagios.service has begun starting up.
Nov 05 06:46:27 lxappnagistgs06 nagios[30248]: Nagios Core 4.4.6
Nov 05 06:46:27 lxappnagistgs06 nagios[30248]: Copyright (c) 2009-present Nagios Core Development Team and Community Contributo>
Nov 05 06:46:27 lxappnagistgs06 nagios[30248]: Copyright (c) 1999-2009 Ethan Galstad
Nov 05 06:46:27 lxappnagistgs06 nagios[30248]: Last Modified: 2020-04-28
Nov 05 06:46:27 lxappnagistgs06 nagios[30248]: License: GPL
Nov 05 06:46:27 lxappnagistgs06 nagios[30248]: Website:
https://www.nagios.org
Nov 05 06:46:27 lxappnagistgs06 nagios[30248]: Reading configuration data...
Nov 05 06:46:27 lxappnagistgs06 nagios[30248]: Read main config file okay...
Nov 05 06:46:27 lxappnagistgs06 nagios[30248]: Error: Cannot open config file '/usr/local/nagios/etc/contacttemplates.cfg' for >
Nov 05 06:46:27 lxappnagistgs06 nagios[30248]: Error processing object config files!
Nov 05 06:46:27 lxappnagistgs06 nagios[30248]: ***> One or more problems was encountered while processing the config files...
Nov 05 06:46:27 lxappnagistgs06 nagios[30248]: Check your configuration file(s) to ensure that they contain valid
Nov 05 06:46:27 lxappnagistgs06 nagios[30248]: directives and data definitions. If you are upgrading from a previous
Nov 05 06:46:27 lxappnagistgs06 nagios[30248]: version of Nagios, you should be aware that some variables/definitions
Nov 05 06:46:27 lxappnagistgs06 nagios[30248]: may have been removed or modified in this version. Make sure to read
Nov 05 06:46:27 lxappnagistgs06 nagios[30248]: the HTML documentation regarding the config files, as well as the
Nov 05 06:46:27 lxappnagistgs06 nagios[30248]: 'Whats New' section to find out what has changed.
Nov 05 06:46:27 lxappnagistgs06 systemd[1]: nagios.service: Control process exited, code=exited status=1
Nov 05 06:46:27 lxappnagistgs06 systemd[1]: nagios.service: Failed with result 'exit-code'.
Nov 05 06:46:27 lxappnagistgs06 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.
lines 1377-1412/1412 (END)
Below is the xi-install.log from the server.
[root@lxappnagistgs06 tmp]# cat 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 0x7f9168826f98>: Failed to establish a new connection: [Errno 111] Connection refused',)': /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 0x7f9168826978>: Failed to establish a new connection: [Errno 111] Connection refused',)': /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 0x7f9168826160>: Failed to establish a new connection: [Errno 111] Connection refused',)': /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 0x7f9168826940>: Failed to establish a new connection: [Errno 111] Connection refused',)': /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 0x7f9168826358>: Failed to establish a new connection: [Errno 111] Connection refused',)': /simple/pymssql/
Could not find a version that satisfies the requirement pymssql<3 (from versions: )
No matching distribution found for pymssql<3
[root@lxappnagistgs06 tmp]#