'Aloha!<br><br>I have found what looks like a bug in the file nagios-3.0.1/<a href="http://daemon-init.in">daemon-init.in</a> <br>Find the function killproc_nagios<br><br>Looks like something is missing.... At least mine looks like this straight form the tar-ball:<br>
<br>killproc_nagios ()<br>{<br><br>        kill $2 $NagiosPID<br><br>}<br><br>What do you think?<br><br>/Morten %-)<br><br><div class="gmail_quote">On Wed, Apr 23, 2008 at 10:40 AM, Hendrik Bäcker <<a href="mailto:andurin@process-zero.de">andurin@process-zero.de</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">1. I won't believe that "The Noob" is written in your birth certificate<br>
2. x-posting won't help you getting usefull answers<br>
3. after deciding wich mailing list you want - give us more informations<br>
(do you use 'restart', 'reload', 'magic')<br>
4. it might be the known behavior, that nagios 2.x won't exit correctly<br>
if a hostcheck is just running - have a look in your nagios.cfg about<br>
host_check_timeout and set a sleep "that_value +1" between stop and<br>
start of your init script<br>
<br>
@Lists: Sorry for x-posting again ;)<br>
<br>
The Noob schrieb:<br>
<div><div></div><div class="Wj3C7c">> Hello all,<br>
><br>
> I have a problem with the start script (/etc/init.d/nagios)<br>
> Sometimes, when I stop or restart Nagios, I have a timeout. Then<br>
> Nagios crash and it does not restart correctly and starts with the old<br>
> configuration.<br>
> kill -9 permits to stop all processes nagios.<br>
> What can I check on my server to fix this bug ?<br>
> Nagios Version is 2.9.<br>
><br>
> Thanks for your answer<br>
> Best Regards<br>
> TheNoob<br>
</div></div>> ------------------------------------------------------------------------<br>
><br>
> -------------------------------------------------------------------------<br>
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference<br>
> Don't miss this year's exciting event. There's still time to save $100.<br>
> Use priority code J8TL2D2.<br>
> <a href="http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone" target="_blank">http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone</a><br>
> ------------------------------------------------------------------------<br>
><br>
> _______________________________________________<br>
> Nagios-devel mailing list<br>
> <a href="mailto:Nagios-devel@lists.sourceforge.net">Nagios-devel@lists.sourceforge.net</a><br>
> <a href="https://lists.sourceforge.net/lists/listinfo/nagios-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-devel</a><br>
><br>
<br>
<br>
-------------------------------------------------------------------------<br>
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference<br>
Don't miss this year's exciting event. There's still time to save $100.<br>
Use priority code J8TL2D2.<br>
<a href="http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone" target="_blank">http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone</a><br>
_______________________________________________<br>
Nagios-devel mailing list<br>
<a href="mailto:Nagios-devel@lists.sourceforge.net">Nagios-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-devel</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>/Morten %-)