lua-nginx-module icon indicating copy to clipboard operation
lua-nginx-module copied to clipboard

libluajit-5.1.so.2: undefined symbol: ngx_lua_ffi_disable_listening_unix_socket

Open p-thamke opened this issue 2 months ago • 2 comments

Not sure if this is the right channel to post this specific query. Please guide if it's not. We are facing following link error for upgrading kong to 3.9.1. libluajit-5.1.so.2: undefined symbol: ngx_lua_ffi_disable_listening_unix_socket We checked latest version of lua-nginx-module but this error symbol doesn't seem to be a part of it. We request opinion on which module and version this symbol may belong. Thanks.

Error: 2025/10/22 13:12:58 [notice] 524#0: getrlimit(RLIMIT_NOFILE): 1024:1024 2025/10/22 13:12:58 [notice] 529#0: start worker processes 2025/10/22 13:12:58 [notice] 529#0: start worker process 530 2025/10/22 13:12:58 [notice] 529#0: start worker process 531 2025/10/22 13:12:58 [error] 531#0: init_worker_by_lua error: ...uarocks/share/lua/5.1/resty/events/disable_listening.lua:18: /m nt/application_plugins/apim_gateway_x86_64/target/x86_64/x64-next/lib/libluajit-5.1.so.2: undefined symbol: ngx_lua_ffi_disable _listening_unix_socket stack traceback: [C]: in function '_index' ...uarocks/share/lua/5.1/resty/events/disable_listening.lua:18: in function 'disable_listening' ...eway_x86_64/luarocks/share/lua/5.1/resty/events/init.lua:119: in function 'init_worker' ...6_64/luarocks/share/lua/5.1/resty/events/compat/init.lua:31: in function 'configure' ...im_gateway_x86_64/luarocks/share/lua/5.1/kong/global.lua:217: in function 'init_worker_events' ...apim_gateway_x86_64/luarocks/share/lua/5.1/kong/init.lua:845: in function 'init_worker' init_worker_by_lua(nginx-kong.conf:51):2: in main chunk 2025/10/22 13:12:58 [info] 530#0: *1 [lua] init.lua:922: init_worker(): found persisted lmdb config, loading..., context: init worker_by_lua* 2025/10/22 13:12:58 [info] 530#0: 1 [kong] handler.lua:90 [acme] acme renew timer started on worker 0, context: init_worker_by _lua 2025/10/22 13:12:58 [error] 531#0: *648 lua entry thread aborted: runtime error: ...ay_x86_64/luarocks/share/lua/5.1/resty/even ts/broker.lua:117: attempt to index field '_clients' (a nil value) stack traceback: coroutine 0: ...ay_x86_64/luarocks/share/lua/5.1/resty/events/broker.lua: in function 'run' content_by_lua(nginx-kong.conf:443):2: in main chunk, client: unix:, server: kong_worker_events, request: "GET / HTTP/1 .1", host: "localhost" 2025/10/22 13:12:58 [error] 530#0: *645 send() failed (32: Broken pipe), context: ngx.timer 2025/10/22 13:12:58 [error] 530#0: *645 [lua] worker.lua:207: failed to send event: failed to send frame: broken pipe, context: ngx.timer root@b6e97c130497:/mnt/application_plugins/apim_gateway_x86_64#

p-thamke avatar Nov 06 '25 04:11 p-thamke

ngx_lua_ffi_disable_listening_unix_socket is a third party nginx module from kong's lua-resty-events.

zhuizhuhaomeng avatar Nov 06 '25 06:11 zhuizhuhaomeng

Thanks a lot @zhuizhuhaomeng.

p-thamke avatar Nov 06 '25 12:11 p-thamke