status_file, locatios.h, and no status file on start

Marc Powell marc at ena.com
Fri Mar 5 21:45:43 CET 2004


On Friday, March 05, 2004 2:28 PM, Jared Rhine shared with us:

> I've installed a fresh nagios 2.0a1 and the infrastructure appears to
> be properly installed.  But there's no status_file created when the
> nagios daemon starts.  No errors appear in the log_file or syslog.  
> check_nagios fails, and (most) all the CGIs say "Error: Could not
> read host and service status information!", as expected. 
> 

FWIW, I can report that I was seeing the same behavior with both Redhat
7.3 and Fedora Core 1. After extensive troubleshooting I was not able to
determine why it wasn't being created, even though I saw an unlink of
the specified file using strace at nagios startup but not the expected
create. At the time I chalked it up to user error on my part, probably
some trivial config change I was missing, and I was waiting for the 2.0
docs to become more complete before going further. Perhaps it's
something more?

--
Marc



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list