Hello agian,<br><br>I'm experiencing right now the same problem. And I'm trying to doing some forensic.<br><br>It's working in a 2 CPU system and main daemon is taking one of them.<br><br>With truss I just get many many lines like this<br>
<br>/2: poll(0xFEF79F88, 1, 500) = 1<br>/2: poll(0xFEF79F88, 1, 500) = 1<br>/2: poll(0xFEF79F88, 1, 500) = 1<br>/2: poll(0xFEF79F88, 1, 500) = 1<br>
/2: poll(0xFEF79F88, 1, 500) = 1<br>/2: poll(0xFEF79F88, 1, 500) = 1<br>/2: poll(0xFEF79F88, 1, 500) = 1<br>/2: poll(0xFEF79F88, 1, 500) = 1<br>
/2: poll(0xFEF79F88, 1, 500) = 1<br><br>And the only pool entry in code is in utill.c, function<br><br>void * command_file_worker_thread(void *arg){<br><br>And the output (1) match this<br><br>#define EPERM 1 /* Not super-user */<br>
<br>But although with this error it should write to nagios.log, nothing is written.<br><br>I have also checked the external command file<br><br># ls -l /usr/local/nagios/var/rw/nagios.cmd<br>prw-rw---- 1 nagios nagcmd 47675 Jul 14 09:08 /usr/local/nagios/var/rw/nagios.cmd<br>
<br>And I've seen than this code is the same than in <a href="http://3.0.1.">3.0.1.</a><br><br>Any idea?<br><br>Trying to stop nagios (/etc/init.d/nagios stop) I can't. I just get<br><br>Warning - nagios did not exit in a timely manner<br>
<br>And 3 nagios processes are still running. So I had to "kill -9" them<br><br>Thanks a lot<br><br>Jose Luis<br><br><br><br><div class="gmail_quote">2008/7/11 Jose Luis Garcia <<a href="mailto:garciam@teleline.es">garciam@teleline.es</a>>:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="gmail_quote"><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello,<br><br>My name is Jose Luis and I'm wrinting from Spain.<br>
<br>I have recently installed Nagios in a Solaris 9 box.<br><br>While I was in version 3.0.1, 1 month or so, everything has been working smoothly, but now, with version 3.0.3 Nagios has "hanged" twice (once a week more or less).<br>
<br>Nagios daemon is running but neither checks are performed nor external commands processed. So I have to restart it.<br><br>Anyone else have experienced this behaviour?<br><br>Any suggestions? We are thinking of setting up a cron check to detect this situation (no entries in nagios.log), but perhaps we are experiencing some kind of bug that should be solved in new releases.<br>
<br>Thank you very much indded<br><font color="#888888"><br>Jose Luis<br>
</font></blockquote></div><br>
</blockquote></div><br>