<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:΢ÈíÑźÚ
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hello,<BR>
<BR>
> > Here is an error occurred if I run "nginx -t" in Windows CLI when the<BR>> > nginx server is in running,<BR>> > <BR>> > The tips always is the same: "Assertion failed:<BR>> > ngx_shared_sockets->pid==pid, file src/core/nginx.c, line 374"<BR>> <BR>> This is because you are running nginx.exe as a different user then nginx.exe<BR>> is running under, its the same issue when you run 'nginx -s reload' while<BR>> nginx is running as a service (which is a different user) see the FAQ on the<BR>> project website which describes a workaround to this problem.<BR>> <BR>> If you need to test a config on the same machine then make a copy of the<BR>> environment in some other folder so that the PID file does not conflict with<BR>> the running version. Or stop nginx, run your test and start nginx.<BR>> <BR>
<BR>
I think it is not true.<BR>
<BR>
I can run nginx -s reload and all other -s command on this situation.<BR>
And the Windows version from nginx.org can run nginx -t without problem.<BR>
Please kindly look further for the reason. Thank you.<BR>
<BR>
<BR>> > And please try to compile a version with this module:<BR>> > http://wiki.nginx.org/HttpSubsModule, and with the options<BR>> <BR>> I will have a look at<BR>> https://github.com/yaoweibin/ngx_http_substitutions_filter_module<BR>> <BR>
<BR>
Thank you.<BR>
<BR>> > "--without-mail_pop3_module --without-mail_imap_module<BR>> > --without-mail_smtp_module" if possible, thank you.<BR>> <BR>> I'm not going to remove modules unless they are bugged beyond repair.<BR>> <BR>> Adding/removing modules on the fly is on the long term feature list<BR>> <BR>> Posted at Nginx Forum: <A href="http://forum.nginx.org/read.php?2,245105,245161#msg-245161">http://forum.nginx.org/read.php?2,245105,245161#msg-245161</A><BR> </div></body>
</html>