Hi,

this bug is fixed in CVS. Install from it or apply the attached patch to 2.9 
source.

Andrea

Rodney Ramos wrote:
> I´m having a problem when I try to reload Nagios 2.9. When I run "kill -HUP
> <nagios_pid>", it ends up with SIGEXIT.
> 
> In the nagios.log we have "Caught SIGEXIT, shutting down...".
> 
> I´m running Nagios 2.9 in Solaris 9, gcc-3-4-6.
> 
> I´ve read that this a problema in the "char *sigs[]" definition on the
> nagios.c file.
> 
> Does anyone knows how to solve this problema?
> 
> Thanks.
> 
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Nagios-users mailing list
> [email protected]
> 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

-- 

---------------------------------------
Smile: It's the second best thing you can do with your lips.
---------------------------------------
Ing. Andrea Gabellini
Email: [EMAIL PROTECTED]
Skype: andreagabellini
Tel: (+378) 0549 886111
Fax: (+378) 0549 886188

Telecom Italia San Marino S.p.A.
Strada degli Angariari, 3
47891 Rovereta
Republic of San Marino

http://www.telecomitalia.sm
--- base/nagios.c.orig  2007-04-17 10:52:43.370390000 +0200
+++ base/nagios.c       2007-04-17 10:56:46.452195000 +0200
@@ -142,7 +142,7 @@
 
 int             sigshutdown=FALSE;
 int             sigrestart=FALSE;
-char            
*sigs[]={"EXIT","HUP","INT","QUIT","ILL","TRAP","ABRT","BUS","FPE","KILL","USR1","SEGV","USR2","PIPE","ALRM","TERM","STKFLT","CHLD","CONT","STOP","TSTP","TTIN","TTOU","URG","XCPU","XFSZ","VTALRM","PROF","WINCH","IO","PWR","UNUSED","ZERR","DEBUG",(char
 *)NULL};
+extern char     **sigs;
 int             caught_signal=FALSE;
 int             sig_id=0;
 
--- base/utils.c.orig   2007-04-17 10:52:34.218343000 +0200
+++ base/utils.c        2007-04-17 10:58:40.339805000 +0200
@@ -76,7 +76,7 @@
 
 extern int      sigshutdown;
 extern int      sigrestart;
-extern char     **sigs;
+char            
*sigs[]={"EXIT","HUP","INT","QUIT","ILL","TRAP","ABRT","BUS","FPE","KILL","USR1","SEGV","USR2","PIPE","ALRM","TERM","STKFLT","CHLD","CONT","STOP","TSTP","TTIN","TTOU","URG","XCPU","XFSZ","VTALRM","PROF","WINCH","IO","PWR","UNUSED","ZERR","DEBUG",(char
 *)NULL};
 extern int      caught_signal;
 extern int      sig_id;
 
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Nagios-users mailing list
[email protected]
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

Reply via email to