VPS侦探论坛

 找回密码
 注册
查看: 3848|回复: 2

lnmp beta 1.6升级nginx1.16.0重启文件不存在

[复制链接]
发表于 2019-5-4 19:57:14 | 显示全部楼层 |阅读模式

centos 7.3
lnmp beta 1.6,安装完成后升级nginx到1.16.0
执行lnmp nginx restart结果如下,经百度后未发现相关文档
  1. [root@iZwz9avyv2945ilt432lffZ wwwroot]# lnmp nginx restart
  2. +-------------------------------------------+
  3. |    Manager for LNMP, Written by Licess    |
  4. +-------------------------------------------+
  5. |              https://lnmp.org             |
  6. +-------------------------------------------+
  7. Stoping nginx...  done
  8. Starting nginx... 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:
  9.         no field package.preload['resty.core']
  10.         no file './resty/core.lua'
  11.         no file '/usr/local/share/luajit-2.1.0-beta3/resty/core.lua'
  12.         no file '/usr/local/share/lua/5.1/resty/core.lua'
  13.         no file '/usr/local/share/lua/5.1/resty/core/init.lua'
  14.         no file './resty/core.so'
  15.         no file '/usr/local/lib/lua/5.1/resty/core.so'
  16.         no file '/usr/local/lib/lua/5.1/loadall.so'
  17.         no file './resty.so'
  18.         no file '/usr/local/lib/lua/5.1/resty.so'
  19.         no file '/usr/local/lib/lua/5.1/loadall.so')
  20. done
  21. [root@iZwz9avyv2945ilt432lffZ wwwroot]#
复制代码


美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2019-5-5 09:18:53 | 显示全部楼层


修改安装包下 include/version.sh  将 lua-nginx-module-0.10.15 改成 lua-nginx-module-0.10.14 保存,再重新升级一下。
或修改nginx.conf 在http段中添加一行 lua_load_resty_core off; 保存,重启nginx

Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2019-5-11 12:57:11 | 显示全部楼层

licess 发表于 2019-5-5 09:18
修改安装包下 include/version.sh  将 lua-nginx-module-0.10.15 改成 lua-nginx-module-0.10.14 保存,再 ...

好的,谢谢
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-10-18 12:09 , Processed in 0.026029 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表