chinahotels 发表于 2011-2-26 02:31:25

我重启nginx出现的问题

# /usr/local/nginx/sbin/nginx
: bind() to 0.0.0.0:80 failed (98: Address already in use)
: bind() to 0.0.0.0:80 failed (98: Address already in use)
: bind() to 0.0.0.0:80 failed (98: Address already in use)
: bind() to 0.0.0.0:80 failed (98: Address already in use)
: bind() to 0.0.0.0:80 failed (98: Address already in use)
: still could not bind()


这个问题谁遇到过啊?好郁闷的说。汗。请问如何解决呢?

chinahotels 发表于 2011-2-26 02:32:52

# kill nginx
-bash: kill: nginx: arguments must be process or job IDs
出现这个提示。难道是我没安装好的说?

chinahotels 发表于 2011-2-26 02:36:21

# service nginx restart
nginx: unrecognized service

出现如下错误,请问到底是什么问题啊,军哥能帮忙看看吗?多谢了。

chinahotels 发表于 2011-2-26 03:59:17

重新安装了0.5的,nginx倒是可以重启了,但是问题确出现了这样的了。

# /usr/local/nginx/sbin/nginx -t
: conflicting server name "www.024.tw" on 0.0.0.0:80, ignored
the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
configuration file /usr/local/nginx/conf/nginx.conf test is successful
# /usr/local/nginx/sbin/nginx -s reload
: conflicting server name "www.024.tw" on 0.0.0.0:80, ignored


难道是域名绑定错误?

licess 发表于 2011-2-26 09:03:52

回复 1# 的帖子

可能www.024.tw这个域名绑定了2次
页: [1]
查看完整版本: 我重启nginx出现的问题