Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error loading ngx.dynamic_upstream: module 'ngx.dynamic_upstream' not found #3

Open
jaimedelano opened this issue Oct 17, 2023 · 0 comments

Comments

@jaimedelano
Copy link

jaimedelano commented Oct 17, 2023

Compilation was successfull but I got error trying to load dynamic_upstream:

2023/10/17 11:46:37 [error] 351766#351766: *2 lua entry thread aborted: runtime error: preread_by_lua(nginx.conf:134):3: module 'ngx.dynamic_upstream' not found:
no field package.preload['ngx.dynamic_upstream']
no file '/opt/nginx/lib/lua/ngx/dynamic_upstream.lua'
no file '../lua-resty-core/lib/ngx/dynamic_upstream.lua'
no file '../lua-resty-lrucache/lib/ngx/dynamic_upstream.lua'
no file './ngx/dynamic_upstream.lua'
no file '/usr/local/share/luajit-2.1/ngx/dynamic_upstream.lua'
no file '/usr/local/share/lua/5.1/ngx/dynamic_upstream.lua'
no file '/usr/local/share/lua/5.1/ngx/dynamic_upstream/init.lua'
no file './ngx/dynamic_upstream.so'
no file '/usr/local/lib/lua/5.1/ngx/dynamic_upstream.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
no file './ngx.so'
no file '/usr/local/lib/lua/5.1/ngx.so'
no file '/usr/local/lib/lua/5.1/loadall.so'

File dynamic_upstream.lua has not been created. I could not find it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant