Page 1 of 1

Failed to start nagios

Posted: Thu May 30, 2019 5:58 am
by scarface998
I installed Nagios core(fresh install) on my centos 7 Server. But I am having error starting Nagios core. I followed all the procedure as mentioned in
https://assets.nagios.com/downloads/nag ... entos7.pdf


The error are as follows:
[root@localhost ~]# systemctl status nagios.service
● nagios.service - LSB: Starts and stops the Nagios monitoring server
Loaded: loaded (/etc/rc.d/init.d/nagios; bad; vendor preset: disabled)
Active: failed (Result: exit-code) since Thu 2019-05-30 06:50:28 EDT; 31s ago
Docs: man:systemd-sysv-generator(8)
Process: 5086 ExecStart=/etc/rc.d/init.d/nagios start (code=exited, status=1/FAILURE)

May 30 06:50:28 localhost.localdomain systemd[1]: Starting LSB: Starts and stops the Nagios monitoring server...
May 30 06:50:28 localhost.localdomain nagios[5086]: Executable file /usr/local/nagios/bin/nagios not found. Exiting.
May 30 06:50:28 localhost.localdomain systemd[1]: nagios.service: control process exited, code=exited status=1
May 30 06:50:28 localhost.localdomain systemd[1]: Failed to start LSB: Starts and stops the Nagios monitoring server.
May 30 06:50:28 localhost.localdomain systemd[1]: Unit nagios.service entered failed state.
May 30 06:50:28 localhost.localdomain systemd[1]: nagios.service failed.

Re: Failed to start nagios

Posted: Thu May 30, 2019 7:05 am
by scottwilkerson
Are you sure you ran make install?

Code: Select all

make install
It looks like the the init file is there but missing the binary in the expected path
scarface998 wrote:May 30 06:50:28 localhost.localdomain nagios[5086]: Executable file /usr/local/nagios/bin/nagios not found. Exiting.