1.10.1-3+trusty2 - unknown directive "geoip_city"

Bug #1639991 reported by James Thompson on 2016-11-08
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Nginx
Undecided
Unassigned

Bug Description

geoip breaks after migrating from 1.10.1-0+trusty0 to 1.10.1-3+trusty2

Installing a new box with latest nginx-extras and it's unable to parse config file that is working on 1.10.1-0+trusty0.

2016/11/08 00:46:46 [emerg] 31812#31812: unknown directive "geoip_city" in /etc/nginx/nginx.conf:94

It appears the package layout is quite a bit different....

1.10.1-0+trusty0 ========================

$ dpkg --list | grep nginx
ii nginx 1.10.1-0+trusty0 all small, powerful, scalable web/proxy server
ii nginx-common 1.10.1-0+trusty0 all small, powerful, scalable web/proxy server - common files
ii nginx-extras 1.10.1-0+trusty0 amd64 nginx web/proxy server (extended version)

$ nginx -V
nginx version: nginx/1.10.1
built with OpenSSL 1.0.1f 6 Jan 2014
TLS SNI support enabled
configure arguments: --with-cc-opt='-g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2' --with-ld-opt='-Wl,-Bsymbolic-functions -fPIE -pie -Wl,-z,relro -Wl,-z,now' --prefix=/usr/share/nginx --conf-path=/etc/nginx/nginx.conf --http-log-path=/var/log/nginx/access.log --error-log-path=/var/log/nginx/error.log --lock-path=/var/lock/nginx.lock --pid-path=/run/nginx.pid --http-client-body-temp-path=/var/lib/nginx/body --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --http-proxy-temp-path=/var/lib/nginx/proxy --http-scgi-temp-path=/var/lib/nginx/scgi --http-uwsgi-temp-path=/var/lib/nginx/uwsgi --with-debug --with-pcre-jit --with-ipv6 --with-http_ssl_module --with-http_stub_status_module --with-http_realip_module --with-http_auth_request_module --with-http_addition_module --with-http_dav_module --with-http_flv_module --with-http_geoip_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_image_filter_module --with-http_mp4_module --with-http_perl_module --with-http_random_index_module --with-http_secure_link_module --with-http_v2_module --with-http_sub_module --with-http_xslt_module --with-mail --with-mail_ssl_module --with-stream --with-stream_ssl_module --with-threads --add-module=/build/nginx-abUnII/nginx-1.10.1/debian/modules/headers-more-nginx-module --add-module=/build/nginx-abUnII/nginx-1.10.1/debian/modules/nginx-auth-pam --add-module=/build/nginx-abUnII/nginx-1.10.1/debian/modules/nginx-cache-purge --add-module=/build/nginx-abUnII/nginx-1.10.1/debian/modules/nginx-dav-ext-module --add-module=/build/nginx-abUnII/nginx-1.10.1/debian/modules/nginx-development-kit --add-module=/build/nginx-abUnII/nginx-1.10.1/debian/modules/nginx-echo --add-module=/build/nginx-abUnII/nginx-1.10.1/debian/modules/ngx-fancyindex --add-module=/build/nginx-abUnII/nginx-1.10.1/debian/modules/nginx-http-push --add-module=/build/nginx-abUnII/nginx-1.10.1/debian/modules/nginx-lua --add-module=/build/nginx-abUnII/nginx-1.10.1/debian/modules/nginx-upload-progress --add-module=/build/nginx-abUnII/nginx-1.10.1/debian/modules/nginx-upstream-fair --add-module=/build/nginx-abUnII/nginx-1.10.1/debian/modules/ngx_http_substitutions_filter_module

1.10.1-3+trusty2 ========================

