On 12/03/2010 11:42 AM, M Haris Farooque wrote:
>   Am 02.12.2010 11:17, schrieb Risto Vaarandi:
>>> Hello Risto,
>>>
>>> In the begininnig No, but later Yes, I did specify
>>> -input=/usr/local/etc/SEC_Log_Pipe. And /tmp/sec.dump also not showing
>>> my input. here is the snapshot of sec.dump;
>>>
>>> Program options: --conf=/usr/local/etc/testmodel/myrules/main.cfg
>>> --conf=/usr/local/etc/testmodel/myrules/m1.cfg
>>> --conf=/usr/local/etc/testmodel/myrules/m2.cfg
>>> -input=/usr/local/etc/SEC_Log_Pipe -debug=6 -intevents
>>>
>>> Input sources:
>>> ============================================================
>>> /usr/local/etc/SEC_Log_Pipe (status: Open, received data: 0 lines, no
>>> context set)
>>>
>>
>> This indicates that SEC has the pipe open, but no input lines have
>> been observed. Can you write to this pipe again and check if the line
>> counter increases? Note that you have to delete /tmp/sec.dump first,
>> in order to regenerate the file with a signal.
>> regards,
>> risto
>>
>>>
>>> --
>>>
>>> Kind Reagrds/Mit freundlichen Grüßen
>>>
>>> M Haris Farooque
>>>
>>
> I already did this, but it doesnot accept the input. if SEC is i wonder
> what is the command to send an input to the pipe, may be I am not
> issuing the right command.
>
> 1. echo "ReportNow" | /usr/local/etc/SEC_Log_Pipe
>       -bash: /usr/local/etc/SEC_Log_Pipe: Permission denied
>       -bash: echo: write error: Broken pipe
>
> 2. cat | /usr/local/etc/SEC_Log_Pipe
>      -bash: /usr/local/etc/SEC_Log_Pipe: Permission denied
>
> however, there is nothing wrong with the permissions.
>     prw-r--r-- 1 root root 0 Dec  3 09:33 /usr/local/etc/SEC_Log_Pipe
>
> 3. echo "ReportNow" >> /usr/local/etc/SEC_Log_Pipe (nothing happen)

The first two shell commandlines actually imply that 
/usr/local/etc/SEC_Log_Pipe is an executable program, thus you will get 
this error.
The last command is a correct one. What actually happens when you issue 
it? SEC should be able to see the line you have written to the pipe. Are 
you sure that SEC is the only process which is reading from the pipe? 
(You can use 'lsof /usr/local/etc/SEC_Log_Pipe' for verifying who has 
the pipe open for reading and writing).
regards,
risto

>
> --
>
> Kind Reagrds/Mit freundlichen Grüßen
>
> M Haris Farooque
>


------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Simple-evcorr-users mailing list
Simple-evcorr-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users

Reply via email to