[Pkg-nginx-maintainers] Bug#984554: libnginx-mod-stream-geoip: ngx_stream_geoip_module.so: undefined symbol: ngx_stream_add_variable
Felix Lechner
felix.lechner at lease-up.com
Thu Mar 4 22:07:28 GMT 2021
Package: libnginx-mod-stream-geoip
Version: 1.18.0-6+b1
Severity: grave
Justification: dependent package 'nginx-full' crashes and does not install
Hi,
When dist-upgrading from buster to bullseye, I ended up with a broken
nginx-full ("nginx-full is broken or not fully installed") due to:
/usr/share/nginx/modules/ngx_stream_geoip_module.so: undefined
symbol: ngx_stream_add_variable
in /etc/nginx/modules-enabled/70-mod-stream-geoip.conf:1.
Both libnginx-mod-geoip and libnginx-mod-geop2 are installed. Also,
both are present in ./modules-enabled but not in ./modules-available.
(Does that look like another bug?) The error is otherwise a mystery to
me because I also updated a few other nginx installations without
incident.
I filed this bug as "release critical" after asking about the
appropriate level on OFTC:#debian-release.
As a side note, I saw Bug#953034 ("nginx: improve dependency of
dynamic modules") but on first glance that did not look related.
For more detailed messages from 'apt -t bullseye dist-upgrade', please
see below. Thank you!
Kind regards
Felix Lechner
* * *
dpkg: dependency problems prevent configuration of nginx:
nginx depends on nginx-core (<< 1.18.0-6.1~) | nginx-full (<<
1.18.0-6.1~) | nginx-light (<< 1.18.0-6.1~) | nginx-extras (<<
1.18.0-6.1~); however:
Package nginx-core is not configured yet.
Package nginx-full is not configured yet.
Package nginx-light is not installed.
Package nginx-extras is not installed.
nginx depends on nginx-core (>= 1.18.0-6) | nginx-full (>= 1.18.0-6)
| nginx-light (>= 1.18.0-6) | nginx-extras (>= 1.18.0-6); however:
Package nginx-core is not configured yet.
Package nginx-full is not configured yet.
Package nginx-light is not installed.
Package nginx-extras is not installed.
dpkg: error processing package nginx (--configure):
dependency problems - leaving unconfigured
Setting up node-resolve (1.19.0+~cs5.20.8-2) ...
Setting up node-ajv (6.12.6-2) ...
dpkg: dependency problems prevent configuration of python3-certbot-nginx:
python3-certbot-nginx depends on nginx; however:
Package nginx is not configured yet.
Package nginx-full which provides nginx is not configured yet.
Package nginx-core which provides nginx is not configured yet.
dpkg: error processing package python3-certbot-nginx (--configure):
dependency problems - leaving unconfigured
* * * [and later on] * * *
Errors were encountered while processing:
nginx-core
nginx-full
nginx
python3-certbot-nginx
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)
Setting up nginx-core (1.18.0-6+b1) ...
Job for nginx.service failed because the control process exited with error code.
See "systemctl status nginx.service" and "journalctl -xe" for details.
invoke-rc.d: initscript nginx, action "start" failed.
● nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled;
vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2021-03-03 16:25:35
PST; 36ms ago
Docs: man:nginx(8)
Process: 28896 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on;
master_process on; (code=exited, status=1/FAILURE)
CPU: 11ms
Mar 03 16:25:35 wallace-server.us-core.com systemd[1]: Starting A high
performance web server and a reverse proxy server...
Mar 03 16:25:35 wallace-server.us-core.com nginx[28896]: nginx:
[emerg] dlopen() "/usr/share/nginx/modules/ngx_stream_geoip_module.so"
failed (/usr/share/nginx/modules/ngx_stream_geoip_module.so: undefined
symbol: ngx_stream_add_variable) in
/etc/nginx/modules-enabled/70-mod-stream-geoip.conf:1
Mar 03 16:25:35 wallace-server.us-core.com nginx[28896]: nginx:
configuration file /etc/nginx/nginx.conf test failed
Mar 03 16:25:35 wallace-server.us-core.com systemd[1]: nginx.service:
Control process exited, code=exited, status=1/FAILURE
Mar 03 16:25:35 wallace-server.us-core.com systemd[1]: nginx.service:
Failed with result 'exit-code'.
Mar 03 16:25:35 wallace-server.us-core.com systemd[1]: Failed to start
A high performance web server and a reverse proxy server.
More information about the Pkg-nginx-maintainers
mailing list