首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 操作系统 > UNIXLINUX >

nginx出有关问题鸟!

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

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的设置

热点排行