redis2-nginx-module
redis2-nginx-module copied to clipboard
Facing issue while integrating module
We are facing issue while installing Redis2 Module with Nginx 1.13.2 error as below :
Command : nginx –t
Output :
nginx: [emerg] module "/etc/nginx/modules/ngx_http_redis2_module.so" is not binary compatible in /etc/nginx/nginx.conf:2
nginx: configuration file /etc/nginx/nginx.conf test failed
Command : cat /etc/nginx/nginx.conf | head
Output :
load_module "modules/ngx_http_redis2_module.so";
#user nobody;
worker_processes 1;
#error_log logs/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;
#pid logs/nginx.pid;
This is the head content of the nginx.conf in which we have included the module.
It shows not compatible error
Nginx Version : 1.13.2
Please let us know is it compatible or not?
@vthorwat
Hello, this I think is not a bug in Openresty, it is because the sign of your ngx_http_redis2_module.so is not compatible with your Openresty.
You can:
- Compile your
ngx_http_redis2_module.sowith yourOpenrestyin same time. - Open the
--with-compatwhen you compile yourngx_http_redis2_module.so.
Just refer to https://github.com/leev/ngx_http_geoip2_module/issues/82 and https://www.nginx.com/blog/nginx-dynamic-modules-how-they-work/#compatibility.
In addition, welcome to official form https://forum.openresty.us/ to share and discuss.