centos6 ngx_openresty-1.9.3.2源码安装升级到openresty-1.17.8.1
启动nginx时报错如下:
[xxx@centos6 openresty-1.17.8.1]$ /app/nginx/sbin/nginx
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: module 'resty.core' not found:
no field package.preload['resty.core']
no file '/app/nginx/conf/waf/resty/core.lua'
no file '/app/openresty-1.17.8.1/site/lualib/resty/core.so'
no file '/app/openresty-1.17.8.1/lualib/resty/core.so'
no file './resty/core.so'
no file '/usr/local/lib/lua/5.1/resty/core.so'
no file '/app/openresty-1.17.8.1/luajit/lib/lua/5.1/resty/core.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
no file '/app/openresty-1.17.8.1/site/lualib/resty.so'
no file '/app/openresty-1.17.8.1/lualib/resty.so'
no file './resty.so'
no file '/usr/local/lib/lua/5.1/resty.so'
no file '/app/openresty-1.17.8.1/luajit/lib/lua/5.1/resty.so'
no file '/usr/local/lib/lua/5.1/loadall.so') in /app/openresty-1.17.8.1/nginx/conf/nginx.conf:38