Hi Wayan, Josh is right.

Among other things, you have to make decisions about file system locations
of modsecurity files.
You specify the location where modsecurity will keep its data using the
SecDataDir directive. Also, you specify the location where modsecurity will
store temporary files using the SecTmpDir directive.

The configuration example uses /tmp for both. This is a personal one, but i
recommend you to put that files in a special diectory (for example,
/var/opt/modsecurity) and restrict ownership, group and file permissions
only for root and apache...  ;)

Regards,
Pablo.-


On Sun, Apr 14, 2013 at 4:10 AM, Josh Amishav-Zlatin <jam...@owasp.org>wrote:

> On Sun, Apr 14, 2013 at 5:00 AM, Linu-Linu <pegali...@gmail.com> wrote:
>
>> Dear sir,
>> I newbie in Owasp
>>
>>
>> i have error messages:
>>
>> --d494c82f-H--
>> Message: collection_retrieve_ex: Unable to retrieve collection (name
>> "global", key "global"). Use SecDataDir to define data directory first.
>> Message: collection_retrieve_ex: Unable to retrieve collection (name
>> "ip", key "66.249.76.221_59c3d4f2509c82627f0eeb8e0e13ae1254eb4065"). Use
>> SecDataDir to define data directory first.
>> Message: collection_store: Unable to store collection (name "ip", key "
>> 66.249.76.221_59c3d4f2509c82627f0eeb8e0e13ae1254eb4065"). Use SecDataDir
>> to define data directory first.
>> Stopwatch: 1365903677079395 894955 (- - -)
>> Stopwatch2: 1365903677079395 894955; combined=259572, p1=258166, p2=1214,
>> p3=7, p4=91, p5=61, sr=45, sw=33, l=0, gc=0
>> Producer: ModSecurity for Apache/2.7.3 (http://www.modsecurity.org/);
>> OWASP_CRS/2.2.7.
>> Server: Apache/2.2.24 (Unix) mod_ssl/2.2.24 OpenSSL/1.0.0-fips
>> mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635
>> Engine-Mode: "ENABLED"
>>
>>
> Hi Wayan,
>
> Your missing the SecDataDir directive which is normally set in the base
> configuration. For an example base configuration see:
>
> https://github.com/SpiderLabs/ModSecurity/wiki/Reference-Manual#wiki-A_Recommended_Base_Configuration
>
> --
>  - Josh
>
>
>
>> how to fix it.
>>
>> Regards
>> wayan
>>
>>
>>
>> _______________________________________________
>> Owasp-modsecurity-core-rule-set mailing list
>> Owasp-modsecurity-core-rule-set@lists.owasp.org
>> https://lists.owasp.org/mailman/listinfo/owasp-modsecurity-core-rule-set
>>
>>
>
> _______________________________________________
> Owasp-modsecurity-core-rule-set mailing list
> Owasp-modsecurity-core-rule-set@lists.owasp.org
> https://lists.owasp.org/mailman/listinfo/owasp-modsecurity-core-rule-set
>
>
_______________________________________________
Owasp-modsecurity-core-rule-set mailing list
Owasp-modsecurity-core-rule-set@lists.owasp.org
https://lists.owasp.org/mailman/listinfo/owasp-modsecurity-core-rule-set

Reply via email to