Ir para conteúdo

Featured Replies

Postado

Pessoal preciso de um help um VPS nosso com CloudLinux instalei o Nginx ai o erro 502 Bad Gateway ja tentei de tudo sem sucesso, alguém ai pode me dar um help



Postado
  • Autor
Agora, Thiago Sabaia disse:

refez os vhosts do nxginx após a instalação do CloudLinux?

Refiz e vou reiniciar via ssh

 

[root@server6 ~]# service nginx start
Starting nginx daemon: nginxnginx: [emerg] bind() to 177.53.141.74:80 failed (98: Address already in use)
nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
nginx: [emerg] bind() to 177.53.00.00:80 failed (98: Address already in use)
nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
nginx: [emerg] bind() to 177.53.00.00:80 failed (98: Address already in use)
nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
nginx: [emerg] bind() to 177.53.00.00:80 failed (98: Address already in use)
nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
nginx: [emerg] bind() to 177.53.00.00:80 failed (98: Address already in use)
nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
nginx: [emerg] still could not bind()
 already running.
[root@server6 ~]#
 


Postado
Agora, Jefferson Dias disse:

Refiz e vou reiniciar via ssh

 

[root@server6 ~]# service nginx start
Starting nginx daemon: nginxnginx: [emerg] bind() to 177.53.141.74:80 failed (98: Address already in use)
nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
nginx: [emerg] bind() to 177.53.00.00:80 failed (98: Address already in use)
nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
nginx: [emerg] bind() to 177.53.00.00:80 failed (98: Address already in use)
nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
nginx: [emerg] bind() to 177.53.00.00:80 failed (98: Address already in use)
nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
nginx: [emerg] bind() to 177.53.00.00:80 failed (98: Address already in use)
nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
nginx: [emerg] still could not bind()
 already running.
[root@server6 ~]#
 

Já colocou o apache como outra porta?


Postado
  • Autor
5 minutos atrás, Rebus Networks disse:

Já colocou o apache como outra porta?

Mudei o apache em  Tweak Settings para 8080

O nginx so fica  Nginx Service Status: Down


Postado
Agora, Jefferson Dias disse:

Mudei o apache em  Tweak Settings para 8080

O nginx so fica  Nginx Service Status: Down

Desliga o apache e tenta iniciar o Nginx.


Postado
  • Autor

Estranho acabei de fazer mesmo erro

[root@server6 ~]# service nginx start
Starting nginx daemon: nginxnginx: [emerg] bind() to 177.53.141.74:80 failed (98: Address already in use)
nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
nginx: [emerg] bind() to 177.53.00.00:80 failed (98: Address already in use)
nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
nginx: [emerg] bind() to 177.53.00.00:80 failed (98: Address already in use)
nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
nginx: [emerg] bind() to 177.53.00.00:80 failed (98: Address already in use)
nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
nginx: [emerg] bind() to 177.53.00.00:80 failed (98: Address already in use)
nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
nginx: [emerg] still could not bind()
 already running.
[root@server6 ~]#

 

Não teria a ver com o cloudlinux

 


Postado
Agora, Jefferson Dias disse:

Estranho acabei de fazer mesmo erro

[root@server6 ~]# service nginx start
Starting nginx daemon: nginxnginx: [emerg] bind() to 177.53.141.74:80 failed (98: Address already in use)
nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
nginx: [emerg] bind() to 177.53.00.00:80 failed (98: Address already in use)
nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
nginx: [emerg] bind() to 177.53.00.00:80 failed (98: Address already in use)
nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
nginx: [emerg] bind() to 177.53.00.00:80 failed (98: Address already in use)
nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
nginx: [emerg] bind() to 177.53.00.00:80 failed (98: Address already in use)
nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
nginx: [emerg] still could not bind()
 already running.
[root@server6 ~]#

 

Não teria a ver com o cloudlinux

 

http://www.picoloto.com.br/linux/informacao_porta.php

Usa esses comandos que ta no site para saber qual processo ta usando a determinada porta.



Postado
Agora, Jefferson Dias disse:

[root@server6 ~]# fuser 80/tcp
80/tcp:               3056  4462  4463  4464  4465  4466  5455  5456
 

Da um reboot no servidor e tenta iniciar ai.


Participe da conversa

Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.
Nota: Sua postagem exigirá aprovação do moderador antes de ficar visível.

Visitante
Infelizmente, seu conteúdo contém termos que não são permitimos. Edite seu conteúdo para remover as palavras destacadas abaixo.
Responder

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Informação Importante

Concorda com os nossos termos?