nginx报错 [error] open() “/usr/local/var/run/openresty.pid” failed (2: No such file or directory)

  1. 解决: 服务没有启动 使用start启动服务,因为没有start而直接使用stop或者reload报错这个问题;
  2. 如果方法一没有解决,使用方法二:-C 指定配置文件nginx.conf或者weblua.conf
posted @ 2017-06-15 15:32  六石  阅读(4314)  评论(0编辑  收藏  举报