开发者社区 > 云原生 > 中间件 > 正文

咨询一个问题, 升级到trengine3.0.0 版本 后 lua 报错, nginx: [err

咨询一个问题, 升级到trengine3.0.0 版本 后 lua 报错,
nginx: [error] lua_load_resty_core failed to load the resty.core module from https://github.com/openresty/lua-resty-core; ensure you are using an OpenResty release from OpenResty - Download (rc: 2, reason: module 'resty.core' not found:
no field package.preload['resty.core']
no file './resty/core.lua'
no file '/usr/local/share/luajit-2.1.0-beta3/resty/core.lua'
no file '/usr/local/share/lua/5.1/resty/core.lua'
no file '/usr/local/share/lua/5.1/resty/core/init.lua'
no file './resty/core.so'
no file '/usr/local/lib/lua/5.1/resty/core.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
no file './resty.so'
no file '/usr/local/lib/lua/5.1/resty.so'
no file '/usr/local/lib/lua/5.1/loadall.so')

已经增加了ngx_devel_kit 、ua-nginx-module 、lua-resty-core、 lua-resty-lrucache

安装路径是: /usr/local

展开
收起
云原生那些事 2023-10-15 17:51:08 148 0
0 条回答
写回答
取消 提交回答
问答分类:
问答地址:

为企业提供高效、稳定、易扩展的中间件产品。

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载