Page 2 of 2

Re: Error restarting nagios after pnp update

Posted: Tue Dec 19, 2017 1:41 am
by majed
You thought correctly.
i changed pidfile="/run/nagios.lock" in init.d to

Code: Select all

pidfile="/var/nagios/nagios.lock"
and error was gone after a reboot. After booting the lock file was created by user root, is that the normal behavior?

Re: Error restarting nagios after pnp update

Posted: Tue Dec 19, 2017 11:52 am
by tgriep
Glad the fixed worked for you.
The permission of the lock file looks like it is a known issue. See this link below.
https://github.com/NagiosEnterprises/na ... e/pull/407