$ dpkg --list | grep -i nginx
ii libnginx-mod-http-auth-pam 1.10.1-3+trusty2 amd64 PAM authentication module for Nginx
ii libnginx-mod-http-cache-purge 1.10.1-3+trusty2 amd64 Purge content from Nginx caches
ii libnginx-mod-http-echo 1.10.1-3+trusty2 amd64 Bring echo and more shell style goodies to Nginx
ii libnginx-mod-http-fancyindex 1.10.1-3+trusty2 amd64 Fancy indexes module for the Nginx
ii libnginx-mod-http-geoip 1.10.1-3+trusty2 amd64 GeoIP HTTP module for Nginx
ii libnginx-mod-http-headers-more-filter 1.10.1-3+trusty2 amd64 Set and clear input and output headers for Nginx
ii libnginx-mod-http-image-filter 1.10.1-3+trusty2 amd64 HTTP image filter module for Nginx
ii libnginx-mod-http-lua 1.10.1-3+trusty2 amd64 LUA module for Nginx
ii libnginx-mod-http-ndk 1.10.1-3+trusty2 amd64 Nginx Development Kit module
ii libnginx-mod-http-perl 1.10.1-3+trusty2 amd64 Perl module for Nginx
ii libnginx-mod-http-subs-filter 1.10.1-3+trusty2 amd64 Substitution filter module for Nginx
ii libnginx-mod-http-uploadprogress 1.10.1-3+trusty2 amd64 Upload progress system for Nginx
ii libnginx-mod-http-upstream-fair 1.10.1-3+trusty2 amd64 Nginx Upstream Fair Proxy Load Balancer
ii libnginx-mod-http-xslt-filter 1.10.1-3+trusty2 amd64 XSLT Transformation module for Nginx
ii libnginx-mod-mail 1.10.1-3+trusty2 amd64 Mail module for Nginx
ii libnginx-mod-nchan 1.10.1-3+trusty2 amd64 Fast, flexible pub/sub server for Nginx
ii libnginx-mod-stream 1.10.1-3+trusty2 amd64 Stream module for Nginx
ii nginx 1.10.1-3+trusty2 all small, powerful, scalable web/proxy server
ii nginx-common 1.10.1-3+trusty2 all small, powerful, scalable web/proxy server - common files
ii nginx-extras 1.10.1-3+trusty2 amd64 nginx web/proxy server (extended version)

$ nginx -V
nginx version: nginx/1.10.1
built with OpenSSL 1.0.1f 6 Jan 2014
TLS SNI support enabled
configure arguments: --with-cc-opt='-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2' --with-ld-opt='-Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now' --prefix=/usr/share/nginx --conf-path=/etc/nginx/nginx.conf --http-log-path=/var/log/nginx/access.log --error-log-path=/var/log/nginx/error.log --lock-path=/var/lock/nginx.lock --pid-path=/run/nginx.pid --modules-path=/usr/lib/nginx/modules --http-client-body-temp-path=/var/lib/nginx/body --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --http-proxy-temp-path=/var/lib/nginx/proxy --http-scgi-temp-path=/var/lib/nginx/scgi --http-uwsgi-temp-path=/var/lib/nginx/uwsgi --with-debug --with-pcre-jit --with-ipv6 --with-http_ssl_module --with-http_stub_status_module --with-http_realip_module --with-http_auth_request_module --with-http_v2_module --with-http_dav_module --with-http_slice_module --with-threads --with-http_addition_module --with-http_flv_module --with-http_geoip_module=dynamic --with-http_gunzip_module --with-http_gzip_static_module --with-http_image_filter_module=dynamic --with-http_mp4_module --with-http_perl_module=dynamic --with-http_random_index_module --with-http_secure_link_module --with-http_sub_module --with-http_xslt_module=dynamic --with-mail=dynamic --with-mail_ssl_module --with-stream=dynamic --with-stream_ssl_module --add-dynamic-module=/build/nginx-JCHwcf/nginx-1.10.1/debian/modules/headers-more-nginx-module --add-dynamic-module=/build/nginx-JCHwcf/nginx-1.10.1/debian/modules/nginx-auth-pam --add-dynamic-module=/build/nginx-JCHwcf/nginx-1.10.1/debian/modules/nginx-cache-purge --add-module=/build/nginx-JCHwcf/nginx-1.10.1/debian/modules/nginx-dav-ext-module --add-dynamic-module=/build/nginx-JCHwcf/nginx-1.10.1/debian/modules/nginx-development-kit --add-dynamic-module=/build/nginx-JCHwcf/nginx-1.10.1/debian/modules/nginx-echo --add-dynamic-module=/build/nginx-JCHwcf/nginx-1.10.1/debian/modules/ngx-fancyindex --add-dynamic-module=/build/nginx-JCHwcf/nginx-1.10.1/debian/modules/nchan --add-dynamic-module=/build/nginx-JCHwcf/nginx-1.10.1/debian/modules/nginx-lua --add-dynamic-module=/build/nginx-JCHwcf/nginx-1.10.1/debian/modules/nginx-upload-progress --add-dynamic-module=/build/nginx-JCHwcf/nginx-1.10.1/debian/modules/nginx-upstream-fair --add-dynamic-module=/build/nginx-JCHwcf/nginx-1.10.1/debian/modules/ngx_http_substitutions_filter_module

Ron Gutierrez (rgutie01) wrote :

Any updates regarding this issue???

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers