VPS侦探论坛

 找回密码
 注册
查看: 9410|回复: 4

我重启nginx出现的问题

[复制链接]
发表于 2011-2-26 02:31:25 | 显示全部楼层 |阅读模式

[root@linux ~]# /usr/local/nginx/sbin/nginx
[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
[emerg]: still could not bind()


这个问题谁遇到过啊?好郁闷的说。汗。请问如何解决呢?
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2011-2-26 02:32:52 | 显示全部楼层


[root@linux ~]# kill nginx
-bash: kill: nginx: arguments must be process or job IDs
  出现这个提示。难道是我没安装好的说?
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2011-2-26 02:36:21 | 显示全部楼层

[root@linux ~]# service nginx restart
nginx: unrecognized service

出现如下错误,请问到底是什么问题啊,军哥能帮忙看看吗?多谢了。
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2011-2-26 03:59:17 | 显示全部楼层



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

[root@linux ~]# /usr/local/nginx/sbin/nginx -t
[warn]: 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
[root@linux ~]# /usr/local/nginx/sbin/nginx -s reload
[warn]: conflicting server name "www.024.tw" on 0.0.0.0:80, ignored


难道是域名绑定错误?
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2011-2-26 09:03:52 | 显示全部楼层

回复 1# 的帖子


可能www.024.tw这个域名绑定了2次

军哥运维代购:http://shop63846532.taobao.com/

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-19 09:08 , Processed in 0.027023 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表