[Nagiosplug-help] nagios-statd kernel error in /var/log/messages
Andreas Ericsson
ae at op5.se
Mon Nov 1 13:22:10 CET 2004
Anjan Dave wrote:
>
> I am seeing this message in the /var/log/messages on the client that
> simply runs the nagios_statd:
>
> kernel: application bug: nagios-statd(1576) has SIGCHLD set to SIG_IGN
> but calls wait().
>
> Is there a simple solution for this? I am seeing this on a number of
> hosts...this host is RHAS 3.0
>
Yes. Add the line
signal(SIGCHLD, SIG_DFL);
at the proper place in nagios_statd.c, or possibly look for a loop using
the signal(2) system call and add a a 'continue' loop control statement
when the signal number to set equals SIGCHLD.
--
Andreas Ericsson andreas.ericsson at op5.se
OP5 AB www.op5.se
Lead Developer
More information about the Help
mailing list