Error restarting nagios after pnp update

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.
majed
Posts: 98
Joined: Mon Mar 17, 2014 5:29 am

Re: Error restarting nagios after pnp update

Post 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?
Seek and you shall find, knock and it shall be opened, cry and you shall find comfort
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: Error restarting nagios after pnp update

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked