Restarting nginx daemon:nginx not running[emerg]: zero size shared memory zone "one"

分类:软件问题| 发布:佚名| 查看: | 发表时间:2014/1/7

nginx出问题鸟!急
修改了nginx配置文件nginx.conf
然后重启nginx
[root@localhost ~]# /etc/init.d/nginx restart

Restarting nginx daemon: nginxcat: /usr/local/nginx/logs/nginx.pid: No such file or directory
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
nginx not running[emerg]: zero size shared memory zone "one"
nginx already running.
出现这么的问题
然后我又试试这样
[root@localhost ~]# /usr/local/nginx/sbin/nginx -s reload
结果出现这样的问题
[error]: open() "/usr/local/nginx/logs/nginx.pid" failed (2: No such file or directory)
然后我又试试这样
[root@localhost ~]# nginx -t -c /usr/local/nginx/conf/nginx.conf
然后又出现这样的问题
-bash: nginx: command not found
最后我又这样
[root@localhost ~]# /etc/init.d/nginx start
···的问题
Starting nginx daemon: nginx[emerg]: zero size shared memory zone "one"
nginx already running.

不知道该怎么办了



------解决方案--------------------
/usr/local/nginx/logs/nginx.pid: No such file or directory

提示你的nginx pid有问题,检查nginx.conf中关于pid的设置

365据说看到好文章不转的人,服务器容易宕机
原创文章如转载,请注明:转载自郑州网建-前端开发 http://camnpr.com/
本文链接:http://camnpr.com/software-wiki/829.html