Thanks for the reply.  I ended up rebooting the box, which fixed the problem temporarily, but it has resurfaced again.  When I drill down into a service check it says that the next check will be processed at a time that has already passed.<br>

<br>For example:<br>Last Check: 13:09<br>Next Check: 13:11<br><br>The current time on, however, is 14:02...<br><br>When I try to stop the process via the init script I get the following:<br>[nagios@psdbsd01 (~/var)]$ /usr/local/etc/rc.d/nagios.sh stop<br>

Stopping nagios: ..........<br>Warning - nagios did not exit in a timely manner<br><br>The cmd file does not exist prior to attempting to start, after stopping, but I back to the problem where Nagios will not start and instead hangs indefenitely when requested to start.  <br>

<br>[nagios@psdbsd01 (~/var)]$ /usr/local/etc/rc.d/nagios.sh start<br>
Starting nagios: <-- hangs here<br><br>I'm not sure about the lock file, this is a FreeBSD install from source, and I don't see a /var/lock directory at all.  Everything Nagios related is installed in /usr/local/nagios as far as I can tell.<br>

<br>There doesn't seem to be anything of interest in nagios.log, as the last entry just reports a notification that was sent out prior to Nagios losing its functionality.<br><br>Any other tips?  I'm not exactly sure why a reboot fixed this before, but any speculation is appreciated.<br clear="all">

<br>-- Eric Cables<br>
<br><br><div class="gmail_quote">On Thu, Jul 1, 2010 at 6:05 AM, Jim Avery <span dir="ltr"><<a href="mailto:jim@jimavery.me.uk">jim@jimavery.me.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<div><div></div><div class="h5">On 1 July 2010 01:18, Eric Cables <<a href="mailto:ecables@gmail.com">ecables@gmail.com</a>> wrote:<br>
> Sorry to bug the list, but my 3.2.1 installation of Nagios has all of a<br>
> sudden stopped starting.  I noticed a lack of alerts over the last day, and<br>
> when I checked the GUI it indicated that the "next" scheduled check for a<br>
> service was in the past.  I proceeded to stop/start Nagios, but both have<br>
> failed.<br>
><br>
> Currently when I try to start Nagios using the init script it just hangs:<br>
> [nagios@psdbsd01 (~/etc)]$ /usr/local/etc/rc.d/nagios.sh start<br>
> Starting nagios:<br>
><br>
> I've enabled debug logging (-1 level, 2 verbosity), but this is all that<br>
> shows up in nagios.debug when I issue the above start request (uid 1003 =<br>
> nagios):<br>
> [1277942532.270096] [001.0] [pid=46503] drop_privileges() start<br>
> [1277942532.270194] [004.0] [pid=46503] Original UID/GID: 1003/1003<br>
><br>
> I can run nagios -v nagios.cfg, and it reports no errors.<br>
><br>
> Here's the output if I run nagios nagios.cfg manually, without invoking<br>
> daemon mode:<br>
> [nagios@psdbsd01 (~/etc)]$ ../bin/nagios ./nagios.cfg<br>
><br>
> Nagios Core 3.2.1<br>
> Copyright (c) 2009-2010 Nagios Core Development Team and Community<br>
> Contributors<br>
> Copyright (c) 1999-2009 Ethan Galstad<br>
> Last Modified: 03-09-2010<br>
> License: GPL<br>
><br>
> Website: <a href="http://www.nagios.org" target="_blank">http://www.nagios.org</a><br>
><br>
> Any tips?  I am not sure what the next steps are since both logging and<br>
> debugging aren't producing output, and Nagios has never taken more than a<br>
> few seconds to start in the past.<br>
<br>
</div></div>What, if anything, shows up in your nagios.log file?<br>
<br>
Check you don't already have a nagios daemon running (ps -ef | grep<br>
nagios) before you start it again.<br>
<br>
Check that the lock file isn't there from the previous invocation (if<br>
you did a standard install from source tarballs the file is<br>
/var/lock/subsys/nagios).<br>
<br>
Check that the Nagios command file /usr/local/nagios/var/rw/nagios.cmd<br>
doesn't exist before you start nagios.<br>
<br>
Use full pathnames when attempting to verify your config, for example:<br>
<br>
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg<br>
<div><div></div><div class="h5"><br>
------------------------------------------------------------------------------<br>
This SF.net email is sponsored by Sprint<br>
What will you do first with EVO, the first 4G phone?<br>
Visit <a href="http://sprint.com/first" target="_blank">sprint.com/first</a> -- <a href="http://p.sf.net/sfu/sprint-com-first" target="_blank">http://p.sf.net/sfu/sprint-com-first</a><br>
_______________________________________________<br>
Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br>
</div></div></blockquote></div><br>