openresty / openresty/lua-nginx-module

ngx_http_lua_module.so throws error

Open
#1,885 1 comment 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

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

  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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.