Nagios.Service start operation timed out. Terminating

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.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios.Service start operation timed out. Terminating

Post by scottwilkerson »

tastas wrote:Scott... you are a genius. That worked. Change the lock_file to /usr/local/nagios/var/run/nagios.pid worked. Just curious, does the nagios.pid file have to be in a particular location?

Thank you so much Scott.

-David
It has to match the location in your systemd service file, which in your case was:
tastas wrote:PIDFile=/usr/local/nagios/var/run/nagios.pid
Additionally, it needs to be in a location that is writable by the nagios user and systemd services. I don't know all the specifics but some locations are restricted on different systems on where systemd can write to.
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked