Loading
0

nginx 无法启动 错误提示nginx: [emerg] zero size shared memory zone "allips" 处理方法
被墙跳转TG:@qianhenetwork QQ 851617266

301免备案跳转微信公众号
腾讯云服务器大促销。
华为服务器
前言:启动nginx服务报:Restarting nginxd (via systemctl):  Job for nginxd.service failed because the control process exited with error code. See "systemctl status nginxd.service" and "journalctl -xe" for details. ,直接使用services nginxd status 查看报如图错误,


 

[root@ebs-52272 vhost]# service nginxd status
● nginxd.service - SYSV: Nginx is an HTTP(S) server, HTTP(S) reverse proxy and IMAP/POP3 proxy server
   Loaded: loaded (/etc/rc.d/init.d/nginxd; bad; vendor preset: disabled)
   Active: failed (Result: exit-code) since Mon 2019-09-09 17:07:41 CST; 1min 34s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 3548 ExecStart=/etc/rc.d/init.d/nginxd start (code=exited, status=1/FAILURE)
Sep 09 17:07:41 ebs-52272 systemd[1]: Starting SYSV: Nginx is an HTTP(S) server, HTTP(S) reverse proxy a...er...
Sep 09 17:07:41 ebs-52272 nginxd[3548]: Starting nginx: nginx: [emerg] zero size shared memory zone "allips"
Sep 09 17:07:41 ebs-52272 nginxd[3548]: [FAILED]
Sep 09 17:07:41 ebs-52272 systemd[1]: nginxd.service: control process exited, code=exited status=1
Sep 09 17:07:41 ebs-52272 systemd[1]: Failed to start SYSV: Nginx is an HTTP(S) server, HTTP(S) reverse ...rver.
Sep 09 17:07:41 ebs-52272 systemd[1]: Unit nginxd.service entered failed state.
Sep 09 17:07:41 ebs-52272 systemd[1]: nginxd.service failed.
Hint: Some lines were ellipsized, use -l to show in full.


我们排查发现站点配置文件中有添加limit_req参数,将该行注释后重启nginx正常,


本文章由301免备案跳转博客原创,转载请注明出处:https://www.zfcdn.xyz/showinfo-7-35761-0.html 否则将追究法律责任。


 
301免备案跳转微信公众号
华为服务器
腾讯云服务器大促销。

声明:站长码字很辛苦啊,转载时请保留本声明及附带文章链接:https://www.zfcdn.xyz/showinfo-7-35761-0.html
亲爱的:被墙域名跳转TG:@qianhenetwork QQ:851617266,可否收藏+评论+分享呢?

最后编辑于:2019-09-09 17:54:06作者:

上一篇:nginx 屏蔽UA爬虫蜘蛛、禁止执行脚本、屏蔽ip
下一篇:nginx判断ip进行跳转到指定地址方法