Install NagiosXi2024R1 on RedHat9.5 failed

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Post Reply
caqin
Posts: 18
Joined: Tue Dec 18, 2018 6:17 pm

Install NagiosXi2024R1 on RedHat9.5 failed

Post by caqin »

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
DoubleDoubleA
Posts: 272
Joined: Thu Feb 09, 2017 5:07 pm

Re: Install NagiosXi2024R1 on RedHat9.5 failed

Post by DoubleDoubleA »

Hi @caquin,

If the installation completed without error and you are missing expected files, something not Nagios-related happened between the end of the install and checking the file system/trying the browser.

The file install.log in the directory you untarred to will let you know if anything happened during the installation. If the install completed without error, I'd look at logs and see if you can figure out what happened.
 
Aaron
caqin
Posts: 18
Joined: Tue Dec 18, 2018 6:17 pm

Re: Install NagiosXi2024R1 on RedHat9.5 failed

Post by caqin »

Hi @Aaron,
Thank you to look at this issue.
We tried to install higher version 2024R1.1.5 on RedHat9.5, but still unlucky. Seems something wrong in step 640/643.
Running scriptlet: nagiosxi-2024R1.1.5-1.el9.x86_64 640/643
touch: cannot touch '/usr/local/nagiosxi/var/components/snmptrapsender.log': No such file or directory
/usr/bin/chmod: cannot access '/usr/local/nagiosxi/var/components/snmptrapsender.log': No such file or directory
chown: cannot access '/usr/local/nagiosxi/var/components/snmptrapsender.log': No such file or directory
touch: cannot touch '/usr/local/nagiosxi/var/components/ldap_ad_integration.log': No such file or directory
/usr/bin/chmod: cannot access '/usr/local/nagiosxi/var/components/ldap_ad_integration.log': No such file or directory
chown: cannot access '/usr/local/nagiosxi/var/components/ldap_ad_integration.log': No such file or directory

I attached installation output.

I also checked /tmp/xi-install.log, I got this.
$ more xi-install.log
/var/tmp/rpm-tmp.0vNKlm: line 19: ./rpminstall: Permission denied


Thank you,
Carl
You do not have the required permissions to view the files attached to this post.
Post Reply