openresty / openresty/lua-nginx-module
ngx_http_lua_module.so throws error
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 11.8k
- Forks
- 2.1k
- Avg merge
- 6h 1m
- Merged PRs (30d)
- 6
Description
Hi Team, we are getting below error on Nginx Prod server; We have disabled the ngx_http_lua_module.so for now and Nginx started working; Also let us know why this error started all of a sudden and how to fix it
“ 2021/05/27 06:34:02 [emerg] 42165#42165: dlopen() "/usr/share/nginx/modules/ngx_http_lua_module.so" failed (/usr/share/nginx/modules/ngx_http_lua_module.so: undefined symbol: ndk_set_var_value) in /usr/share/nginx/modules-available/mod-http-lua.conf:1”
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the error from /usr/share/nginx/modules/ngx_http_lua_module.so and the reference to modules-available/mod-http-lua.conf:1. Inspect how the shared module is loaded and which dependency provides ndk_set_var_value, then determine why the production load fails. Done means identifying a reproducible cause and documenting or validating a fix without disabling the Lua module.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- backend, infrastructure
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100