Welcome! Log In Create A New Profile

Advanced

Re: nginx-1.11.3

Maxim Dounin
July 26, 2016 02:56PM
Hello!

On Tue, Jul 26, 2016 at 02:38:19PM -0400, George wrote:

> trying to enable ngx_stream_geoip_module as a dynamic module and getting
> this error ONLY on SOME servers and not others all compiled with same
> settings ?
>
> nginx -t
> nginx: [emerg] dlopen()
> "/usr/local/nginx/modules/ngx_stream_geoip_module.so" failed
> (/usr/local/nginx/modules/ngx_stream_geoip_module.so: undefined symbol:
> ngx_stream_add_variable) in /usr/local/nginx/conf/dynamic-modules.conf:3
> nginx: configuration file /usr/local/nginx/conf/nginx.conf test failed
>
> /usr/local/nginx/conf/dynamic-modules.conf include file in nginx.conf
>
> load_module "modules/ngx_http_image_filter_module.so";
> load_module "modules/ngx_http_fancyindex_module.so";
> load_module "modules/ngx_stream_geoip_module.so";
> load_module "modules/ngx_http_geoip_module.so";
> load_module "modules/ngx_stream_module.so";

You have to load stream geoip module after the stream module is
loaded. That is, change the order of lines:

load_module "modules/ngx_stream_module.so";
load_module "modules/ngx_stream_geoip_module.so";

--
Maxim Dounin
http://nginx.org/

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

nginx-1.11.3

Maxim Dounin July 26, 2016 10:12AM

Re: [nginx-announce] nginx-1.11.3

Kevin Worthington July 26, 2016 11:18AM

Re: [nginx-announce] nginx-1.11.3

Valentin V. Bartenev July 26, 2016 12:18PM

Re: [nginx-announce] nginx-1.11.3

Kevin Worthington July 26, 2016 12:48PM

Re: [nginx-announce] nginx-1.11.3

Maxim Konovalov July 26, 2016 01:16PM

Re: [nginx-announce] nginx-1.11.3

Kevin Worthington July 26, 2016 11:14AM

Re: nginx-1.11.3

George July 26, 2016 02:38PM

Re: nginx-1.11.3

Maxim Dounin July 26, 2016 02:56PM

Re: nginx-1.11.3

George July 26, 2016 03:06PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 287
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready