系统环境

  • 系统版本:22.04.3 LTS (Jammy Jellyfish)
  • 内核版本:5.15.0-91-generic #101-Ubuntu SMP Tue Nov 14 13:30:08 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
  • tengine 版本:3.1.0

问题描述

采用源码编译安装 Tengine 3.1.0(具体安装方法参考:Tengine 系列001:源码编译安装 tengine-3.0.0, 由于编译添加了 Lua 功能,所以在启动 Tengine 时报如下错误:

1
2
root@vm181-ubuntu22:/usr/local/src/tengine-3.0.0# cat /usr/local/nginx/logs/error.log
2023/12/26 12:23:24 [alert] 202201#202201: 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: /usr/local/LuaJIT2/share/lua/5.1/resty/core/base.lua:23: ngx_http_lua_module 0.10.22 required) in /usr/local/nginx/conf/nginx.conf:139

解决方法

暂未解决!