taotao 发表于 2023-8-6 21:27:18

启动nginx报错



启动nginx报错,nginx无法启动,启动nginx报错,nginx无法启动

nginx: 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: 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') in /www/server/nginx/conf/nginx.conf:96

96211 发表于 2023-8-7 10:17:46

本帖最后由 96211 于 2023-8-7 23:19 编辑

宝塔官网给出解决办法了,我也反馈了,坐等那么修复,现在你先用这个官方宝塔给的临时方案:https://www.bt.cn/bbs/thread-117753-1-1.html

96211 发表于 2023-8-7 23:20:02

我试过了,可行,就是有那么一丢丢不方便,要手动一下
页: [1]
查看完整版本: 启动nginx报错