admin管理员组

文章数量:1025465

nginx: [error] OpenEvent(“Global\ngx_reload_5744”) failed (2: The system cannot find the file specif

今天配置Windows的nginx的时候在命令行使用nginx -s reload出现上述报错信息,原来是因为修改了本地的nginx.conf文件之后没有停止nginx进程,于是重新使用命令

nginx -s quit

先停止本地的nginx进程
然后再次启动

start nginx 

最后再次使用

nginx -s reload

重新加载配置信息就可以了

nginx: [error] OpenEvent(“Global\ngx_reload_5744”) failed (2: The system cannot find the file specif

今天配置Windows的nginx的时候在命令行使用nginx -s reload出现上述报错信息,原来是因为修改了本地的nginx.conf文件之后没有停止nginx进程,于是重新使用命令

nginx -s quit

先停止本地的nginx进程
然后再次启动

start nginx 

最后再次使用

nginx -s reload

重新加载配置信息就可以了

本文标签: 报错配置文件加载Windowsnginx