tengine安装lua模块后报错,找不到文件。

问答中心分类: OneinStacktengine安装lua模块后报错,找不到文件。
iVampireSP asked 6 年 ago
我的环境是lnmpa
这是tengine reload/restart后的样子
nginx: the configuration file /usr/local/tengine/conf/nginx.conf syntax is ok
nginx: configuration file /usr/local/tengine/conf/nginx.conf test is successful
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 https://openresty.org/en/download.html (rc: 2, reason: module 'resty.core' not found:
no field package.preload['resty.core']
no file '/usr/local/tengine/conf/waf/resty/core.lua'
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')

2 Answers
oneinstack answered 5 年 ago
重启服务器是否正常?

iVampireSP answered 5 年 ago
重启服务器还是不行,所以我换成了tengine了。给您带来麻烦了,抱歉。