Page 1 of 1

Verifying New Installation

Posted: Thu Feb 20, 2020 1:48 am
by jjk94
I have successfully installed NAGIOS XI. I am not able to connect using the URL http://<server_address>/nagiosxi to finalize the installation. Page not found is the error. I have searched and unable to find a document describing the starting of the application server.

Re: Verifying New Installation

Posted: Thu Feb 20, 2020 10:36 am
by benjaminsmith
Hello @jjk94,

Since this is your first post and I'd like to thank you for choosing Nagios! We're happy to have you in the community. It ought to come up, let's check a few things.

1. What is the operating system you installed on and was this a clean install (anything else running on the server)?

2. Are you able to successfully ping the server from your workstation?

Code: Select all

ping <ip address>
3. Is Apache and the Nagios process running?

Code: Select all

systemctl status httpd
systemctl status nagios
4. Are you able to access the Nagios Core interface?

Code: Select all

http://<ip-address>/nagios

Re: Verifying New Installation

Posted: Thu Feb 20, 2020 3:20 pm
by jjk94
systemctl status httpd - Not Running
I did start and can access the redhat apache default page

systemctl status Nagios
● nagios.service - Nagios Core 4.4.5
Loaded: loaded (/usr/lib/systemd/system/nagios.service; disabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Thu 2020-02-20 14:15:28 EST; 1h 3min ago
Docs: https://www.nagios.org/documentation
Process: 6532 ExecStartPre=/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg (code=exited, status=1/FAILURE)

Feb 20 14:15:28 HOSTNAME nagios[6532]: Check your configuration file(s) to ensure that they contain valid
Feb 20 14:15:28 HOSTNAME nagios[6532]: directives and data definitions. If you are upgrading from a previous
Feb 20 14:15:28 HOSTNAME nagios[6532]: version of Nagios, you should be aware that some variables/definitions
Feb 20 14:15:28 HOSTNAME nagios[6532]: may have been removed or modified in this version. Make sure to read
Feb 20 14:15:28 HOSTNAME nagios[6532]: the HTML documentation regarding the config files, as well as the
Feb 20 14:15:28 HOSTNAME nagios[6532]: 'Whats New' section to find out what has changed.
Feb 20 14:15:28 HOSTNAME systemd[1]: nagios.service: control process exited, code=exited status=1
Feb 20 14:15:28 HOSTNAME systemd[1]: Failed to start Nagios Core 4.4.5.
Feb 20 14:15:28 HOSTNAME systemd[1]: Unit nagios.service entered failed state.
Feb 20 14:15:28 HOSTNAME systemd[1]: nagios.service failed.

Re: Verifying New Installation

Posted: Thu Feb 20, 2020 5:30 pm
by jjk94
uninstalled. reinstalled using /tmp/rpms as the install directory. Default server config does not allow execution from /tmp. Once access was set . installed without errors.

Re: Verifying New Installation

Posted: Thu Feb 20, 2020 5:43 pm
by benjaminsmith
Hi Jack,

Thanks for the update!

If you have any other questions, feel free to open another post.