nginx: [error] OpenEvent("Global\ngx_reload_5744") failed (2: The system cannot find the file spe...

nginx -s reload
nginx: [error] OpenEvent("Global\ngx_reload_5744") failed (2: The system cannot find the file specified)

左看右看,也猜不透哪里的问题导致报错,网上搜了一下,都说是nginx没有启动,什么鬼?

平时在linux下启动nginx,常用命令nginx -s reload,可是今天我用这个命令在windows下启动nginx,竟然报错了!
于是,我采用另一种方式,首先使用命令:nginx -s quit,关闭nginx,在使用命令:start nginx来启动nginx,发现没有了刚才的报错.

你可能感兴趣的:(nginx: [error] OpenEvent("Global\ngx_reload_5744") failed (2: The system cannot find the file spe...)