nginx 突然就起不来了。。。

a899 2018-8-1 2321

Starting nginx: nginx: [emerg] bind() to 0.0.0.0:443 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:443 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:443 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:443 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:443 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] still could not bind()
[FAILED]

最新回复 (3)
  • 虚竹 2018-8-1
    引用 2
    80和443端口被其它进程占用,进入防火墙看看是什么进程在占用,到进程管理中将它停止即可启动。
  • a899 2018-8-1
    引用 3
    问题在于。。。这端口 只有Nginx 在用啊。。
  • 虚竹 2018-8-1
    引用 4
    可能是PID文件丢失造成nginx服务运行状态识别错误,可以 killall nginx 停止所有 nginx 进程后再启动。
返回
发新帖