Hi Everybody,
I running the below rule which I have found in
http://simple-evcorr.sourceforge.net/FAQ.html#15
and Running in CYGWIN perl , getting following error.
Code: filename is cs2.txt
===================
type=Single
ptype=SubStr
pattern=SEC_STARTUP
context=SEC_INTERNAL_EVENT
continue=TakeNext
desc=Load the Storable module and terminate if it is not found
action=assign %ret 0; eval %ret (require Storable); \
eval %ret (exit(1) unless %ret)
type=Single
ptype=SubStr
pattern=SEC_STARTUP
context=SEC_INTERNAL_EVENT
desc=Restore all SEC contexts from /tmp/SEC_CONTEXTS on startup
action=lcall %ret -> ( sub { %main::context_list = \
%{Storable::retrieve("/tmp/SEC_CONTEXTS")}; } )
type=Single
ptype=SubStr
pattern=SEC_SHUTDOWN
context=SEC_INTERNAL_EVENT
desc=Save all SEC contexts into /tmp/SEC_CONTEXTS on shutdown
action=lcall %ret -> ( sub { \
Storable::store(\%main::context_list, "/tmp/SEC_CONTEXTS"); } )
Error:
=====
$ perl sec -conf=cs1.txt -intevents -intcontexts
SEC (Simple Event Correlator) 2.7.6
Reading configuration from cs1.txt
3 rules loaded from cs1.txt
Interactive process, SIGINT can't be used for changing the logging level
Creating SEC internal context 'SEC_INTERNAL_EVENT'
Creating SEC internal event 'SEC_STARTUP'
Assigning '0' to variable '%ret'
Evaluating code 'require Storable' and setting variable '%ret'
Error evaluating code 'require Storable': Storable.pm did not return a true
value at (eval 5) line 2.
Evaluating code 'exit(1) unless 0' and setting variable '%ret'
Thanks and Regards,
Mohan.R
* Mobile: +91 779 584 1059
E-mail: [email protected]<mailto:[email protected]>
------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Simple-evcorr-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users