-
Notifications
You must be signed in to change notification settings - Fork 295
Nginx doesnt load. binary compatible #159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@sergiorla I ran into this problem as well. Take a look at #117 (comment) |
Closing this one based on the solution proposed by @ejhayes. Let us know if the bug persists and we'll look into it prior to the next release. |
I have same problem: nginx: [emerg] module "/usr/local/libexec/nginx/ngx_http_modsecurity_module.so" is not binary compatible in /usr/local/etc/nginx/nginx.conf:3 FreeBSD 11.3-RELEASE-p7 nginx -Vnginx version: nginx/1.18.0 if i set modsecurity option in nginx port parameters i got segfault: gdb nginx nginx.coreGNU gdb 6.1.1 [FreeBSD] If i choose modsecurity 2 port option i got : |
djkerya i have found the solution, in FreeBSD at least you only have to compile Nginx with modsecurity3 support, install modsecurity3 library and load usr/local/libexec/nginx/ngx_http_modsecurity_module.so; in Nginx configuration. Merge r532727 from www/nginx-devel: Convert the following third-party modules to dynamic: o) accept_language Fix the third-party auth_krb5 module build. Sponsored by: Netzkommune GmbH |
nginx: [emerg] module "/etc/nginx/modules/ngx_http_modsecurity_module.so" is not binary compatible in /etc/nginx/nginx.conf:8 downloaded the Nginx from the mainline, in oracle linux 7 and still getting the error . ### nginx -V Tried every solution, but still it's not getting resolved |
gs9622 the nginx connector is not required by new nginx versions, you have to compile Nginx with modsecurity3 support, install modsecurity3 library and load usr/local/libexec/nginx/ngx_http_modsecurity_module.so; in Nginx configuration. It is explained in that article: |
Hi im having an issue when trying to install NGINX ModSecurity Connector Dynamic Module.
I installed nginx 1.14.0 from apt-get, and it has been running for a couple of months now. Im following the instructions on https://www.nginx.com/blog/compiling-and-installing-modsecurity-for-open-source-nginx/#mainline
When loading Modsec i receive the following error.
nginx: [emerg] module "/etc/nginx/modules/ngx_http_modsecurity_module.so" is not binary compatible in /etc/nginx/nginx.conf:6
Thanks!
The text was updated successfully, but these errors were encountered: