openresty / openresty/lua-nginx-module

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

Open
#2,465 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
11.8k
Forks
2.1k
Avg merge
6h 1m
Merged PRs (30d)
6

Description

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#

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with resty/events/disable_listening.lua:18 and trace the ngx_lua_ffi_disable_listening_unix_socket reference into the built libluajit-5.1.so.2 and lua-nginx-module versions. Reproduce the Kong 3.9.1 startup error and identify the module and version combination that provides the missing symbol.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.