lnmp beta 1.6升级nginx1.16.0重启文件不存在
centos 7.3lnmp beta 1.6,安装完成后升级nginx到1.16.0
执行lnmp nginx restart结果如下,经百度后未发现相关文档
# lnmp nginx restart
+-------------------------------------------+
| Manager for LNMP, Written by Licess |
+-------------------------------------------+
| https://lnmp.org |
+-------------------------------------------+
Stoping nginx...done
Starting nginx... nginx: 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 './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')
done
#
修改安装包下 include/version.sh将 lua-nginx-module-0.10.15 改成 lua-nginx-module-0.10.14 保存,再重新升级一下。
或修改nginx.conf 在http段中添加一行 lua_load_resty_core off; 保存,重启nginx
licess 发表于 2019-5-5 09:18
修改安装包下 include/version.sh将 lua-nginx-module-0.10.15 改成 lua-nginx-module-0.10.14 保存,再 ...
好的,谢谢
页:
[1]