How do I shutdown Nagios?

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: How do I shutdown Nagios?

Post by ssax »

You will receive the No lock file found error if nagios is already stopped and you try to stop nagios again.

For example, if you start nagios again:

Code: Select all

sudo /sbin/service nagios start
and then stop it:

Code: Select all

sudo /sbin/service nagios stop
You shouldn't get any error.
Locked