Nagios.lock not found upon satrting nagios service

I have installed everything as default. I am using centos, which is a generic red hat enterprise. When I run /etc/init.d/nagios start it tells me “No lock file found in /usr/local/nagios/var/nagios.lock” sure enough there is no file in var called nagios.lock. Can anybody help me? Thanks in advance.

The lock file is created upon startup of Nagios and deleted when Nagios stops, so the fact that the file doesn’t exist simply means that Nagios isn’t running. I believe this prevents multiple instances of Nagios from running on the box. Check your permissions to the /usr/local/nagios/var directory. Is it possible you have them set so that Nagios can’t write to that directory?

Edited Wed Jan 04 2006, 08:37PM ]