安装乘客后Nginx重启命令失败

我刚刚在我的Ubuntu(8.04)盒子上为Nginx安装了乘客.现在“sudo /etc/init.d/Nginx restart”失败,出现以下错误

Restarting Nginx: [emerg]: bind() to 0.0.0.0:3000 Failed (98: Address already in use)
[emerg]: bind() to 0.0.0.0:3000 Failed (98: Address already in use)
[emerg]: bind() to 0.0.0.0:3000 Failed (98: Address already in use)
[emerg]: bind() to 0.0.0.0:3000 Failed (98: Address already in use)
[emerg]: bind() to 0.0.0.0:3000 Failed (98: Address already in use)
[emerg]: still Could not bind()
Nginx.

我在安装了乘客后更新了..init.d / Nginx配置指向/ opt / Nginx,所以一切都会好的.

如果我用“sudo killall Nginx”杀死进程并尝试启动Nginx,它运行正常,但重启不起作用.

最佳答案
直接无视(好了

Nginx: [warn] conflicting server name "69.162.95.11" on 69.162.95.11:80,ignored

只是警告69.162.95.11不是共享IP,这不是错误
关于

Nginx: [emerg] bind() to 69.162.95.14:80 Failed (98: Address already in use) 

只是重新启动Nginx解决此问题,如果没有,然后在tweak设置下检查没有ssl端口.安装后,无ssl端口应为8081.
大师
02-12-2011,01:42 AM
从apache或ltespeed关闭端口80
并打开Nginxcp作为端口80

相关文章

Nginx (engine x) 是一个高性能的HTTP和反向代理服务,也是一...
本地项目配置 1 复制 luffy/settings/dev.py为prop.py 修改l...
nginx不仅可以隐藏版本信息,还支持自定义web服务器信息 先看...
一 、此次漏洞分析 1 nginx HTTP/2漏洞 [nginx-announce] ng...
###进入nginx 目录cd /usr/local/nginx###递归显示 2 级目录...
在cmd命令窗口输入下面命令进行查看 tasklist /fi "ima...