Install NagiosXi2024R1 on RedHat9.5 failed
Posted: Thu Feb 20, 2025 3:02 pm
Hi,
I got an urgent issue. We did offline install NagiosXi2024R1-1((package : nagiosxi-2024R1-1.el9.x86_64.tar.gz)) in RedHat9.5(Plow), installation process seems OK, we did not get any errors. But for somehow, after installation completed, when opened http://servername/nagiosxi/ in browser, nothing. I checked sub-folders under /usr/local, there is no nagiosxi folder.
Checked nagios service status, it's disabled.
$ systemctl status nagios
× nagios.service - Nagios Core 4.4.13
Loaded: loaded (/usr/lib/systemd/system/nagios.service; disabled; preset: disabled)
Active: failed (Result: exit-code) since Thu 2025-02-20 11:46:44 PST; 8min ago
Docs: https://www.nagios.org/documentation
Process: 3074 ExecStartPre=/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg (code=exited, status=1/FAILURE)
Process: 3075 ExecStopPost=/usr/bin/rm -f /usr/local/nagios/var/rw/nagios.cmd (code=exited, status=0/SUCCESS)
CPU: 5ms
nagios[3074]: Read main config file okay...
nagios[3074]: Error: Cannot open config file '/usr/local/nagios/etc/contacttemplates.cfg' for reading: No such file or directory
nagios[3074]: Error processing object config files!
nagios[3074]: ***> One or more problems was encountered while processing the config files...
nagios[3074]: Check your configuration file(s) to ensure that they contain valid
nagios[3074]: directives and data definitions. If you are upgrading from a previous
nagios[3074]: version of Nagios, you should be aware that some variables/definitions
nagios[3074]: may have been removed or modified in this version. Make sure to read
nagios[3074]: the HTML documentation regarding the config files, as well as the
nagios[3074]: 'Whats New' section to find out what has changed.
Could you help solving this issue.
Thanks,
Carl
I got an urgent issue. We did offline install NagiosXi2024R1-1((package : nagiosxi-2024R1-1.el9.x86_64.tar.gz)) in RedHat9.5(Plow), installation process seems OK, we did not get any errors. But for somehow, after installation completed, when opened http://servername/nagiosxi/ in browser, nothing. I checked sub-folders under /usr/local, there is no nagiosxi folder.
Checked nagios service status, it's disabled.
$ systemctl status nagios
× nagios.service - Nagios Core 4.4.13
Loaded: loaded (/usr/lib/systemd/system/nagios.service; disabled; preset: disabled)
Active: failed (Result: exit-code) since Thu 2025-02-20 11:46:44 PST; 8min ago
Docs: https://www.nagios.org/documentation
Process: 3074 ExecStartPre=/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg (code=exited, status=1/FAILURE)
Process: 3075 ExecStopPost=/usr/bin/rm -f /usr/local/nagios/var/rw/nagios.cmd (code=exited, status=0/SUCCESS)
CPU: 5ms
nagios[3074]: Read main config file okay...
nagios[3074]: Error: Cannot open config file '/usr/local/nagios/etc/contacttemplates.cfg' for reading: No such file or directory
nagios[3074]: Error processing object config files!
nagios[3074]: ***> One or more problems was encountered while processing the config files...
nagios[3074]: Check your configuration file(s) to ensure that they contain valid
nagios[3074]: directives and data definitions. If you are upgrading from a previous
nagios[3074]: version of Nagios, you should be aware that some variables/definitions
nagios[3074]: may have been removed or modified in this version. Make sure to read
nagios[3074]: the HTML documentation regarding the config files, as well as the
nagios[3074]: 'Whats New' section to find out what has changed.
Could you help solving this issue.
Thanks,
Carl