Nginx报错:nginx: [error] OpenEvent(“Globalngx_reload_19792”) failed (2: The system cannot find the file specified)
执行nginx -s reload
命令后报错:
Microsoft Windows [版本 10.0.19045.3086]
(c) Microsoft Corporation。保留所有权利。
E:nginx-1.23.4>nginx.exe -s reload
nginx: [error] OpenEvent("Globalngx_reload_13480") failed (2: The system cannot find the file specified)
E:nginx-1.23.4>start nginx
E:nginx-1.23.4>nginx.exe -s reload
E:nginx-1.23.4>
背景
重新载入修改后的 Nginx 配置
错误原因:
Nginx 未启动
解决办法:
启动 Nginx,启动命令:start nginx
,启动 Nginx。