Welcome! Log In Create A New Profile

Advanced

Re: RE: [ANN] Windows nginx 1.5.8.1 Caterpillar

December 03, 2013 08:18AM
> Here is an error occurred if I run "nginx -t" in Windows CLI when the
> nginx server is in running,
>
> The tips always is the same: "Assertion failed:
> ngx_shared_sockets->pid==pid, file src/core/nginx.c, line 374"

This is because you are running nginx.exe as a different user then nginx.exe is running under, its the same issue when you run 'nginx -s reload' while nginx is running as a service (which is a different user) see the FAQ on the project website which describes a workaround to this problem.

If you need to test a config on the same machine then make a copy of the environment in some other folder so that the PID file does not conflict with the running version. Or stop nginx, run your test and start nginx.

> And please try to compile a version with this module:
> http://wiki.nginx.org/HttpSubsModule, and with the options

I will have a look at https://github.com/yaoweibin/ngx_http_substitutions_filter_module

> "--without-mail_pop3_module --without-mail_imap_module
> --without-mail_smtp_module" if possible, thank you.

I'm not going to remove modules unless they are bugged beyond repair.

Adding/removing modules on the fly is on the long term feature list
Subject Author Posted

[ANN] Windows nginx 1.5.8.1 Caterpillar

itpp2012 November 30, 2013 04:58PM

RE: [ANN] Windows nginx 1.5.8.1 Caterpillar

郭振立 December 03, 2013 06:34AM

Re: RE: [ANN] Windows nginx 1.5.8.1 Caterpillar

itpp2012 December 03, 2013 08:18AM

Re: RE: [ANN] Windows nginx 1.5.8.1 Caterpillar

itpp2012 December 03, 2013 04:48PM

RE: [ANN] Windows nginx 1.5.8.1 Caterpillar

郭振立 December 03, 2013 11:20PM

Re: RE: [ANN] Windows nginx 1.5.8.1 Caterpillar

itpp2012 December 04, 2013 01:49PM

RE: [ANN] Windows nginx 1.5.8.1 Caterpillar

郭振立 December 06, 2013 12:20PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 255
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready