[Resolvido] Erro ao dar start no Wowza - Java não encontrado Drucken

  • 0

Mensagem de erro:



ERROR: The Java command (java) could not be found.
Search path: /sbin:/usr/sbin:/bin:/usr/bin
In most cases this problem can be fixed by adding a symbolic
link to the Java command in the /usr/bin directory.
To do this first execute the command "which java" to identify
the full path to the Java executable. Next, create a symbolic
link to this file with the command
"ln -sf [path-to-java] /usr/bin/java" where [path-to-java] is
the path returned by the "which" command.

Eu corrigi esse problema seguindo os seguintes passos:

O meu servidor estava com Centos 64Bits
1) Acesse esse link:

https://www.java.com/pt_BR/download/linux_manual.jsp

2) Baixe o arquivo correspondente à sua versão do centOS. O arquivo que baixei foi:
Linux x64 RPM -> tamanho do arquivo: 52.75 MB

3) Envie o arquivos via FTP para o diretório principal do servidor.

O nome do arquivo de exemplo é: jre-8u111-linux-x64.rpm

4) Acesse o servidor via SSH e siga para o local onde o arquivo está, exemplo:

# cd /
5) Agora instale o pacote:
# rpm -ivh jre-8u111-linux-x64.rpm
6) Feito todos os passos, tente dar um RESTARTno Wowza:
# service WowzaMediaServer restart
Fonte de instruções para a instalação: https://www.java.com/pt_BR/download/help/linux_x64rpm_install.xml#download

War diese Antwort hilfreich?

« Zurück