gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-12-03 10:00:32 31 4
gpt4 key购买 nike

我刚刚在我的 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 即可解决此问题,然后在调整设置下检查无 ssl 端口。安装后无 ssl 端口应为 8081。
大师
02-12-2011, 01:42 AM
从 apache 或 ltespeed 关闭端口 80
并打开 nginxcp 作为端口 80

关于安装乘客后 Nginx 重启命令失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4843837/

31 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com