I'm having the same or similar issue as in #127 whenever trying to load rules files. Nginx 1.14.2, libmodsecurity v3.0.3, FreeBSD 10.3. The problem presents itself whenever trying to set anything for SecAuditLog (if I comment out all SecAudit* lines in modsecurity.conf, everything works), which presents the following error:
# service nginx restart
Performing sanity check on nginx configuration:
nginx: [emerg] "modsecurity_rules_file" directive Failed to allocate shared memory (1): Function not implemented in /usr/local/etc/nginx/conf.d/hackthissite.org.conf:36
nginx: configuration file /usr/local/etc/nginx/nginx.conf test failed
Environment:
# uname -a
FreeBSD waf 10.3-RELEASE FreeBSD 10.3-RELEASE #0 r297264: Fri Mar 25 02:10:02 UTC 2016 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
# ipcs -m
Shared Memory:
T ID KEY MODE OWNER GROUP
I'm having the same or similar issue as in #127 whenever trying to load rules files. Nginx 1.14.2, libmodsecurity v3.0.3, FreeBSD 10.3. The problem presents itself whenever trying to set anything for
SecAuditLog
(if I comment out all SecAudit* lines in modsecurity.conf, everything works), which presents the following error:Environment:
Originally posted by @Kage in https://github.com/SpiderLabs/ModSecurity-nginx/issues/127#issuecomment-485745457