Score:0

Errors while starting Nginx server after the successfull compilation of Lua modules

na flag

I have compiled my Nginx package using lua module. Though the compilation was successful but I am getting the below error while starting the nginx server :

nginx: [warn] lua_load_resty_core is deprecated (the lua-resty-core library is required since ngx_lua v0.10.16) in /app/middleware/nginx/conf/nginx.conf:24
nginx: [alert] detected a LuaJIT version which is not OpenResty's; many optimizations will be disabled 
and performance will be compromised (see https://github.com/openresty/luajit2 for OpenResty's LuaJIT or, even better, 
consider using the OpenResty releases from https://openresty.org/en/download.html)
nginx: [alert] failed to load the 'resty.core' module (https://github.com/openresty/lua-resty-core); 
ensure you are using an OpenResty release from https://openresty.org/en/download.html (reason: /app/middleware/lua-resty-core/lib/lua/resty/core.lua:6: 
loop or previous error loading module 'resty.core.var') in /app/middleware/nginx/conf/nginx.conf:704

solution from google for above error:

Currently My nginx version is 1.20.2 .Kindly assist since we have a requirement to log response body in nginx access.log .

Regards, Raghu

in flag
Did you read these messages? They explain pretty thoroughly what needs to be done.
RAGHU.K.J Ram avatar
na flag
I have read the messages thoroughly and didn't find a solution to fix the error. Hence I have posted in this forum.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.