Can you post a full core dump? Did you verify the mod_security tarball you downloaded? Can detail the steps taken to build that module? What version of nginx are you trying to build?

On 6/4/2014 06:27, Kurt Cancemi wrote:

Hello, this is unrelated to nginx and has to do with mod_security. There is an alternative if it suits your needs called naxsi.

Regards,
Kurt Cancemi
http://www.getwnmp.org

On Jun 4, 2014 9:18 AM, "Godinho" <nginx-fo...@nginx.us <mailto:nginx-fo...@nginx.us>> wrote:

    I needed to use modsecurity so I compiled nginx and modsecurity.

    Modsecurity was compiled with options: ./configure
    --enable-standalone-module

    nginx with: ./configure
    --add-module=../modsecurity-2.8.0/nginx/modsecurity/

    When I try to test my configuration I have this:

    [root@nginx1 nginx]# /usr/local/nginx/sbin/nginx -t
    Segmentation fault

    from message logs:
    Jun  4 13:57:43 nginx1 kernel: nginx[12229]: segfault at 410 ip
    00007f9088569a32 sp 00007fffc90ccf58 error 4 in
    libc-2.12.so <http://libc-2.12.so>[7f90884e0000+18b000]
    Jun  4 13:57:44 nginx1 kernel: nginx[12230]: segfault at 410 ip
    00007f6626c93a32 sp 00007fff4fdd7cf8 error 4 in
    libc-2.12.so <http://libc-2.12.so>[7f6626c0a000+18b000]

    Update: it seams it a modsecurity problem, copiled without it
    (./configure
    --with-http_ssl_module) work just fine...

    Posted at Nginx Forum:
    http://forum.nginx.org/read.php?2,250629,250629#msg-250629

    _______________________________________________
    nginx mailing list
    nginx@nginx.org <mailto:nginx@nginx.org>
    http://mailman.nginx.org/mailman/listinfo/nginx



_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to