Skip to content
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

Facing issue while integrating module #62

Open
vthorwat opened this issue Apr 8, 2020 · 1 comment
Open

Facing issue while integrating module #62

vthorwat opened this issue Apr 8, 2020 · 1 comment

Comments

@vthorwat
Copy link

vthorwat commented Apr 8, 2020

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?

@rainingmaster
Copy link
Member

rainingmaster commented Apr 9, 2020

@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:

  1. Compile your ngx_http_redis2_module.so with your Openresty in same time.
  2. Open the --with-compat when you compile your ngx_http_redis2_module.so.

Just refer to leev/ngx_http_geoip2_module#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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants