> From: Honia A <[email protected]>
> Subject: [Simple-evcorr-users] Handler for SIGINT not installed?
> To: [email protected]
> Date: Friday, February 20, 2009, 10:15 PM
> Hi all,
> 
>  
> 
> I am new to SEC and had a question:
> 
>  
> 
> I was trying to run sec.pl: ./sec.pl -conf=my.conf
> -input=/opt/collectd/var/log/output.log
> But got the following message:
> 
> 
>  
> 
> SEC (Simple Event Correlator) 2.5.0
> Reading configuration from my.conf
> 1 rules loaded from my.conf
> Stdin connected to terminal, handler for SIGINT not
> installed

No, you don't need to install anything.

This message simply says that since SEC is running with a controlling terminal, 
and you can't use SIGINT signal for changing the logging level. A short 
explanation -- when a process runs in a terminal window and the user presses 
^C, the SIGINT signal is sent to the process. The default behavior for the 
process at the reception of SIGINT is to terminate at once (that's why you can 
use ^C for terminating programs you have started).

When SEC is running *without* controlling terminal (usually when it is in 
daemon mode), SIGINT can't be used in the way described above. In that case, 
SEC installs a custom handler for this signal -- if the end user sends this 
signal to SEC with the 'kill -INT <process_id>' command, SEC increases it's 
logging verbosity level.

I hope I was able to clarify this issue. In short, this is a harmless message 
which just tells that since there is a controlling terminal, you can still use 
^C for terminating SEC if you like.

WBR,
risto

> 
>  
> 
> 
> Do I need to install something in order for SEC to work? 
> 
>  
> 
> Please help,
> 
> Thanks in advance,
> 
> Honia
> 
> 
> 
>  
> 
> 
>  
> 
> 
> _________________________________________________________________
> Windows Liveā„¢: E-mail. Chat. Share. Get more ways to
> connect. 
> http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t2_allup_explore_022009------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009,
> San Francisco, CA
> -OSBC tackles the biggest issue in open source: Open
> Sourcing the Enterprise
> -Strategies to boost innovation and cut costs with open
> source participation
> -Receive a $600 discount off the registration fee with the
> source code: SFAD
> http://p.sf.net/sfu/XcvMzF8H_______________________________________________
> Simple-evcorr-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users


      

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Simple-evcorr-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users

Reply via email to