Welcome! Log In Create A New Profile

Advanced

nginx application error 0xC0000142 on Windows shutdown

Posted by papertape 
nginx application error 0xC0000142 on Windows shutdown
March 02, 2016 07:16AM
On Windows shutdown or restart this error occurs:
==========================================
nginx.exe - Application Error

The application was unable to start correctly (0xc0000142).
Click OK to close the application
==========================================

The attached error log contains:
worker process 760 exited with code C0000142

nginx version:
C:\Users\Tom\Projects\local-manager-v4\nginx-server\708\nginx>nginx -v
nginx version: nginx/1.9.1.1 Lizard
nginx origin: http://nginx-win.ecsds.eu/ Build May 1, 2015

It would be good to prevent this error message as it alarms our users.
Attachments:
open | download - error.log (4.5 KB)
open | download - nginx.conf (1.8 KB)
Re: nginx application error 0xC0000142 on Windows shutdown
March 02, 2016 03:18PM
You should use the Install_nginx_php_services.zip tools.

---
nginx for Windows http://nginx-win.ecsds.eu/
Re: nginx application error 0xC0000142 on Windows shutdown
May 11, 2016 08:57AM
OK - the link appears to be http://nginx-win.ecsds.eu/download/

From Readme first.txt

Version 23:13 15-3-2015 (1.3b) In some cases the nginx processes won't stop normally
when it's service is stopped, it is adviced to add this line:
TASKKILL /F /IM "nginx*"
at the end of your 'ngx_stop.cmd' file
script adjusted

This looks promising, even though 'ngx_stop.cmd' does not appear to be in the download.

FYI: nginx is installed as part of our application's automated installer, which uses InstallShield technology.

Thanks.



Edited 1 time(s). Last edit at 05/11/2016 09:00AM by papertape.
Re: nginx application error 0xC0000142 on Windows shutdown
May 11, 2016 09:45AM
papertape Wrote:
-------------------------------------------------------
> when it's service is stopped, it is adviced to add this line:
> TASKKILL /F /IM "nginx*"
>
> This looks promising, even though 'ngx_stop.cmd' does not appear to be
> in the download.
>
> FYI: nginx is installed as part of our application's automated
> installer, which uses InstallShield technology.

Look in to the Install_nginx_php_services.zip tools on site.

---
nginx for Windows http://nginx-win.ecsds.eu/
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 168
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready